VOOZH about

URL: https://www.coursera.org/learn/infrastructure-automation-iac-hands-on

⇱ Infrastructure Automation (IaC) - Hands-On | Coursera


Infrastructure Automation (IaC) - Hands-On

Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

Infrastructure Automation (IaC) - Hands-On

Included with

β€’

Learn more

Ask Coursera

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

9 hours to complete
Flexible schedule
Learn at your own pace

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

9 hours to complete
Flexible schedule
Learn at your own pace

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.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

June 2026

Assessments

4 assignmentsΒΉ

AI Graded see disclaimer
Taught in English

Build your subject-matter expertise

This course is part of the DevOps Pro: Linux, Docker, Kubernetes, CI/CD & IaC Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • 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

KodeKloud
21 Coursesβ€’38,878 learners

Why people choose Coursera for their career

πŸ‘ Image

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
πŸ‘ Image

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
πŸ‘ Image

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
πŸ‘ Image

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

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.

Infrastructure Automation (IaC) - Hands-On is designed as the capstone of the hands-on DevOps series. It builds on the Linux systems skills from DevOps Foundation (Linux & Systems) - Hands-On, the Ansible introduction from Source Control & CI/CD - Hands-On, and the cloud-native deployment concepts from Mastering Docker & Containers - Hands-On and Kubernetes Orchestration - Hands-On. Together, the series covers the full professional DevOps stack.

This course builds skills directly applicable to roles such as DevOps Engineer, Cloud Infrastructure Engineer, Site Reliability Engineer (SRE), Platform Engineer, and Cloud Architect. The ability to provision and manage infrastructure via code is one of the most in-demand technical competencies across cloud-first organizations.

Module 1 (Ansible Automation) covers creating files on application servers, using the Ping module, installing packages, working with Blockinfile, managing services, configuring ACLs, using Lineinfile, working with Jinja2 templates, and applying Ansible conditionals.

Module 2 (Terraform IaC) covers creating VPCs, configuring security groups, provisioning EC2 instances, creating IAM policies, and launching EC2 instances in private VPC subnets.

Module 3 (Advanced IaC) covers attaching IAM policies for DynamoDB access and creating and configuring CloudWatch alarms β€” all using Terraform.

Most IaC courses focus on one tool in isolation. This course runs Ansible and Terraform in parallel, reflecting how real infrastructure teams actually operate β€” using configuration management and cloud provisioning together. The inclusion of monitoring-as-code with CloudWatch and the hands-on private networking architecture also go well beyond what most introductory IaC courses cover. Every skill is practiced in a lab before being validated against a professional solution video.

To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.

When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.

Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

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.