Tutorialspoint

Celebrating 11 Years of Learning Excellence! Use: TP11

VPC Solutions with EC2 for Production: AWS with Terraform

person icon Niyazi Erdogan

4.5

VPC Solutions with EC2 for Production: AWS with Terraform

Build confidence to work with AWS using Terraform for any kind of AWS Resource on VPC and EC2 Instances

updated on icon Updated on Jun, 2025

language icon Language - English

person icon Niyazi Erdogan

English [CC]

category icon IT and Software ,IT Certifications,Amazon AWS

Lectures -53

Resources -1

Duration -4 hours

Lifetime Access

4.5

price-loader

Lifetime Access

30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.

Course Description

Learn to implement production-ready infrastructure with AWS and Terraform today with an AWS Certified Solutions Architect!

Do you want to implement your complete infrastructure as code? Do you want to learn the coolest and most popular infrastructure configuration management tool on the market, Terraform, and make a huge contribution to your skillset?

Then this course is what you need! You will not only learn how to implement Terraform code but also implement an AWS Well-Architected Framework recommended deployment model which will be Highly-Available, Scalable, Fault-Tolerant, and Resilient!

  • In this course, we will start by exploring the tools we need throughout the course. Just to note here too, we will need an IDE with a proper Terraform plugin available. An AWS account is also necessary so I will show you how to get one if you do not already have it. Sure we will set up our environment variables for Terraform deployments and also configure our IDE to use Terraform efficiently by installing a Terraform Plugin which will highlight the syntax and auto-complete everything we intend to do.

  • In between all these, I will also give you a crash course on Terraform where you will gain all the information you need to implement this infrastructure!

  • Once we have everything set up, now is time to get our hands dirty and write some Terraform code to implement our cool, shiny architecture!

  • We will start off with implementing our remote state and obtaining a key pair which we will use to connect to the instances we will launch. Once we get these done, we will first create the Virtual Private Cloud (VPC) environment. To meet the demands of high availability, we will spread our private and public subnets to three different availability zones inside a region. We will also create our Private and Public Route Tables to manage the routing between our resources inside VPC.

  • We’ll also make sure to attach an Internet Gateway (IGW) to our VPC to use with public subnets so the resources in those will be able to access and receive public internet traffic. Our private subnet also needs some form of internet connection but not both ways; we want only internet access for outgoing connections from our resources in private subnets! To satisfy this requirement, we will launch and attach a NAT Gateway to our private route table.

  • After configuring the low-level networking infrastructure, we will proceed to implement our Launch Configurations for both public and private EC2 instances we will launch through Auto-Scaling Groups. Once we implement the instance launching configurations, we will move on to implement our Auto-Scaling Groups using these launch configurations. We will configure the subnets, machine images, startup scripts and simply everything we need to launch instances successfully.

  • Auto-scaling doesn’t come out of the box; we will need to configure it regarding our demands and how we want to scale our instances. For our implementation, we will use Target Tracking Scaling which will help use scale and manage our EC2 instances all by itself; we don’t have to do a single thing!

  • We do not do anything for Auto-Scaling once we set it up but for sure we want to know what’s going on with our instances. That’s why we will create an SNS Topic and subscribe to it to get real-time notifications on what’s happening with our instances and infrastructure.

There is much more to come in this course and I cannot wait for you to come and learn the best practices from an AWS Certified Solutions Architect!

Goals

  • You'll learn how to code against AWS using Terraform!
  • You'll learn the AWS Well-Architected Framework Best-Practices while implementing!
  • You'll learn how to isolate and control your own infrastructure with Terraform using Route Tables, Internet Gateways, Security Groups, and Rules!
  • You'll learn how to launch Highly-Available, Scalable, Fault-Tolerant, and Resilient EC2 Instances on AWS using Terraform!
  • You'll have very good understanding of VPC concepts like Subnets, Route Tables, and Internet Gateways by putting it all into real-world practice with Terraform code!
  • You'll be confident to work with AWS using Terraform for any kind of AWS Resource on VPC and EC2 Instances!
  • You'll learn how to read and code against a Terraform HCL language!
  • You'll be able to launch your own infrastructure on AWS without even signing in to AWS!

Prerequisites

  • An AWS Account - Free Tier Available!
  • General Knowledge of AWS Model would be nice
  • Theoretical Knowledge of VPC and EC2 Concepts would be nice but not necessary!
  • Any IDE or even a text editor, recommend with a Terraform Plugin
VPC Solutions with EC2 for Production: AWS with Terraform

Curriculum

Check out the detailed breakdown of what’s inside the course

Introduction

5 Lectures
  • play icon Source Code
  • play icon Introduction 01:14 01:14
  • play icon About This Course 02:50 02:50
  • play icon What We Will Build in This Course 04:36 04:36
  • play icon What Do You Need For This Course 02:14 02:14

Preparing The Environment for Development

5 Lectures
Tutorialspoint

Windows Environment Setup

3 Lectures
Tutorialspoint

MacOS Environment Setup

3 Lectures
Tutorialspoint

Terraform Refresher

1 Lectures
Tutorialspoint

Virtual Private Cloud (VPC) Network Infrastructure with Terraform - Part 1

7 Lectures
Tutorialspoint

Virtual Private Cloud (VPC) Network Infrastructure with Terraform - Part 2

7 Lectures
Tutorialspoint

Elastic Compute Cloud (EC2) with Terraform - Part 1

8 Lectures
Tutorialspoint

EC2 High Availability, Scalability and Fault Tolerance with Terraform

12 Lectures
Tutorialspoint

Wrapping Up

1 Lectures
Tutorialspoint

Instructor Details

Niyazi Erdogan

Niyazi Erdogan

Hi, I'm Niyazi Erdoğan. I'm a software engineer and AWS Certified Solutions Architect with over ten years of experience in various fields. I'm living in one of the most beautiful cities in the world, Istanbul. 

I'm a self-taught programmer and I've been programming since I was in middle-school. My experience ranges from embedded development to server-side and client-side development technologies. 

I started my career while I was only a student as a Java Developer in healthcare industry as a private contractor. Then I moved in to the largest telecommunication company of Turkey which is Turkcell. After several years and various different positions at Turkcell, I moved in to Portugal and worked for another large telecommunication company for several years with Java technologies. 

After the telecommunication industry experience and several different experiences, I joined one of the largest companies of its sectors which is Siemens. I currently works at Siemens working with various Java and Cloud technologies 

Besides my day job, I really enjoy developing software with lots of different technologies.On the other hand, I do love to follow tech conferences and blogs about latest technologies and tools. I also like to read books within or without my field of expertise and love to watch series like Westworld and Game of Thrones. And I make sure that I stay healthy with daily walking, running and workout.

Course Certificate

Use your certificate to make a career change or to advance in your current career.

sample Tutorialspoint certificate

Our students work
with the Best

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
Annual Membership

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
Online Certifications

Talk to us

1800-202-0515