The first step involves creating an AWS ec2 instance. The pre requisites for that is an AWS account. In this case, an AWS AMI was selected, but there is a wide range of servers available to select from.
The next step involves entering the server with the help of SSH connection and use the server. Setting up the server to install docker container and pull the docker image from the git repository.
The final step is to build the docker image and run the container. The final output can be check if the container is running and the the public DNS displays the page or not.
Thats all! A docker container set up on the AWS ec2 instance.
Top comments (0)