High Availability Architecture with AWS CLI
AWS cloudfront — Global Content Delivery Network
Nov 13, 2020
Launching EC2 instance:
Contents of the user-data file:
Creating and attaching a volume:
Creating partitions:
Mounting the partition to html directory:
Adding a file to s3 bucket:
Verify:
Create cloudfront domain:
Now creating the webpage with an image coming from an edge location:
Final result:
Feel free to contact on my LinkedIn.