-
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 URLto update in code in/var/www/html.
hackcoderr/aws-efs-terraform
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|