aws-samples / startup-kit-templates

CloudFormation templates to accelerate getting started on AWS.
Apache License 2.0
815 stars 400 forks source link

Error when deploy stack vpc-bastion-eb-rds #42

Closed oanhnn closed 5 years ago

oanhnn commented 6 years ago

I deploy stack vpc-bastion-eb-rds by click to on https://github.com/aws-samples/startup-kit-templates (region: ap-southeast-1) I received an error CREATE_FAILED:

Embedded stack arn:aws:cloudformation:ap-southeast-1:628125106462:stack/xyz-VpcStack-1QVOYUZHS7PKW/f9791870-96b5-11e8-ac8b-500c336f38ba was not successfully created: 
The following resource(s) failed to create: 
[PublicRoute, AppSecurityGroupFromBastionIngress, AppSecurityGroupFromELBIngress, BastionSecurityGroupToAppEgress, DbSecurityGroupFromAppIngress, PublicSubnetRouteTableAssociation1, ELBSecurityGroupToAppEgress, NatEIP2, NatEIP1].

Error 1 Error 2 Error 3

rnzsgh commented 5 years ago

Hi Oanh,

Apologies for the delay in responding. In order to debug this, we need to see error in the nested stack. I have seen errors like this in the past and they are they typically related to running into soft limits in your AWS account. See this page for more info:

https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html

If this is a soft limit issue, you will need to identify which resource limit you are hitting and then submit a request in the console for additional resources. Initially, I would check the number of VPCs and EIPs, but the nested stack error will tell you exactly what limit you hit.

You can increase soft limit increases in the console here:

https://console.aws.amazon.com/support/home?#/

Ryan