ARTH Task 6

ARTH Task 6

Task Description

-------------------------------------------------------------

Create High Availability Architecture with AWS CLI

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

---------------------------------------------------------------------------------------------------------------

*Step 1

Launch new AWS Instance

No alt text provided for this image

Launched succesfully

No alt text provided for this image

* Step 2

Create a new volume

No alt text provided for this image

* Step 3

Attach new volume with the instance

No alt text provided for this image

*Step 4

Connect to the terminal of instance

No alt text provided for this image

* Step 5

Configuring Apache Webserver

No alt text provided for this image

* Step 6

Creation of new partition in new volume

No alt text provided for this image

* Step 7

Formatting and mounted to /var/www/html

No alt text provided for this image

Mounted succesfully

No alt text provided for this image

*Step 8

Creation s3 bucket

aws s3api create-bucket --bucket cli001bucket --region us east-1 --acl public read

No alt text provided for this image

* Step 9

Creating a distribution service for object in s3 bucket using AWS CloundFront

aws cloudfront create-distribution --orgin-domain-name cli001buck.s3.amazonaws.com

No alt text provided for this image
No alt text provided for this image

* Step 10

Creation of a webprogram in /var/www/html

No alt text provided for this image

* Step 11

By using the cdn url anyworld can acees my website from any corner of the world with low latency

No alt text provided for this image

Output

No alt text provided for this image


thank u


Keep going bro 🙌👍

Like
Reply

To view or add a comment, sign in

More articles by Benjamin Francis

Others also viewed

Explore content categories