cloud-init (ec2-init) Proposal

Jun OKAJIMA okajima at digitalinfra.co.jp
Sat May 8 03:04:39 UTC 2010


First, please understand what is "user data"
in Amazon EC2.
This is per instance(=VM) local data,
which you can assign 16KB data when you boot a VM.

You can get this data by
[EC2 VM]$ curl 169.254.169.254/latest/user-data
do this from inside of each VM.

What I hope is, using this data as rc.local file.

Proposal is,
1. Add tar-gzip-uuencode ASCII data(16KB) to user-data.
2, Add some signature/magic/header... to the data.
3. When VM boots up, check user data
and if the data has the signature,
unzip it ( and run it).

        --- Okajima, Jun. Tokyo, Japan.
        http://www.digitalinfra.co.jp/
        http://www.chromium.jp/




More information about the Ubuntu-devel-discuss mailing list