?? Create High Availability Architecture with AWS CLI ?? using CloudFront (CDN-services) and deploying web-server on top-of that RHEL8
Pradeep K.
Strategic Operations Leader | Proactive Negotiator | Team Dynamics Expert | Applying Computer Science for Seamless Client Relationships and Actionable Leadership
??The architecture includes :- ??
- Webserver configured on EC2 Instance
- Document Root (/var/www/html) made persistent by mounting on EBS Block Device.
- Static objects used in code such as pictures stored in S3
- Setting up Content Delivery Network using CloudFront and using the origin domain as S3 bucket.
- Finally place the Cloud Front URL on the webapp code for security and low latency.
PRE - REQUSITE before proceeding:
https://www.dhirubhai.net/posts/pradeep-55801b181_awscloud-awscli-aws-activity-6721804157533220864-exyu
By covering pre-Requsites you will be able to create EC2 and Attach EBS to EC2 by adding a key and security-group..!!!
- Created CloudFronnt using :
> aws cloudfront create-distribution --origin-domain-name pradeephadoop.s3.amazonaws.com
- Adding Security-group and Launching EC2 and created EBS is attached to EC2
All Set Now ..
Only the WebServer need to be configured
- yum install httpd -y
- check the /var/www/html/* the required file need to be placed in that directory
- Start the Web-services under port 80 HTTP
https://github.com/KVSSKPRADEEP/ArthTask6.git
End website deployed and the link updated.
For the example i have taken 1 in the Global-storage i.e S3 and rest all on EBS for knowing the difference in loading speed and latency
In S3 Object storage adding the CLoudfront CDN service
(CONTENT DELIVERY NETWORK As a Service)
I recieved the statistics from the GUI as such for CACHE statistics:
For Further we can also add the Validations and whitelist and Blacklist for advancement of our project
For Now we are Done withe Task6 in Arth
Thank you..