Loading video player...
In this video, I’ll show you how to deploy an EC2 instance on AWS using Terraform — from setup to connecting via SSH! 🚀 We’ll configure Terraform to store its state in an S3 bucket, create a security group, generate a key pair, and automatically install a simple web server on your EC2 instance. 🔧 What you’ll learn: How to install Terraform on WSL How to configure the AWS provider and S3 backend How to create a security group (HTTP + SSH) How to generate and attach an EC2 key pair How to deploy and connect to an EC2 instance via SSH How to destroy all resources safely 0:00 Microphone Problems 0:33 What we will be doing today 1:19 Installing Terraform 2:39 What is Terraform 3:26 How to connect CLI to AWS 6:37 Create S3 bucket to store tfstate file 8:40 Terraform files 14:00 Create Infrastructure (EC2 and SecGrup) 20:45 Clean up