Rongali Ramunaidu
Rongali Ramunaidu

Reputation: 325

Unable to create elastic Beanstalk environment with RDS in AWS

I am trying to create new ELB environment with existing VPC. But I am unable to create environment with following errors:

ERROR Creating security group named: sg-5xxxxxxx failed Reason: Resource creation cancelled

ERROR Creating EIP:xx.xxx.xxx.xxx failed. Reason: Resource creation cancelled.

ERROR Stack named 'awseb-e-webxxxxxx-stack' aborted operation. Current state: 'CREATE_FAILED' Reason: The following resource(s) failed to create: [AWSEBEIP, AWSEBSecurityGroup, AWSEBRDSDBSubnetGroup].

Note :I still didn't cross the Elastic Ip's limit. When i configure subnet for RDS in two regions they were automatically reset to single region only while creating evironment

Any suggestions will be helpful

Upvotes: 11

Views: 9441

Answers (1)

wandac
wandac

Reputation: 116

I was also having issues adding database via elastic beanstalk ui after initially creating an application using the command line interface. Turns out I had messed up my IAM (AWS Services > Security, Identity, Compliance > IAM) roles setup when I first created the account. This account was missing the role AWSServiceRoleForRDS. Once I created one, I was able to successfully configure a database for the new application.

Upvotes: 9

Related Questions