Amazon Elastic Container Registry (ECR) is a managed AWS service that allows you to host your Docker images on AWS. It is very reliable and allows secure deployment of your images and architectures. It enables you to create both public and private repositories so that you can control access to your images and architectures. AWS Lambda is a serverless platform that allows you to upload your code as a zip file or a container image without the hassle of managing infrastructures.
In this Cloud Lab, you’ll first create an ECR repository. Then, you’ll create a Cloud9 environment and configure a simple Python application. You’ll use the integrated terminal in Cloud9 to containerize this application and then push the Docker image to the ECR repository. You’ll then create a Lambda function using this container image as the runtime and then test this function.
By the end of this Cloud Lab, you’ll have hands-on experience in creating and managing Docker containers and Lambda functions, essential skills for any AWS architect.
After the completion of this Cloud Lab, the architecture diagram will look like the following: