February 9, 2024
Features
Import Base Images from Private AWS ECR Registries
To pull from an ECR registry, add your registry name to the base_image
field.
Configure your Beam app
Add an AWS IAM role
You must create an IAM user with the following policy attached. This allows Beam to generate an authentication token to download the image from your private registry.
Your AWS IAM credentials will be used to pull your image, but they are not stored in our system.
Source credentials
Beam will read your credentials from a local .env
file, using the Image.get_credentials_from_env()
method in the Beam SDK.
Your .env
file should look like this:
Make sure to source the .env file before running beam deploy [app].py
Was this page helpful?