High Availability Architecture with AWS CLI

AWS cloudfront — Global Content Delivery Network

Edge locations around the world

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.

--

--

No responses yet