Comments (8)
Okay. The issue has been solved, the problem was the the two other availability zones (eu-west-1a and eu-west-1b) did not have a default subnet. And since I only deployed to eu-west-1c, I had not experienced any problems.
For reference, here is the reply from Amazon support:
Thanks for contacting AWS Premium Support!
I understand you have a template which launches in the Frankfurt region but not the Dublin region.
I've been able to launch that template myself without issue so I've been looking over your account for any possible cause.
I notice that the first resource to fail creation is SubnetBPublic. I see that this makes use of the function !GetAZs. !GetAZs will return all AZs in the account which have a 'Default' subnet in them. The issue is if you have deleted the subnet from a VPC that was marked as default, that AZ won't be returned by GetAZs here. See further info on this here: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getavailabilityzones.html
Looking at your account, I see that there is a default subnet only in eu-west-1c, so only that AZ will be returned to !GetAZs. Then !Select [1, !GetAZs ''] is trying to access a second element that does not exist.
The solution to this is to create at least one new subnet in each AZ. This should be marked as default automatically.
Alternatively if you wish I can manually intervene and set existing subnets of your choice as default for a given AZ. If you wish for me to do this please provide the subnet IDs and the respective AZ which you want them to be the default for.
I hope this is clear, but if you have any questions or concerns don't hesitate to let me know.
from aws-cf-templates.
thanks for forwarding this.
from aws-cf-templates.
Yes Thanks you !
To clarify create default subnet
> aws ec2 create-default-subnet --availability-zone eu-west-3a
> aws ec2 create-default-subnet --availability-zone eu-west-3b
> aws ec2 create-default-subnet --availability-zone eu-west-3c
from aws-cf-templates.
Okay, since I ran this template as part of setting up Wordpress (https://github.com/widdix/aws-cf-templates/tree/master/wordpress), a deployment to Frankfurt zone is not a solution.
Because EFS is not supported by Frankfurt region:
So any help in executing the vpc-2azs.yaml is appreciated.
from aws-cf-templates.
I think thisissue is at least related to #36
@Ruprect can you check if you have a default vpc in the region where you deploy the stack? You will find the VPCs here: https://console.aws.amazon.com/vpc/home#vpcs:
There is a Default VPC column to indicate if the VPC is a default vpc.
from aws-cf-templates.
I have added an answer to #36 - I do have a Default VPC.
from aws-cf-templates.
@Ruprect do you have developer, business or enterprise support in the AWS account where the template fails? I can nor reproduce the issue in any of my accounts where I have a support plan. Would be interested in what the AWS Support has to say.
from aws-cf-templates.
I will contact support with this issue, and relay the answer here
from aws-cf-templates.
Related Issues (20)
- ECS AutoScalingGroup - CREATE_FAILED HOT 1
- Jenkins plugin dependencies not installed HOT 5
- Jenkins2-ha deployment failing: Unable to satisfy 100% MinSuccessfulInstancesPercent requirement HOT 4
- Monitoring ElastiCache redis is broken
- ElastiCache-Redis cannot UPDATE Template to use more than 1 Shard (clustermode:off -> on) HOT 2
- Updating Jenkins template HOT 2
- Jenkins fails to boot due to wrong ruby version HOT 4
- Static Website - Use new CloudFront Functions for URL redirects instead of Lambda@Edge HOT 1
- jenkins agents fail to start due to missing nodejs requirement HOT 3
- CloudTrail LogsStream Details HOT 3
- ECS Cluster - AutoScaling errors HOT 1
- Incorrect test and typo in test for `h_download_jenkins_plugin_manager` step HOT 1
- How to use Fargate Spot instances? HOT 2
- Add link to documentation for private ECR access from private subnet with no NAT gateway HOT 1
- jenkins2-ha-agents does not scale down if there is at least one job running HOT 1
- Documentation on UserData field EC2 template HOT 7
- Jenkins template broke because mirror is down HOT 2
- Support Graviton instance types HOT 1
- upgrade from Amazon Linux 2 to Amazon Linux 2023 HOT 2
- Aw
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-cf-templates.