inflearn logo

AWS Terraform in Practice: From Console to Infrastructure as Code

This is a practical course focused on converting AWS console click operations into Terraform code. From HCL syntax to state management, module design, and CI/CD integration, you will complete your team-level IaC operational capabilities through step-by-step hands-on practice. You will build actual infrastructure in a cumulative structure from VPC to EKS and learn how to solve problems that arise during operations.

4 learners are taking this course

Level Basic

Course period Unlimited

CI/CD
CI/CD
Terraform
Terraform
amazon-web-services
amazon-web-services
state-management
state-management
infrastructure
infrastructure
CI/CD
CI/CD
Terraform
Terraform
amazon-web-services
amazon-web-services
state-management
state-management
infrastructure
infrastructure

What you will gain after the course

  • Declare AWS resources using HCL and establish a state file-based collaboration environment

  • Designing Reusable Infrastructure Code for Each Environment Using Variables and Modules

  • Implementing an Infrastructure Deployment Pipeline Based on Code Reviews Integrated with GitHub Actions

What you will learn

The entire workflow of declaring and deploying AWS resources using HCL syntax

The principles of state files and configuring team collaboration using S3 and DynamoDB

How to write reusable code for each environment using variables and loops

Standardizing infrastructure through module design

Cumulative hands-on practice building VPC, EC2, ALB, and EKS with code

Infrastructure deployment based on GitHub Actions integration and code reviews

Solutions for problems encountered in actual operations, such as drift and import.


Lecture Introduction Body

That port open in the security group—do you know who opened it and why?

When you look into infrastructure currently in operation, you inevitably find settings with no clear justification. Values changed hastily in the console, context lost as personnel changed, and documentation that has long since diverged from reality. As long as infrastructure is managed manually, these problems will continue to pile up.

Everything changes when you move infrastructure to code

Terraform is a tool that allows you to declare your desired infrastructure state as code, and it handles the rest automatically. It shows you exactly what will be created or deleted before any changes are made, and the entire history is preserved in Git. Since the code itself always serves as the most up-to-date documentation, there is no risk of discrepancies between the documentation and the actual environment.

From concepts to EKS, it flows without interruption

Lessons 1 through 7 cover IaC concepts, HCL syntax, state files, variables, loops, and modules. From Lesson 8 onwards, you will directly create a VPC, deploy EC2 instances and load balancers on top of it, and eventually build an EKS cluster. Since the practice sessions are cumulative—where the output of previous sessions serves as the foundation for the next—you will have a complete, finished piece of infrastructure code by the time you complete the course.

We spend more time on practical roadblocks than on syntax

Where people actually get stuck in Terraform is not the syntax, but state file management and team collaboration. This course dedicates an entire session to each of those two topics, and in the final 12th session, it covers drift and import issues that occur during operation using real-world cases.

Recommended for the following people

Infrastructure managers who currently operate AWS via console clicks and want to transition to automation

Junior engineers who started learning Terraform but got stuck on state files or modules

A lead who needs to introduce IaC to the team but feels overwhelmed about where to start

Developers who are preparing for a career transition to DevOps and need a portfolio

A backend developer who handles Kubernetes but used to create the underlying infrastructure manually

Recommended for
these people

Who is this course right for?

  • Infrastructure managers who are currently operating infrastructure via the AWS Console and wish to transition to automation.

  • A junior DevOps engineer stuck on Terraform state files and module structures

  • A tech lead planning to introduce IaC to the team and looking for ways to apply it in practice.

Need to know before starting?

  • Experience using basic AWS services (EC2, VPC, S3)

  • Basic Linux command-line operation skills

  • Basic knowledge of version control using Git

Hello
This is jjangkbg7719

Career Verified

547

Learners

35

Reviews

2

Answers

4.9

Rating

25

Courses

Hello, I'm Frank.

I am an infrastructure engineer who has been wrestling with servers for over 20 years. Starting with Linux server operations, I am now in charge of the cloud infrastructure for a large-scale payment service. My daily life involves migrating from data centers to AWS, managing hundreds of instances, and tracing the causes of failures in the early hours of the morning.

The reason I created this course is simple.

I often received questions like these from those around me: "I managed to connect to the server, but I don't know what to do next." "There are so many instance types; which one should I choose?" These are the exact same points where I got stuck at first. However, when I looked for resources, I found that most of them were written for people who already knew what they were doing.

So I decided to create the course I wish I had when I first started learning.

My lectures are based on three principles.

First, I help you understand rather than memorize. Instead of just listing commands, I explain why we use them in the first place.

Second, I boldly omit unnecessary content. I do not increase the volume by including information that is useless to beginners right now.

Third, I also talk about what doesn't work. Instead of just listing the pros, I clearly point out cases where it might not be a good fit. For someone who has to make decisions in the field, that is more important.

If you feel a sense of "Ah, I should start from here" after listening to the lecture, then my goal has been achieved.

Please feel free to leave any questions you may have at any time.

More

Curriculum

All

21 lectures ∙ (24min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

Not enough reviews.
Please write a valuable review that helps everyone!

jjangkbg7719's other courses

Check out other courses by the instructor!

Similar courses

Explore other courses in the same field!

Limited time deal

$3.30

62%

$8.80