Infrastructure as Code - Terraform
Budget: ₹600 – ₹1,500 INR
Create one ec2 Linux web node that serves a static HTML site (with the file you provide, can be just index.html). Use any web server software or a command-line tool (like “python -m SimpleHTTPServer” for ex) to serve the file(s). You can use a Docker container with a built-in web server like Apache as well. Use any AWS public Linux image (for example Amazon Linux AMI 2017.09.1 (HVM), SSD Volume Type - ami-d874e0a0 ). The HTTP port can be arbitrary. No need to worry about HTTPS. The web page needs to be accessible for the world under some public URL like for ex: http://something.region.compute.amazonaws.com:8000
Create two EC2 web servers from the previous step and add an Elastic Load Balancer at the front so web traffic is load-balanced across the two web servers and the site is still available if one of the web servers goes down.
Provide instructions & scripts (as necessary) appropriate for updating the static content without downtime. You may make any assumptions about how frequently the site is updated that you like, but you must document them.
Create two EC2 web servers from the previous step and add an Elastic Load Balancer at the front so web traffic is load-balanced across the two web servers and the site is still available if one of the web servers goes down.
Provide instructions & scripts (as necessary) appropriate for updating the static content without downtime. You may make any assumptions about how frequently the site is updated that you like, but you must document them.
Related categories:
DevOps