Production-Like Environment
Learn how to create a virtual machine.
What to expect in this chapter?
We are so close to deployment to production. In the previous chapter, we configured our application so it is ready to run in production environments. We also pushed our image to Docker Hub.
However, before setting up cloud-based infrastructure and deploying it, having a practice run locally is a good option. In this chapter, we will discuss virtualization technologies, specifically VirtualBox, to create a virtual infrastructure that can simulate a production environment.
We will learn how to
- create a single node cluster, capable of running Docker containers;
- deploy the application;
- scale up the app and run multiple copies of it on a single instance.
In the ...