Skip to content

ashishw99/mywebsite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform

Terraform poc

https://github.com/ashishw99/mywebsite/blob/master/s3image.jpg

You have to launch an application by creating the following infrastructure using Terraform ( InfrastructureAsACode )

1.First create a key, then create a security group which allows port ssh 22 and http 80

2.Then launch an EC2 instance using the firewall and key created above

3.Create an EBS Volume , attach EBS to EC2 and mount it on /var/www/html

4.from github repo, download the code from there into the /var/www/html folder on ec2

  1. Create s3 bucket , download images locally from s3 bucketa and upload it an s3 bucket

  2. create cloudfront distribution to server website content hosted on s3 bucket

7.Update the Cloud front URL into the code that was downloaded into the above folder which is accessible publically

#LinuxWorld #VimalDaga #InfrastructureAsACode #Terraform #Github #AWS

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published