?? Create High Availability Architecture with AWS CLI ?? using CloudFront (CDN-services) and deploying web-server on top-of that RHEL8

?? Create High Availability Architecture with AWS CLI ?? using CloudFront (CDN-services) and deploying web-server on top-of that RHEL8

??The architecture includes :- ??

  1. Webserver configured on EC2 Instance
  2. Document Root (/var/www/html) made persistent by mounting on EBS Block Device.
  3. Static objects used in code such as pictures stored in S3
  4. Setting up Content Delivery Network using CloudFront and using the origin domain as S3 bucket. 
  5. 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..!!!

> aws cloudfront create-distribution --origin-domain-name pradeephadoop.s3.amazonaws.com
  • Adding Security-group and Launching EC2 and created EBS is attached to EC2
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
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.

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
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
No alt text provided for this image
In S3 Object storage adding the CLoudfront CDN service
(CONTENT DELIVERY NETWORK As a Service)
No alt text provided for this image

I recieved the statistics from the GUI as such for CACHE statistics:

No alt text provided for this image

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..

要查看或添加评论,请登录

Pradeep K.的更多文章

社区洞察

其他会员也浏览了