amazon-archives / aws-serverless-auth-reference-app

Serverless reference app and backend API, showcasing authentication and authorization patterns using Amazon Cognito, Amazon API Gateway, AWS Lambda, and AWS IAM.
Other
754 stars 193 forks source link

"ami-bada16ac" AMI image not found #19

Closed patrapatisunil closed 7 years ago

patrapatisunil commented 7 years ago

Not able to find EC2 instance "ami-bada16ac"

justonian commented 7 years ago

Hi patrapatisunil-

Did you try to launch this AMI from the us-east-1 region? We only offer the pre-built AMI there at this time, though it is simply a Docker Hub image that we published so you could pull it locally then deploy to the region of your choice if you'd like.

First, please try launching from us-east-1 and seeing if you encounter any other issues, though.

Thanks,

Justin

patrapatisunil commented 7 years ago

Hey,

Thanks, I will do that.

Regards, Sunil

On Mar 1, 2017 12:01 PM, "Justin Pirtle" notifications@github.com wrote:

Hi patrapatisunil-

Did you try to launch this AMI from the us-east-1 region? We only offer the pre-built AMI there at this time, though it is simply a Docker Hub image that we published so you could pull it locally then deploy to the region of your choice if you'd like.

First, please try launching from us-east-1 and seeing if you encounter any other issues, though.

Thanks,

Justin

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/awslabs/aws-serverless-auth-reference-app/issues/19#issuecomment-283257141, or mute the thread https://github.com/notifications/unsubscribe-auth/AYczsvHb__WxSHKcUwybhEq7knYR0bIjks5rhRDYgaJpZM4MOfjd .

patrapatisunil commented 7 years ago

Thanks, Justin! I found the image and created an instance, but not able to connect. I tried as both "root" and "ec2-user" but no luck.

"Disconnected: no supported authentication methods available (server sent publickey)"

Appreciate if you could help me.

Regards, Sunil Patrapati

On Wed, Mar 1, 2017 at 12:13 PM, Sunil Patrapati sunil@redbangle.in wrote:

Hey,

Thanks, I will do that.

Regards, Sunil

On Mar 1, 2017 12:01 PM, "Justin Pirtle" notifications@github.com wrote:

Hi patrapatisunil-

Did you try to launch this AMI from the us-east-1 region? We only offer the pre-built AMI there at this time, though it is simply a Docker Hub image that we published so you could pull it locally then deploy to the region of your choice if you'd like.

First, please try launching from us-east-1 and seeing if you encounter any other issues, though.

Thanks,

Justin

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/awslabs/aws-serverless-auth-reference-app/issues/19#issuecomment-283257141, or mute the thread https://github.com/notifications/unsubscribe-auth/AYczsvHb__WxSHKcUwybhEq7knYR0bIjks5rhRDYgaJpZM4MOfjd .

justonian commented 7 years ago

Hi Sunil-

Did you set the appropriate SSH key when creating the EC2 instance? You'll need to have the private key locally on your machine (typically a .pem file) corresponding to the public key selected when connecting and use the -i parameter to point to the private key. The username for this AMI is ec2-user, but it will not allow password authentication and instead only work with the private key with certificate-based authentication.

Hope this helps.

Justin

patrapatisunil commented 7 years ago

hi Justin,

I figured out that we don't need an EC2 instance, so I fired up the gulp command from my PC and got the setup up and running in minutes, the whole setup experience was just cool. Thanks a ton! I am exploring the IAM based authorization.

Warm Regards, Sunil Patrapati

Thanks and Regards, Sunil Patrapati

On Mon, Mar 6, 2017 at 1:25 PM, Justin Pirtle notifications@github.com wrote:

Hi Sunil-

Did you set the appropriate SSH key when creating the EC2 instance? You'll need to have the private key locally on your machine (typically a .pem file) corresponding to the public key selected when connecting and use the -i parameter to point to the private key. The username for this AMI is ec2-user, but it will not allow password authentication and instead only work with the private key with certificate-based authentication.

Hope this helps.

Justin

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/awslabs/aws-serverless-auth-reference-app/issues/19#issuecomment-284325792, or mute the thread https://github.com/notifications/unsubscribe-auth/AYczsskGlO2z0sYWZV6CDuFp27CLIZdYks5ri7vagaJpZM4MOfjd .