ryanmurakami / pizza-luvrs

❤️🍕🍕❤️ Demo project for AWS Developer: Getting Started on Pluralsight
114 stars 255 forks source link

Error in login #5

Closed angelllllll closed 4 years ago

angelllllll commented 7 years ago

Hi,

After i have launched the ec2 instance with the code and tried to login with my account(not root) the response code of 401 is displayed.

Whereas it works fine with root credentials.

Kindly help

ryanmurakami commented 7 years ago

Hi @angelllllll

Sorry you're having trouble!

Hmm... creating users on your EC2 instance is a little different than on your account. The main reason is that there is no real connection between users in IAM and users on your instance.

I found this tutorial which does replicate IAM users onto an EC2 instance, but it is a little heavy: https://cloudonaut.io/manage-aws-ec2-ssh-access-with-iam/

Let me know if that answers your question!

Thanks, Ryan

angelllllll commented 7 years ago

Thanks a lot for your reply and your tutorials are great !!!

Will try the option mentioned .

Regards Angel