Infrastructure Automation (IaC) - Hands-On
Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
Infrastructure Automation (IaC) - Hands-On
This course is part of DevOps Pro: Linux, Docker, Kubernetes, CI/CD & IaC Specialization
Instructor: Mumshad Mannambeth
Included with
Learn more
Ask Coursera
Recommended experience
Recommended experience
What you'll learn
Use Ansible modules, Jinja2 templates, and conditionals to automate server configuration across large fleets.
Apply the Terraform Write-Plan-Apply workflow to provision VPCs, security groups, EC2 instances, and IAM policies in AWS.
Architect multi-tier private network environments with cross-service permissions between compute, database, and security layers.
Automate proactive infrastructure monitoring by creating and configuring CloudWatch alarms via Terraform code.
Skills you'll gain
Details to know
June 2026
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate
There are 3 modules in this course
Complete your transformation into a DevOps professional by mastering the philosophy of "Everything as Code." This course focuses on the final piece of the puzzle: removing manual human intervention from the provisioning process. You will learn to use Terraform to "code the cloud," defining VPCs, security groups, and EC2 instances in text files that can be version-controlled and audited. By mastering the Write-Plan-Apply workflow, you will be able to spin up entire data centers in AWS or Azure with a single command.
Simultaneously, we explore the power of Ansible for configuration management. You will learn how to use playbooks and Jinja2 templates to automate the setup of thousands of servers at once, ensuring that every machine in your fleet is perfectly configured and secure. Finally, we integrate proactive monitoring by creating CloudWatch alarms via code, ensuring you are alerted to system issues before they affect your users. This course empowers you to treat infrastructure exactly like software, giving you the power to build, scale, and secure global environments with unprecedented speed and precision. Every topic follows a hands-on structure: read the concept, attempt the lab, then watch a solution video that deconstructs the expert reasoning at every step. Who this is for: DevOps engineers and cloud practitioners with AWS or Azure familiarity and networking fundamentals who are ready to automate infrastructure at scale.
Move from simple task execution to advanced system state management. This module focuses on the complex file-handling modules of Ansible and the use of Jinja2 templates for dynamic configurations.
What's included
8 videos14 readings1 assignment
8 videosβ’Total 25 minutes
- Course Introductionβ’2 minutes
- Solution: Create Files on App Servers using Ansibleβ’3 minutes
- Solution: Ansible Ping Module Usageβ’2 minutes
- Solution: Ansible Install Packageβ’3 minutes
- Solution: Ansible Blockinfile Moduleβ’4 minutes
- Solution: Ansible Manage Servicesβ’2 minutes
- Solution: Managing ACLs Using Ansibleβ’4 minutes
- Solution: Ansible Lineinfile Moduleβ’5 minutes
14 readingsβ’Total 140 minutes
- Create Files on App Servers using Ansibleβ’10 minutes
- Hands-On Lab: Create Files on App Servers using Ansibleβ’10 minutes
- Ansible Ping Module Usageβ’10 minutes
- Hands-On Lab: Ansible Ping Module Usageβ’10 minutes
- Ansible Install Packageβ’10 minutes
- Hands-On Lab: Ansible Install Packageβ’10 minutes
- Ansible Blockinfile Moduleβ’10 minutes
- Hands-On Lab: Ansible Blockinfile Moduleβ’10 minutes
- Ansible Manage Servicesβ’10 minutes
- Hands-On Lab: Ansible Manage Servicesβ’10 minutes
- Managing ACLs Using Ansibleβ’10 minutes
- Hands-On Lab: Managing ACLs Using Ansibleβ’10 minutes
- Ansible Lineinfile Moduleβ’10 minutes
- Hands-On Lab: Ansible Lineinfile Moduleβ’10 minutes
1 assignmentβ’Total 30 minutes
- Ansible Automationβ’30 minutes
Learn to treat your cloud provider as an API. You will master the Terraform workflow (Init, Plan, Apply) to build networking, compute, and security resources in AWS.
What's included
7 videos14 readings1 assignment
7 videosβ’Total 36 minutes
- Solution: Managing Jinja2 Templates Using Ansibleβ’6 minutes
- Solution: Using Ansible Conditionalsβ’5 minutes
- Solution: Create VPC Using Terraformβ’5 minutes
- Solution: Create Security Group Using Terraformβ’6 minutes
- Solution: Create EC2 Instance Using Terraformβ’5 minutes
- Solution: Create IAM Policy Using Terraformβ’3 minutes
- Solution: Launch EC2 in Private VPC Subnet Using Terraformβ’6 minutes
14 readingsβ’Total 140 minutes
- Managing Jinja2 Templates Using Ansibleβ’10 minutes
- Hands-On Lab: Managing Jinja2 Templates Using Ansibleβ’10 minutes
- Using Ansible Conditionalsβ’10 minutes
- Hands-On Lab: Using Ansible Conditionalsβ’10 minutes
- Create VPC Using Terraformβ’10 minutes
- Hands-On Lab: Create VPC Using Terraformβ’10 minutes
- Create Security Group Using Terraformβ’10 minutes
- Hands-On Lab: Create Security Group Using Terraformβ’10 minutes
- Create EC2 Instance Using Terraformβ’10 minutes
- Hands-On Lab: Create EC2 Instance Using Terraformβ’10 minutes
- Create IAM Policy Using Terraformβ’10 minutes
- Hands-On Lab: Create IAM Policy Using Terraformβ’10 minutes
- Launch EC2 in Private VPC Subnet Using Terraformβ’10 minutes
- Hands-On Lab: Launch EC2 in Private VPC Subnet Using Terraformβ’10 minutes
1 assignmentβ’Total 30 minutes
- Terraform IaCβ’30 minutes
Scale your IaC skills to handle complex cloud architectures. This module covers private networking, cross-service permissions, and automated monitoring.
What's included
2 videos4 readings2 assignments
2 videosβ’Total 11 minutes
- Solution: Attach IAM Policy for DynamoDB Access Using Terraformβ’6 minutes
- Solution: Create and Configure Alarm Using CloudWatch Using Terraformβ’5 minutes
4 readingsβ’Total 40 minutes
- Attach IAM Policy for DynamoDB Access Using Terraformβ’10 minutes
- Hands-On Lab: Attach IAM Policy for DynamoDB Access Using Terraformβ’10 minutes
- Create and Configure Alarm Using CloudWatch Using Terraformβ’10 minutes
- Hands-On Lab: Create and Configure Alarm Using CloudWatch Using Terraformβ’10 minutes
2 assignmentsβ’Total 60 minutes
- Advanced IaCβ’30 minutes
- Multi-tool Automation Codebaseβ’30 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructor
Offered by
Explore more from Software Development
- Status: Free Trial
Course
- Status: Preview
Course
- Status: Free Trial
Why people choose Coursera for their career
Frequently asked questions
No prior Terraform or Ansible experience is required. The course introduces both tools through structured, hands-on labs and builds progressively from foundational tasks to advanced cloud architecture. You do need familiarity with cloud providers (AWS or Azure) and basic networking concepts to engage effectively with the content.
You'll gain hands-on experience with Ansible (including the Ping, Blockinfile, Lineinfile, ACL, and service management modules, plus Jinja2 templates and conditionals) and Terraform (for provisioning AWS VPCs, subnets, security groups, EC2 instances, IAM policies, DynamoDB access controls, and CloudWatch alarms). These are two of the most widely used IaC tools in cloud engineering roles today.
Write-Plan-Apply is Terraform's core provisioning cycle. You write your infrastructure as code, run a plan to preview exactly what changes will be made, and then apply to execute them. This makes cloud provisioning predictable, auditable, and safe β you always know what will change before it happens. This course gives you direct hands-on practice with this workflow across real AWS resources.
More questions
Financial aid available,
ΒΉ Some assignments in this course are AI-graded. For these assignments, your data will be used in accordance with Coursera's Privacy Notice.
