Using AWS Services with Terraform

“Core Services used for this automated environment”

What is Terraform ?

In this post, I will be describing about Integrated environment for Webserver on AWS platform using Terraform.

AWS Management Console
Services
Iam page
See Access key and security access key
aws configure

Let’s start with terraform code :

AWS Provider
Key Pair Creation
Default VPC and Subnet
These screenshots are pasted here because these are exported variables and these can be used to assign values in our code
Deployment is creating
EC2 Dashboard
EC2 Instance
Webserver file -> “index.php”
S3 Bucket
Object in the S3 bucket
EFS Volume

Now, all the resources are created and we have added the CloudFront URL in our webpage, so we can see the output :

Cloudfront URL displays the object
You can see my webserver is running

I am a student and persuing under graduation in computer science and engineering.