If you're building and deploying cloud native applications and microservices, then understanding container development and orchestration is a must have skill. In this Lab you'll learn how to use both Docker and Docker Compose to build and run containers.
In this Lab scenario you'll work with 2 containers. A NGINX web server container which will be configured to proxy incoming HTTP requests downstream to second container running a customised Python FLASK based web application. The NGINX web server container will use the publicly available nginx:1.13.7 docker image. The FLASK based web application container will be based on a custom docker image that you will need to first create.
This Lab will teach you how to use and define a Dockerfile to build a FLASK based web application, and then use it with the docker build command to build a Docker Image. You'll then learn how to use Docker Compose, a tool for defining and running multi-container Docker applications, to configure and launch the dual container (Nginx -> Flask) environment.
Upon completion of this Lab, you will be able to:
You should:
This Lab will start with the following AWS resources provisioned automatically for you:
To achieve the Lab end state, you will be walked through the process of:
October 24th, 2024 - Resolved an issue preventing the lab from provisioning successfully
December 28th, 2022 - Updated instructions with new commands
August 14th, 2020 - Fixed issue preventing Kubernetes environment from starting