CLOUD LABS
Creating a Lambda Function with a Container-Based Runtime
In this Cloud Lab, we’ll host a Python application on Amazon Elastic Container Registry (Amazon ECR) and then create a Lambda function using this hosted image as the container runtime.
beginner
Certificate of Completion
Learning Objectives
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:
Before you start...
Try these optional labs before starting this lab.
Relevant Courses
Use the following content to review prerequisites or explore specific concepts in detail.
Trusted by 1.4 million developers working at companies including
Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.
![TestimonialsImg](/static/imgs/FelipeMatheus.png)
I highly recommend Educative. The courses are well organized and easy to understand.
![TestimonialsImg](/static/imgs/AdinaOng.png)
I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.
![TestimonialsImg](/static/imgs/CliffordFajardo.png)
I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.
![TestimonialsImg](/static/imgs/CliffordFajardo.png)
Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.
![TestimonialsImg](/static/imgs/FelipeMatheus.png)
I highly recommend Educative. The courses are well organized and easy to understand.
![TestimonialsImg](/static/imgs/AdinaOng.png)
I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.
![TestimonialsImg](/static/imgs/CliffordFajardo.png)
Get access to Educative Cloud Labs