How to Create Nat Gateway Using CloudFormation



Watch Full Course: https://www.udemy.com/course/host-a-website-with-cloudformation/?referralCode=D7954FAC60796A8BA115

In this lecture, you will learn how to create NAT Gateways and Route Tables using CloudFormation.

Course Assets: https://drive.google.com/file/d/1K3LZII6Eyp1ZrG0uUE2N0icFgEr-RBHl/view?usp=sharing

0:00 – Introduction
1:03 – Save your CloudFormation template as yaml format
4:18 – Template Version
4:49 – Template Description
5:16 – Parameter
7:10 – Resources

How to Create a NAT Gateway in AWS: https://www.youtube.com/watch?v=4chuKpSatlE

CloudFormation Documentation:

Template Section: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html

Template Version: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/format-version-structure.html

Template Description:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-description-structure.html

Metadata:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html

Parameters:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html

Resources:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resources-section-structure.html

Outputs:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/outputs-section-structure.html

Intrinsic Function: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference.html

Resource and property reference:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html

#awsnotes #cloudcomputing #aws

source

5 thoughts on “How to Create Nat Gateway Using CloudFormation”
  1. Fair Warning: Running a NAT Gateway all the time is going to be very expensive. AWS charge per hour for a NAT Gateway. At today's price that is about 38USD per month. This video creates two NAT Gateways, so 76 USD per month. The purpose for these NAT Gateways in this video is for updates and/or patches, therefore only launch your NAT Gateway stack when you are performing those actions, otherwise keep this stack off and save your money.

  2. could you please tell me the name of that extension doing auto complete with you in vs cod while scripting in video

  3. Great work. Very detailed and the pace is awesome and flawless.
    Could you possibly do a video on CF for AWS VPN with SAML2 authentication (Okta or Azude AD)

  4. very detailed demo & great work, i want to create this template in the same vpc template before not top of it so for this to work can i use the !GetAtt PublicSubnet1.Subnetid

  5. Great tutorial and demo. and thank you fro the frequent detailed exposure to CloudFormation. Really cannot wait for more projects.

Leave a Reply

Your email address will not be published.

Captcha loading...