Skip to content

This Repository contains the code for Provisioning of ec2-instance and Amazon's EBS Volume to deploy web server with the help of Terraform to perform Infrastructure as a code

Notifications You must be signed in to change notification settings

geekgodgagan/ec2-aws-terraform

Repository files navigation

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

About

This Repository contains the code for Provisioning of ec2-instance and Amazon's EBS Volume to deploy web server with the help of Terraform to perform Infrastructure as a code

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages