July 22, 2024
0.2.58
Features
- Added support for private AWS ECR images in the SDK
- Added support to delete volumes in the CLI
- Added
stats.active_containers
andstats.queue_depth
to thev2/task/<task-id>
endpoint - Added displaying public endpoint URLs when calling
beam deploy
- Added tailing logs using
--stub-id
with thebeam logs
command - Added a Serves page to the dashboard
- Overview page now only shows the latest Deployment and not all versions of all deployments
- Added a Versions page to the Deployment page
Bug Fixes
- Fixed temp file creation in SDK when syncing files on Windows
How to update
Use private AWS ECR images
Export your AWS credentials in your shell and pass the environment variable names to base_image_creds
as a list. This syntax will lookup the environment variable values for you.
We also accept a dict where you can provide the values.
You can authenticate with either your static AWS credentials or an AWS STS
token. The latter requires that the AWS_SESSION_TOKEN
key be set.
Delete a volume
You can now delete volumes using the following command.
Getting stats from the task API
We’ve added a new stats
object to the task API response. It includes the number of active containers and queue depth of tasks.
Public URL displayed in CLI
Calling beam deploy
has always showed the URL of your app, but it didn’t show the public URL when an endpoint had authorized=False
set until today.
Here’s an example endpoint.
Let’s deploy it and see what the URL looks like.
Using stub ID to tail logs
We’ve added —stub-id to the beam logs
command. Here’s how it can be used.
Go to platform.beam.cloud and click on your deployment then click the copy button next to “Stub ID”.
Use the stub Id in the following command.
Serves on the dashboard
Serves is back on the menu! You can find them on the dashboard.
Overview page only shows latest version of deployment
We’ve made the Overview page a little cleaner by only showing the latest version of your deployments.
Deployment page has a new Versions page
To make sure you can still see your deployment versions, we’ve given them a new home under your deployment.
Was this page helpful?