Skip to content

Commit cd6919c

Browse files
[ Docs]: Normalize structure: Build & deploy Lambda container images (ECR) (#260)
Co-authored-by: Quetzalli <alejandra.olvera.novack@gmail.com>
1 parent 552e89c commit cd6919c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed
122 KB
Loading

src/content/docs/aws/tutorials/lambda-ecr-container-images.mdx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,16 @@ In this tutorial, we will explore creating a Lambda function using a container i
3232

3333
Before diving into this tutorial, make sure you have the following prerequisites:
3434

35-
- LocalStack Pro
35+
- [LocalStack Pro](https://localstack.cloud/pricing/)
3636
- [awslocal](/aws/integrations/aws-native-tools/aws-cli#localstack-aws-cli-awslocal)
3737
- [Python](https://www.python.org/downloads/)
3838
- [Docker](https://docker.io/)
3939

40+
## Architecture Diagram
41+
42+
The following diagram shows the architecture that we are going to follow :
43+
44+
![lambda-ecr-container-images-architecture](/images/aws/lambda-ecr-container-images.png)
4045
## Creating a Lambda function
4146

4247
To package and deploy a Lambda function as a container image, we'll create a Lambda function containing our code and a Dockerfile.
@@ -243,6 +248,8 @@ Here's an explanation of each flag:
243248
In the example, a mock role ARN is used.
244249
For an actual role, please refer to the [IAM documentation](/aws/services/iam).
245250

251+
## Testing the application
252+
246253
To invoke the Lambda function, you can use the `invoke` command:
247254

248255
```bash

0 commit comments

Comments
 (0)