🔅 Configure Docker
🔅 Start and enable Docker services
🔅 Pull the httpd server image from the Docker Hub
🔅 Run the httpd container and expose it to the public
🔅 Copy the html code in /var/www/html directory and start the web server
🔅Provision EC2 instance through ansible.
🔅Retrieve the IP Address of instance using dynamic inventory concept.
🔅Configure the web server through ansible!
🔅Create role for webserver to customize the Instance and deploy the webpage to root directory.
🔅Provision EC2 instances through ansible.
🔅 Retrieve the IP Address of instances using the dynamic inventory concept.
🔅Configure the web servers through the ansible role.
🔅Configure the load balancer through the ansible role.
🔅The target nodes of the load balancer should auto-update as per the status of web servers.
🔅Create a key pair.
🔅Create a security group.
🔅Launch an instance using the above created key pair and security group.
🔅Create an EBS volume of 1 GB. The final step is to attach the above created EBS volume to the instance you created in the previous steps.
🔅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.