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
Launched succesfully
* Step 2
Create a new volume
* Step 3
Attach new volume with the instance
*Step 4
Connect to the terminal of instance
* Step 5
Configuring Apache Webserver
* Step 6
Creation of new partition in new volume
* Step 7
Formatting and mounted to /var/www/html
Mounted succesfully
*Step 8
Creation s3 bucket
aws s3api create-bucket --bucket cli001bucket --region us east-1 --acl public read
* 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
* Step 10
Creation of a webprogram in /var/www/html
* Step 11
By using the cdn url anyworld can acees my website from any corner of the world with low latency
Output
thank u
Keep going bro 🙌👍