-
Create a Security group that allows the port
80
. -
Launch EC2 instance.
-
In this Ec2 instance use the existing key or provided key and security group which we have created in step 1.
-
Launch one Volume using the EFS service and attach it in your vpc, then mount that volume into
/var/www/html
. -
A developer has uploaded the code into GitHub repo also the repo has some images.
-
Copy the Github repo code into
/var/www/html
-
Create an
S3 bucket
, and copy/deploy the images from Github repo into the s3 bucket and change the permission to public readable. -
Create a Cloudfront using s3 bucket(which contains images) and use the
Cloudfront URL
to update in code in/var/www/html
.
-
Notifications
You must be signed in to change notification settings - Fork 0
Deploy Infrastructure website on AWS and integrating with EFS using Terraform
hackcoderr/aws-efs-terraform
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Deploy Infrastructure website on AWS and integrating with EFS using Terraform
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published