A trending choice for production infrastructure is to make use of cloud-based services such as those offered by Google, Amazon, and others. Once we build our shippable code, we need a place to host and serve the application in a secure and scalable way. These infrastructure needs, which most DevOps engineers have to deal with, are easier to achieve with cloud-based offerings. We get fully automated solutions using which you need not manage the application server or database server. If you desire to have some control and keep things simpler, then you can use Infrastructure as a Service (IaaS) solutions.
We already covered how to run Docker containers; let's look at the steps for building an image and hosting it on a cloud environment.