[ubuntu-cloud] /etc/cloud/cloud.cfg user configuration
esh at ubuntu.com
Fri Jul 9 21:35:12 BST 2010
Though Alestic.com (me) did publish Ubuntu 8.04 AMIs, I did not publish
the Ubuntu 10.04 Lucid AMIs. These are provided by Canonical and I
recommend their use.
If you're building your own private AMI, you are free to hardcode
~/.ssh/authorized_keys for various users so that you can ssh in with
your own keys. You aren't required to use EC2's key setup, though it
can be handy if you want different instances to be accessible using
If you require the dynamic installation of keys and cloud-init does not
support multiple users, you could create a startup job that copies the
keys from one account to another or downloads them from EC2's instance
meta-data (just like cloud-init does).
On 07/09/2010 05:45 AM, Abel Ureta-Vidal wrote:
> I'm moving from Ubuntu 8.04 LTS to 10.04 LTS. I'm using the alestic.com
> 32bits image.
> I discovered the new cloud-init package. It is really great to help
> configure our in house
> image. Great work!
> Now I'm upgrading our image. We have set up a specific user i.e.
> 'ensembl' that we use to
> ssh in, so I wanted this user to get the EC2 credentials by updating its
> I found that by changing in /etc/cloud/cloud.cfg
> user: ubuntu
> user: ensembl
> it makes the trick, but I'd like to keep the ability to ssh as ubuntu
> user. I tried different syntax to include
> both users
> - ensembl
> - ubuntu
> user: ubuntu,ensembl
> but neither worked. Is it even possible to configure multiple user
> access directly in /etc/cloud/cloud.cfg?
> Thanks for any hint you can provide.
> *Abel Ureta-Vidal, PhD MBA*
> *Managing Director, Eagle Genomics Ltd*
> M: +44 7792 318503 | E: abel at eaglegenomics.com
> <mailto:abel at eaglegenomics.com>
> http://www.eaglegenomics.com <http://www.eaglegenomics.com/>
More information about the Ubuntu-cloud