Migration of Nginx Webserver to Highly Available Docker Containers on AWS using Docker Swarm
<p>In this Cloud Migration project based on a real-world scenario, I acted as a DevOps Engineer migrating to AWS, a restaurant application that ran on-premises servers using Nginx.</p>
<p>However, I needed to keep the Nginx solution and deploy it through containers, with high availability, and use Docker Swarm as an orchestration solution. Besides, I used the Elastic Load Balancer (ELB) to ensure high availability on the three EC2 instances, located in different availability zones.</p>
<p>In case of any failure, the website will still be running due to Docker-swarm created in the EC2 instances and Elastic Load Balancer that will distribute the traffic.</p>
<p><img alt="" src="https://miro.medium.com/v2/resize:fit:700/1*7gSQuz9OSgvvp26TUrTW7g.png" style="height:394px; width:700px" /></p>
<h1>1st Step - Creating an Elastic Container Registry</h1>
<p>The ECR will be responsible for hosting the docker-swarm image, it can be easily created on AWS with a few clicks. Make sure you’re at Region: N. Virginia — us-east-1</p>
<p><a href="https://medium.com/@ozieldesouza/migration-of-nginx-webserver-to-highly-available-docker-containers-on-aws-using-docker-swarm-4ccbce3725ce"><strong>Read More</strong></a></p>