To create an example application # Create IAM for EC2 - In IAM console choose Roles - choose Create role - Under trusted entity type choose AWS service AWSElasticBeanstalkWebTier AWSElasticBeanstalkWorkerTier AWSElasticBeanstalkMulticontainerDocker Open the Elastic beanstalk Create application Enter the Application name optionally add application tags choose a platform choose next