Configure Lambda with Container Images

Using Container Images to configure Lambda

Building Container Images

Create and Build your Lambda code using DockerFile. Refer to the AWS documentation for detailed instructions on how to build and test container Images.

Creating the ECR Repository

  1. In the DuploCloud Portal, navigate to Cloud Services -> Storage.

  2. Click the ECR Repository tab. The ECR Repository page displays.

  3. Click Add. The Create an ECR Repository page displays.

  4. In the ECR Repository Name field, enter the ECR Repository Name.

  5. Click Create.

Uploading Container Images to an ECR Repository

  1. Login to ECR

  2. Tag the images you have built.

  3. Push the images to the ECR Repository that you created.

Refer to the AWS Documentation for more details about uploading Container Images.

Configuring Lambda with Container Images

  1. In the DuploCloud Portal, navigate to Cloud Services -> Serverless.

  2. Click the Lambda tab. The Lambda Function page displays.

  3. Click Add. The Create a Lambda Function page displays.

  4. In the Name field, enter the name of your Lambda Function.

  5. In the Description field, enter a useful description of the function.

  6. From the Package Type list box, select Image. For type Zip, see the Lambda Functions topic.

  7. In the Image URL field, enter the URL of the image.

  8. Click Submit. The Lambda function is created.

  9. On the Lambda Function page, from the Name column, select the function you created.

  10. From the Actions menu, click Console. You are redirected to the AWS Console.

  11. Test the function using the AWS Console.


Last updated


© DuploCloud, Inc. All rights reserved. DuploCloud trademarks used herein are registered trademarks of DuploCloud and affiliates