Skip to content

Creation of distributed architecture on AWS, where we are using multiple EC2 Instances to host our application and in backend every instance is having same data as we are using AWS Shared Storage Technology - AWS EFS.

License

Notifications You must be signed in to change notification settings

raktim00/AWS-EFS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

The Full procedure of doing this practical you can find in below link :

“Unlimited Shared Storage between AWS EC2 Instances using AWS EFS.” by Raktim Midya - https://link.medium.com/9R9zXccfbab

Problem Statement :

    1. Create the key and Create Security group which allow the port 80.
    1. Launch EC2 instance.
    1. In this Ec2 instance use the existing key or provided key and security group which we have created in step 1.
    1. Launch one Volume using the EFS service and attach it in your vpc, then mount that volume into “/var/www/html” folder.
    1. Developer have uploaded the code into GitHub repo also the repo has some images.
    1. Copy the GitHub repo code into “/var/www/html”.
    1. Create S3 bucket, and copy/deploy the images from GitHub repo into the s3 bucket and change the permission to public readable.
    1. Create a Cloudfront using s3 bucket(which contains images) and use the Cloudfront URL to update in code in “/var/www/html”.

About

Creation of distributed architecture on AWS, where we are using multiple EC2 Instances to host our application and in backend every instance is having same data as we are using AWS Shared Storage Technology - AWS EFS.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages