Tuesday, January 26, 2016

amazon web services - How to specify needed VPC and subnet into AWS CloudFormation template

I am new with Amazon services and particularly in CloudFormation.



So I have begun to read from "Getting Started with CloudFormation" from Amazon site http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/GettingStarted.html and now I am trying to launch example CloudFormation template https://s3.amazonaws.com/cloudformation-templates-us-east-1/WordPress_Single_Instance_With_RDS.template as wiki introduction described.



But before I has removed default VPC and added new one (10.0.0.0/16) and created new Subnet in it - 10.0.0.0/24. According to AWS docs I cant set my own VPC as default and now CloudFormation template, which described above, cant be launched and I see such error:




enter image description here



According to AWS page https://aws.amazon.com/premiumsupport/knowledge-center/cloudformation-cloudformer-default-vpc/ I can fix this issue with describing my new VPC, but I dont know why to do this correct.



Maybe you can help me?

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...