Giter VIP home page Giter VIP logo

Comments (8)

Ruprect avatar Ruprect commented on May 12, 2024 10

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.

michaelwittig avatar michaelwittig commented on May 12, 2024 3

thanks for forwarding this.

from aws-cf-templates.

btbensoft avatar btbensoft commented on May 12, 2024 1

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.

Ruprect avatar Ruprect commented on May 12, 2024

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:
image

So any help in executing the vpc-2azs.yaml is appreciated.

from aws-cf-templates.

michaelwittig avatar michaelwittig commented on May 12, 2024

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.

Ruprect avatar Ruprect commented on May 12, 2024

I have added an answer to #36 - I do have a Default VPC.

from aws-cf-templates.

michaelwittig avatar michaelwittig commented on May 12, 2024

@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.

Ruprect avatar Ruprect commented on May 12, 2024

I will contact support with this issue, and relay the answer here

from aws-cf-templates.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.