Deploying Genie apps with Git and Docker containers
Now that we have confirmed that our application runs correctly in a Docker container, we can deploy our application on any of the multitude of web hosting services that support Docker container deployments. By using Docker containers, we can be sure that the exact setup described in the Dockerfile and tested on our machine will be run and configured on the hosting service.
AWS EC2 hosting
AWS is the most popular hosting platform at the moment so let’s see how to deploy our Genie app there. AWS has a multitude of services (over 100) providing a huge array of possible deployment setups. Most of the AWS configurations are quite complex and go beyond the scope of this chapter, with large books and month-long certification programs being dedicated to teaching AWS usage. We’ll go with one of the simplest and most straightforward ways to get the application up and running.
To follow along with the next section, you...