
Review course resources containing zipped templates for CloudFormation, CDK, Sam, and Terraform, plus the Jenkins file and external links. Learn to provision AWS infrastructure beyond templates via the GitHub repository.
Please find the course slides attached
Inner workings of CloudFormation
Learn to run your first CloudFormation stack using the console, explore sample templates, create stacks, and view events, resources, and outputs for AWS services.
Please check out AWS pricing page for latest price for any service
Explore JSON versus YAML for CloudFormation, learn to convert between them in the CloudFormation console and VS Code, and see how nested stacks interchange JSON and YAML.
Explore the anatomy of an AWS CloudFormation template, from the optional template format version to the mandatory resources, and learn how parameters enable user input to customize instance types.
Explore how CloudFormation parameters define input values with types like string, number, lists, or specific parameter types, and how defaults, validation, and intrinsic functions like ref keep templates reliable.
Explore pseudo parameters, predefined by AWS CloudFormation, and use them with the ref function to obtain region, account ID, stack ID, and stack name.
Discover how CloudFormation mappings enable region-aware configurations by using a region map and the Fn::FindInMap function to automatically select the correct RMI ID for EC2 across regions.
Give link to condition ref guide
Link to all CloudFormation Resource Properties: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html
Demo of cross-stack outputs in CloudFormation, exporting a security group ID from a security group stack and importing it into an EC2 stack to attach to an instance.
Learn to run CloudFormation from the AWS CLI, including creating stacks with template URL or body, passing parameters, describing stacks, and deleting them.
Automate CloudFormation by storing templates in a code repository and triggering stack submissions with ci cd tools such as Jenkins, Terraform, and AWS CodePipeline, replacing manual, error-prone processes.
Learn to set up Jenkins with the CloudFormation plugin, create a freestyle project connected to GitHub, and deploy a CloudFormation stack that creates an S3 bucket.
Automate Jenkins job submissions when a CloudFormation template changes, by configuring a GitHub webhook to trigger the Jenkins build on push events.
Master Terraform, an open-source tool for building and changing infrastructure across multiple clouds, using the HCL language in .tf files, deployable via cloud APIs and Jenkins automation.
Master spinning up AWS infrastructure with Terraform by using the AWS documentation, leveraging data sources and resources, and applying changes to create an S3 bucket with tags.
Master AWS CodePipeline to automate end-to-end CI/CD pipelines, orchestrating build, test, and deploy while integrating with Jenkins, GitHub, CloudFormation, and other DevOps tools.
Explore the AWS CodePipeline console and its look and feel, including source, build, and deploy stages, with manual approvals and custom stages.
The JSON used: https://github.com/saha-rajdeep/cloudformation-demo/blob/master/custom_codepipeline_policy_v2.json
learn to deploy cloudformation via change sets in aws codepipeline, creating and executing change sets, and observe how sns topics and outputs are managed.
Spin up an EC2 using CDK, configuring instance type, a looked-up machine image, and a VPC from lookup. Address CDK diff errors and set env for account and region.
Explore how CloudFormation works with IAM and when to use a dedicated service role. See how permissions determine what CloudFormation can create and update, with a demo on service roles.
Learn how to restrict CloudFormation permissions by creating and attaching an IAM role with specific policies, preventing unintended actions and enabling controlled resource creation.
Learn to reuse CloudFormation templates with nested stacks hosted in S3 for web server EC2 deployments. Explore passing parameters and updating common components across multiple stacks.
Explore how to use CloudFormation change sets to preview updates, including adding an S3 bucket and modifying an EC2 instance, before executing or deleting the change set.
Discover how AWS Lambda powers serverless architectures by running code without servers, auto scaling, and paying only for compute time, with event-driven triggers from S3, API Gateway, and more.
Explore CloudFormation custom resources to run Lambda-backed provisioning logic within templates, enabling dynamic tasks such as fetching the latest AMI ID via boto3 and returning data to CloudFormation.
Discover how Secrets Manager stores and retrieves database credentials and API keys, with options for default or CMK encryption, and learn to fetch secrets via code snippets, including rotation.
Demonstrates dynamic references from CloudFormation to Secrets Manager by creating a secret with username admin and an auto-generated password, then provisioning a database instance using those secret values.
Discover dynamic references to fetch SSM parameter store values in CloudFormation, enabling environment-specific S3 bucket names and access control without hard coding.
Explore Python helper scripts like CFN Init, CFN Signal, CFN Get Metadata, and CFN Hub that automate software installation on EC2 instances within CloudFormation.
Explore how the serverless application model enhances CloudFormation to spin up serverless resources easily and efficiently, with notes on overlaps with the serverless course.
In this lecture, we go over how to mix SAM with regular cloudformation. Link to github for the template in resources section
Create lambda events as an api endpoint using sam, define api path and method, and deploy to api gateway to test a get request on /photos.
Create a scheduled lambda with SAM to run every ten minutes via a CloudWatch event, showing easy event deployment and contrasting SAM with CloudFormation.
Sharpen your cloud interview skills with practical strategies for CloudFormation, infrastructure as code, time management, and whiteboarding, based on real-world industry experience.
Discover practical cloud interview tips, build a ready portfolio, earn certifications, stay current with cloud news, tailor answers by role, and master whiteboarding for DevOps and cloud formations.
Master CloudFormation coding with parameters, mappings, intrinsic functions, and custom resources; explore CodePipeline parameter inputs, AMI selection, cost estimation, budgeting, and best practices with nested stacks.
Explore automating CloudFormation with DevOps tools, deploy via CI/CD, manage changesets across regions and accounts, and apply infrastructure as code while comparing Jenkins, Terraform, and Codepipeline.
Show readiness to learn and adopt by discussing infrastructure as code, CloudFormation, drift detection, and the Cloud Development Kit (CDK) with Python or TypeScript, plus recent AWS announcements.
Rock your whiteboarding interview with six actionable steps, clarifying requirements, outlining functional requirements and design considerations, while clearly articulating your reasoning for scalable, secure cloud designs.
Keep learning and keep rocking ?
What will you achieve from this course?
Welcome to Rocking AWS CloudFormation with DevOps, Interview Guide:
Learn CloudFormation in it's entirety in JSON and YAML, from basic to advanced topics
Big focus of this course is teaching you how to write ANY CloudFormation, rather than me giving you few templates
In real-world, learning CloudFormation is not enough, you need to know how to run it using DevOps. This course will teach you how to run templates using DevOps Tools - Jenkins, Terraform and AWS CodePipeline
Learn SAM (Serverless Application Model) in CloudFormation to provision your Serverless Apps
Interview Guide - I am a seasoned Cloud interviewer. I am sharing my personal tips and tricks so that YOU can rock your Cloud interview!
About the instructor
Rajdeep Saha is a Principal Solutions Architect at AWS. He has migrated and designed numerous mission-critical apps in the cloud, handling millions of transactions. Rajdeep has presented at the biggest stages, such as AWS Re:Invent, AWS Summits, and Kubecon. He has authored multiple bestselling courses and mentored students successfully to cloud jobs, including FAANG companies. Rajdeep also runs a successful YouTube channel named "Cloud With Raj" with over 100K+ subscribers. He has over 250,000+ followers across the globe. Rajdeep takes pride in teaching real-world solutions and learnings beyond just theoretical information. You are in capable hands! All opinions are Rajdeep's own.
Course Structure
This course has four main areas - CloudFormation , DevOps, and Interview Guide. Below are the details for each section:
CloudFormation - Divided into Basic and Advanced chapters
Basic CloudFormation Chapter covers:
Infrastructure as Code - What and Why
CloudFormation Intro
Cost Of CloudFormation Stack
JSON Vs YAML
Input Parameters
Intrinsic Functions
Pseudo Parameters
Mappings
Conditions
Resources
Outputs
CloudFormation Designer
Running CloudFormation from CLI
MUST WATCH: How to Code Any CloudFormation
Advanced CloudFormation Chapters cover:
CloudFormation And IAM
Drift Detection
Termination Protection
Stack Policy
Nested Stack
Change Sets
Lambda Primer
Custom Resources
StackSets And Hub & Spoke Model
Userdata
Dynamic Reference - Secrets Manager And SSM
Helper Scripts (cfn-init, cfn-hup, cfn-signal, cfn-get-metadata)
CloudFormer Tool
CloudFormation Best Practices
Creating Serverless Infrastructure Using SAM (Serverless Application Model)
DevOps Chapter covers:
DevOps Quick Primer
Why Automate CloudFormation
Install Jenkins Easy Way!
Run Cft From Git Using Jenkins Job
Run Cft Using Jenkins Pipeline
Terraform - What and Why
Run Terraform Templates
AWS CodePipeline - What and Why
Run Cft With AWS CodePipeline
Multiple Ways
CloudFormation Vs Terraform
AWS CodePipeline Vs Jenkins
MUST WATCH: AWS CodePipeline
Interview Guide covers:
CloudFormation Interviews - Main Areas Of Focus
Questions On Coding Template
Questions On DevOps
Questions On Learn And Adapt
General Cloud Interview Tips
Whiteboarding Interview Tips
MUST WATCH: How I Switched My Career To AWS - Tips And Steps
This is the course that could take your career to next level. Let's have some fun and build some awesome stuff in cloud together!