Deploying Docker images
In the last section, we learned how to build and deploy Docker images locally. These images can be deployed on any virtual machine and on serverless platforms such as Google Cloud and AWS.
The regular mode of operation involves pushing your Docker images to a private registry on the serverless platform. The process involved in deploying Docker images on serverless platforms varies from provider to provider and, as a result, the links to select serverless service providers have been provided here:
- Google Cloud Run: https://cloud.google.com/run/docs/quickstarts/build-and-deploy/python
- Amazon EC2: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/getting-started-ecs-ec2.html
- Deploying to Microsoft Azure: https://docs.microsoft.com/en-us/azure/container-instances/container-instances-tutorial-deploy-app
The steps covered in the previous section can be followed when the Docker images are to be installed on a machine or traditional...