jclouds-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <n...@apache.org>
Subject Re: ec2 image for jclouds
Date Mon, 01 Dec 2014 21:28:30 GMT
Hi Liang,

The AWS api does not provide a way to get the default username of the
AMIs, so jclouds can only do its best to guess them. We also provide
the usernames for AMIs from well-known owners, but if you are using a
custom AMI, jclouds will probably try to login as "root".

You can provide the right credentials by using the
"overrideLoginCredentials" in the TemplateOptions object.

Let us know if this helps!


On 1 December 2014 at 21:06, liang cheng <liang.cheng@gmail.com> wrote:
> Hi,
> I'm experimenting the jclouds ec2 example:
> https://github.com/jclouds/jclouds-examples/tree/master/compute-basics
> I works perfectly fine with the AWS EC2 default ami like ami-4b6f650e.
> However, it has ssl issue with my own ami. It can create ami but can't do
> the bootstrap script injection.
> Now my question is what conditions I need to satisfy for my own ami to work
> with jclouds on ec2 ? Do I need to have a default user name like ec2-user ?
> Thanks,
> -Liang

View raw message