How to Deploy an Amazon Linux EC2 Instance in AWS using Terraform

In this story, we will learn how to deploy an Amazon Linux EC2 Instance (VM) in AWS using Terraform.

Note: updated on 24-March-2022 to add support for Amazon Linux 2 Kernel 5.x AMI

Prerequisite #1: AWS Credentials

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store