Skip to content

Latest commit

 

History

History
27 lines (27 loc) · 1.24 KB

README.md

File metadata and controls

27 lines (27 loc) · 1.24 KB

Provisioning of ec2-instance and Amazon's EBS Volume to deploy webserver with the help of Terraform

Prerequisites

Make sure you have installed all of the following prerequisites on your development machine:

git clone https://github.com/geekgodgagan/ec2-aws-terraform.git

Now, login to AWS CLI to make profiles as:

aws configure

Now, initialise the terraform repository as:

terraform init

change the path and name of your private key to ssh login to instance from the ec2.tf and software_configuration.tf files as:

key_name = "your Key name"
private_key = file("your key path")

Finally apply the terraform script to provision the OS on the top of AWS cloud as:

terraform apply