docker-curriculum icon indicating copy to clipboard operation
docker-curriculum copied to clipboard

[FEATURE] Add additional info for tutorial to setup up AWS elastic beanstalk

Open NicolasCwy opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe. I got the error "The instance profile aws-elasticbeanstalk-ec2-role associated with the environment does not exist." Everytime I launched AWS EC2 when I followed this. I found out that I had to create an IAM role with sufficient permissions to launch the instance for me, which I followed step 1 of this guide and used the recommended permissions in the Elastic Beanstalk setup. As a newbie to AWS this was not obvious and additional reading was required

Describe the solution you'd like Add a note or link to how to creating an IAM role with sufficient permissions to launch Elastic Beanstalk

Additional context Guide I followed: https://www.redline13.com/blog/create-ec2-iam-instance-profile/

Configuration page which shows the recommended permissions AWSElasticBeanstalkWebTier AWSElasticBeanstalkWorkerTier AWSElasticBeanstalkMulticontainerDocker image image

NicolasCwy avatar Jun 12 '23 12:06 NicolasCwy

I had similar problems because I was using the PowerUser predefined role. The tutorial could also say that the AdministratorAccess predefined role is enough. And extra links to the official AWS docs would be nice. I had to read the AWS tutorial from scratch to create the account. It would have been better to have a more highlighted link to where should I go to start with AWS.

Jerry-Master avatar Jun 21 '23 13:06 Jerry-Master

Totally agree, some info is necessary, quite not intuitive setup of roles

rafikor avatar Jun 28 '23 19:06 rafikor