Tuesday, July 14, 2015

Exception while deploying application using beanstalk in Eclipse

I am using Eclipse Juno to deploy a sample web application on AWS using beanstalk, but getting exception while deploying application :

Exception while deploying application using beanstalk in Eclipse:

Unable to upload application to Amazon S3: User: arn:aws:iam::256104670613:user/dev-user is not authorized to perform: elasticbeanstalk:CreateStorageLocation User: arn:aws:iam::256104670613:user/dev-user is not authorized to perform: elasticbeanstalk:CreateStorageLocation
Solution :

Created two user groups :

1. dev-group - with following policies attached:

  • IAMFullAccess
  • AmazonS3FullAccess
2. dev-ops - with following policy attached:
  • AWSElasticBeanstalkFullAccess
And added the user dev-user to both of these groups. That resolved the issue.

Also are available the read only versions of these policies if required:
  •  IAMReadOnlyAccess
  • AmazonS3ReadOnlyAccess
  • AWSElasticBeanstalkReadOnlyAccess



No comments:

Post a Comment