Error deploying web application on Amazon elastic beanstalk

I am using the Eclipse EE Juno edition. I created a dynamic web application that uses Amazon Simple DB and restores some values ​​and shows to users. I installed the AWS kit to use Amazon services.

I have an account for simpleDB.

I tried deploying it to AWS Elastic Beanstalk (via plugin). He shows me to select a server. I chose it as AW Beanstalk with TOmcat 6 (asia Pacific Tokyo).

After some time, she gives this error.

Cannot load the application on Amazon S3: User: arn: aws: iam :: 379007759147: user / SSSS not allowed to execute: elasticbeanstalk: CreateStorageLocation User: arn: aws: iam :: 379007759147: user / SSSS not allowed to execute: elasticbeanstalk: CreateStorageLocation

I want to download the web application to beanstalk AWS and appreciate your help in achieving it.

+5
source share
4 answers

It worked for me with the following permissions

  • AWSElasticBeanstalkFullAccess - AWS Managed Policy
  • AWSElasticBeanstalkService - AWS Managed Policy
  • AWSCodeDeployRole - AWS Managed Policy
  • AWSCodeDeployFullAccess - AWS Managed Policy
+9
source

The user must have 3 permissions:

  • IAM ()
  • S3 ()
  • Beanstalk ()

1 , .

, 3 3 .

.

+7

IAM (.. , ) , S3. Beanstalk , . , root- AWS. IAM.

0

beanstalk AWS Lightsail, .

The AmazonLightsailInstanceRole role, previously assigned to the default Lightsail server user ("ec2 user" for aws linux), cannot be changed to enable Elastic Beanstalk permissions.

0
source

All Articles