- Create the s3(in the same region) and get the bucket name . Proposed name: aws-elasticbeanstalk-zip-files
- create a policy called _AwsS3SimpleUploadDownloadForElbApplications
{
"Version": "2012-10-17",
"Statement": [{
"Sid": "xS3UploadDownload",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObject"
],
"Resource": "arn:aws:s3:::aws-elasticbeanstalk-zip-files/*"
}]
}
with description like: aws elb needs to upload and download zip files to a specific s3 bucketName
- Add the following permissions to the user
- AmazonEC2ContainerRegistryFullAccess
- AWSCodeCommitReadOnly
- AdministratorAccess-AWSElasticBeanstalk
- _AwsS3SimpleUploadDownloadForElbApplications
- Login to the console and create a demo environment. This will create the elasticbeanstalk-ec2-role role
- Add manually the AmazonEC2ContainerRegistryReadOnly to aws-elasticbeanstalk-ec2-role role