How to Deploy EC2 Instances in AWS using Terraform

In this story, we will learn to deploy both Linux and Windows EC2 Instances in AWS using Terraform.

And also, we will learn how to deploy applications or configure settings at boot time (bootstrapping).

1. Requirements

To deploy a Virtual Machine in AWS, we will need:

  • AWS Credentials

--

--

--

Certified AWS, Azure & GCP Architect | HashiCorp Ambassador | Terraform SME | KopiCloud Founder | Entrepreneur & Innovator | Book Author | Husband & Dad of ✌

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Reviewing Messaging in Distributed System Architectures

Diagram showing a message bus/broker broadcasting events from publishers to subscribers

Time and Timezones: Getting it Right

Introduction to Agility Diagrams

Druid and SuperSet for Real-time monitoring at scale

Tips for better learning

Microservices Architecture — Early Thoughts Before That First Step

To Endure or to Modernise?

Model-Integrating Development (MID) of Software Systems

Overview of core concepts of model-integrating development

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
Guillermo Musumeci

Guillermo Musumeci

Certified AWS, Azure & GCP Architect | HashiCorp Ambassador | Terraform SME | KopiCloud Founder | Entrepreneur & Innovator | Book Author | Husband & Dad of ✌

More from Medium

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

[Terraform]: Build Amazon Redis Cache from SNAPShots not are supported. Wait What!!

Ansible AWS Dynamic Inventory Explained With Examples

Automate Alibaba Cloud infra building with Terraform (step 2)