Pod
provides a way to run serverless containers on the cloud. It enables you to quickly launch a container as an HTTPS server that you can access from a web browser.
Pods run in isolated containers, allowing you to run untrusted code safely from your host system.
This can be used for a variety of use cases, such as:
Image
object. This can be customized with Python packages, shell commands, Conda packages, and much more.
beam deploy
command.
name
field.terminate()
method.
Alternatively, you can terminate the container the Pod is running on by using the beam container stop <container-id>
command.
keep-warm-seconds
parameter when creating a pod. By specifying -1, the pod will not spin down to due inactivity, and will remain up until either the entrypoint process exits, or you explicitly stop the container.
Keep Alive for 5 minutes
beam container list
command.
beam container stop <container-id>
.