
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.
Learn to create an S3 bucket resource in a yaml CloudFormation template by outlining template format version, description, and resources, then deploy the stack in us-east-1 and verify creation.
Create an s3 bucket and an ec2 instance with cloud formation in yaml, detailing template structure, resources, logical and physical ids, and region-specific image selection.
Learn to create a VPC with CloudFormation by editing a template, setting CIDR 10.0.0.0/16, enabling DNS hostname and DNS support, and tagging the resource, then deploy in us-east.
Explore how parameter blocks let you customize a cloud formation template at runtime with values like instance type or image ID, using defaults, allowed values, and descriptions.
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.
Add metadata to a CloudFormation template and organize parameters into compute and storage groups with labels, featuring EC2 instance type and S3 bucket name, in a hands-on walkthrough.
Explore CloudFormation template anatomy by constructing a stack in us-east with a VPC, a public subnet, an EC2 instance, and an S3 bucket, wired together with resources, parameters, and metadata.
Build a serverless banking use case using AWS API Gateway, Lambda, and S3. See how an API call retrieves a balance from a JSON object in S3 via Lambda.
Learn to create a uniquely named S3 bucket with CloudFormation, configure it in a serverless yaml template, and deploy the stack for a bank balance app.
Create a lambda execution role in CloudFormation by defining an assume role policy and attaching an S3 full access policy to the Lambda, enabling S3 data access.
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.
Build and deploy a rest api with aws api gateway using cloudformation, adding a balance status resource and a get method, then deploy in a subsequent step.
Build an API gateway method in CloudFormation, connect a non-proxy AWS Lambda integration, configure integration and method responses, deploy to prod, and set permissions for API gateway to invoke Lambda.
Demonstrate an end-to-end serverless banking rest API built with AWS CloudFormation, testing a get method that retrieves data from S3 via a lambda function, deployed to prod with invoke URL.
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 a metadata interface in a CloudFormation template by grouping S3 bucket, Lambda, and API gateway with labeled parameters, then upload the template and complete the stack deployment.
Set up a two-instance auto scaling group behind an application load balancer, configure Route 53 with a hosted zone, and enable CloudWatch logs, alarms, and notifications.
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.
Demonstrates end-to-end deployment with a CloudFormation yaml template, creating a web server launch configuration, auto scaling group, and an application load balancer. Monitors with CloudWatch alarms, logs, and SNS notifications.
Master practical cloud troubleshooting for AWS CloudFormation deployments by diagnosing security group and subnet routing issues, enabling proper inbound and outbound traffic, and ensuring internet gateway routes are configured.
Deploy CloudFormation templates via AWS CI-CD pipeline without parameters, using CodePipeline and a YAML template to create or update a stack that provisions an S3 bucket.
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