Creating a service role in the IAM console
Before we begin, we will need to create a service role for Beanstalk to use when pushing out the environments and applications. A failure to do so, or even a failure to update a previously created service role that was created a few years ago, can result in errors and frustration when moving further along in the chapter.
Start by logging in to the AWS Management Console with your administrative user, and then follow these next steps:
- Once you have logged in, navigate to IAM service.
- In the left-hand menu, click on Roles.
- Once on the Create Role page, keep the trusted entity as AWS Service, and then, in the middle of the page, choose Elastic Beanstalk as the service for which you would like to create a service role. Click on the Elastic Beanstalk service.
- After you have selected the Elastic Beanstalk service, another set of selections will appear at the bottom of the screen so that you can select your use case. Choose...