π° Creating High Availability Architecture with AWS CLI π°
In this article we gonna integrate AWS instance, EBS, S3 (STORAGE), Cloud Front all together and configure the Web server
β Here we launched a new instance upon AWS.
Check in aws also β instance launched (aws-cli-arth)
β [Now lets configure the webserver on our instance. For that lets install httpd in our instance
Now lets check the status of httpd
As it is inactive lets start the httpd
Finally we have configured apache webserver in our instance
β Now lets create EBS volume
Attach the EBS volume to the instance
Now check in AWS console
β Now lets create Partition for the new attached volume
Here # fdisk /dev/xvdf β to go inside it and β nβ to create new partition and βpβ to make a primary partition .Finally βwβ to save it
β Now format it
Now lets mount the device to the /var/www/html β becoz to make it availble for the webserver β root document (/var/www/html) for webserver
β Now create a web page in the /var/www/html folder
β Now lets create S3 bucket to save the static files.
You can check in aws GUI it is created.
Now u can upload any of ur pic in the bucket so that it will be visible in the website.
Now paste this url in ur HTML file created in the /var/www/html
Now finally lets create cloudfront distribution.
Which helps our website to be very fast and make user satisfaction.
β Now we can check weather our instance configured with webserver or not by searching http://<ip>/<html file name>
By the help cloudfront our website will be very fast (low latency) and will be available for anyone in the world with the same speed(velocity)
@HIGH AVAILABILITY ARCHITECTURE
β© By this we finally done the Task-6
THANK YOU