8

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

4
  • 2
    Additional logs : ERROR Failed to pull logs for environment instances. Reason: Service:AmazonCloudFormation, Code:ValidationError, Message:Resource AWSEBAutoScalingGroup does not exist for stack awseb-e-websxxxx-stack, Class:com.amazon.aws.mac.connectors.awsservice.cloudformation.exceptions.CfnStackResourceNotFoundException ERROR Service:AmazonCloudFormation, Message:Resource AWSEBAutoScalingGroup does not exist for stack awseb-e-webscxxxx-stack Jun 13, 2018 at 12:33
  • 1
    I have the exact same problem right now. Limit is not reached either. Can you post an update if you find an answer elsewhere?
    – gyc
    Jun 13, 2018 at 14:39
  • 1
    @gyc you found the solution? Nov 22, 2018 at 10:43
  • I switched projects so I don't remember at all sorry.
    – gyc
    Nov 22, 2018 at 10:55

1 Answer 1

6

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.

1
  • 1
    I am the using the root account for this operation which has full access and yes AWSServiceRoleForRDS is already added Nov 22, 2018 at 10:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.