
Prepare for CloudFormation with YAML by setting up a 12-month free tier and installing Visual Studio Code. Familiarize yourself with S3, EC2, VPC, and learn YAML or JSON templates.
Explore the resource section of a CloudFormation template, learning how to declare resources like an S3 bucket, an EC2 instance, and a VPC with logical ID and properties in us-east-1.
Parameterize a CloudFormation template by adding a parameters section for image id, instance type, and bucket name, using Ref and defaults to pass values at runtime.
Create an AWS Lambda function via CloudFormation YAML, using Python 3.9 and an IAM role to read a JSON object from S3 and deliver it to API Gateway.
Parameterize key inputs in the CloudFormation template, such as the S3 bucket name and Lambda runtime. Describe parameters, set allowed values, and reference them in resources to enable serverless deployment.
Build an application load balancer with a listener and target group, connect it to the auto scaling group, and test round-robin routing through the load balancer DNS.
Create an AWS CloudWatch log group and an SNS topic with an email subscription as part of the CloudFormation workflow, enabling Route 53 host zone setup for the web application.
Create a public hosted zone and Route 53 records to map an ALB hostname to a domain, using CloudFormation and a sub function for dynamic log configuration.
Create a CloudWatch alarm in CloudFormation YAML that monitors an auto scaling group's CPU utilization, triggers actions via an SNS topic, and emails admins on threshold breaches.
Parameterize cloud formation templates and deploy via a cd pipeline with a separate json parameters file. Build a wrapper, upload files, and configure the pipeline to create or update stack.
Explore change sets in AWS CloudFormation to preview proposed template changes. Learn to create, view, adjust, and execute changes, including no interruption, some interruption, or full replacement.
Learn to create and review change sets in CloudFormation, compare current and new templates, modify parameters like instance type and S3 bucket, and execute or replace updates while noting interruptions.
Explore how cloudformation uses an IAM service role to perform stack operations and how to assign a dedicated role with permissions for EC2 and S3.
Explore how CloudFormation deletion policies retain resources like an S3 bucket when deleting a stack, by applying a retention policy and observing the deletion behavior.
Welcome to the most comprehensive AWS CloudFormation Course on Udemy from an instructor with actual enterprise hands-on implementation experience migrating more than 200+ workloads for Fortune 100 companies.
This AWS CloudFormation course is a fully handson course and will start with absolute basics and build on the basics to help you gain expertise at CloudFormation (YAML) to be able write any enterprise grade CloudFormation stack in no time.
Absolutely no coding or YAML background is required.
25+ AWS Services covered (AWS Lambda, API Gateway, REST API Resources & Methods, IAM Roles, Route 53, ALB, EC2, S3, Auto Scaling, Launch Configuration, Cloud Watch Logs, SNS, VPC and many others
Three End to End Enterprise Use Cases -:
Banking Serverless App - API Gateway, AWS Lambda and S3
Web Application - Route 53, ALB, EC2 AutoScaling, CloudWatch Logs and Alarms, SNS
AWS Account Baseline VPC Setup - VPC, Subnets, Internet Gateway, Route Tables, Security Group and others
Below are the topics that will be covered as part of this course.
AWS CloudFormation - Introduction
Course Introduction and Outline
CloudFormation - Pre-Requisites, Basic Terminology and Template Anatomy
AWS CloudFormation - Resources, Parameters and Metadata
Resources – S3, EC2 and VPC
Parameters – S3 and EC2
Metadata
Resources, Parameters and Metadata - Tying it all together
Enterprise Use Case 1 – Web Application
WebApplication - Architecture
WebApplication - Launch Configuration and Auto Scaling Group
WebApplication - Application LoadBalancer
WebApplication - CloudWatch Log Group and SNS
WebApplication - CloudWatch Alarm
WebApplication - Hosted Zone and ResourceRecords
CloudFormation General Concepts - Change Sets, CloudFormation IAM Role, Resource Deletion Policies
Change Sets - Theory
Change Sets - Handson
CloudFormation IAM Role - Theory
CloudFormation IAM Role - HandsOn
CloudFormation - Resource Deletion (Delete, Retail and Snapshot) - Theory
CloudFormation - Resource Deletion (Delete, Retail and Snapshot) - HansdsOn
Launching CloudFormation using AWS CI-CD Pipeline
AWS CI-CD Introduction
Deploying CloudFormation using AWS CI-CD Pipeline without Parameters
Deploying CloudFormation using AWS CI-CD Pipeline with Parameters/Configuration File
Enterprise Use Case 2 - AWS Serveless Banking Use Case - API Gateway, AWS Lambda and S3
Architecture
AWS S3 Bucket
AWS Lambda Execution Role
AWS Lamba
AWS API Gateway - REST API, Resources
AWS API Gateway - REST Method and Deployment
Lambda Invoke Permission
End-to End Demo
Enterprise Use Case 3 - AWS Account Baseline VPC Setup
Architecture
Virtual Private Cloud
Public and Private Subnets
Internet Gateway
Route Table and Routes
Security Group
NACL
AWS CloudFormation – Mappings, Output, Conditions, Rules and Transform
AWS CloudFormation Mappings
AWS CloudFormation Outputs
AWS CloudFormation Conditions
AWS CloudFormation Rules and Transform
AWS CloudFormation General Concepts - ChangeSets, IAM Role, Deletion Policy
AWS CloudFormation Change Sets
AWS CloudFormation Resource Deletion (Delete, Snapshot, Retain)
AWS CloudFormation IAM Role
Following AWS Services will be Coded in Cloudformation in this course using YAML
- AWS Lambda
- AWS API Gateway - REST API, Resources and Methods
- AWS Lambda Execution Role
- EC2
- S3
- VPC
- Public and Private Subnet
- IG
- Route Table
- NACL
- Security Group
- Tags
- Route 53 Hosted Zone
- Resource Records
- Application Load Balancer
- Auto Scaling Group
- Launch Configuration
- CloudWatch Log Group
- CloudWatch Alarm
- SNS
- Deployment using CI-CD Pipeline
- Lambda InvokePermission
- API Gateway Deployment
AWS CloudFormation Concepts to be discussed in the course
- AWSTemplateFormatVersion
- Description
- Metadata
- Parameters
- Rules
- Mappings
- Conditions
- Transform
- Resources
- Outputs
- ChangeSets
- CloudFormation IAM Role
- Deletion Policy