bentoml-ec2-deploy
Skill by bentoml
Deploys a containerized BentoML service onto plain AWS EC2 instances running Docker, without Kubernetes. Made for users who want to run a bento image on a cloud VM.
Install bentoml-ec2-deploy
Built from the published package, never by AI.
git clone --depth 1 https://github.com/bentoml/BentoML /tmp/BentoML && mkdir -p ~/.claude/skills && cp -r /tmp/BentoML/skills/bentoml-ec2-deploy ~/.claude/skills/bentoml-ec2-deployRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/bentoml/BentoML /tmp/BentoML && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/BentoML/skills/bentoml-ec2-deploy ~/.gemini/antigravity-cli/skills/bentoml-ec2-deployAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill takes a container image pushed by the bentoml-containerize skill and runs it under Docker on one or more AWS EC2 instances. It can use instances the user already has over SSH, or provision a new instance with the AWS CLI, including an SSM AMI lookup, a security group and a key pair. The container runs with restart-on-reboot, and the skill checks the result with a real inference request.
The skill is for users who want to run a BentoML service on a plain VM without Kubernetes. Before each mutating AWS CLI command, it shows the command and a cost note and waits for confirmation. It also tracks every resource it creates so teardown only touches those. For Kubernetes targets, the source points to bentoml-k8s-deploy instead.
Written from the project's SKILL.md and checked against it.
What it can do
- Existing instance deployDeploys the container to the user's existing EC2 instances over SSH.
- New instance provisioningProvisions a new EC2 instance with the AWS CLI, including an SSM AMI lookup, security group and key pair.
- Registry login on the instanceLogs the instance into ECR with an instance profile or a token sent over SSH.
- Container run with restartRuns the container with restart-on-reboot and maps host port to container port 3000.
- Health and inference checkWaits for /readyz and sends a real inference request to confirm the deployment works.
- Multi-host rolloutRepeats the pull, run and verify steps for each host, with a loop reference.
- Cost and confirmation gatesShows the command and cost note before each mutating AWS command and waits for confirmation.
- Resource tracking for teardownRecords the instance, security group, key pair and IAM IDs it creates for later teardown.
What you need
- AWS CLI v2 with valid credentials
- An ssh client
- A pushed container image, usually built by bentoml-containerize
- Docker on the EC2 instance
Try asking
- Deploy my BentoML service to EC2
- Run my bento image on an AWS VM without Kubernetes
- Put this bento image on a cloud VM and verify it
Good to know
- Docker runs on the EC2 instance, not on the local machine.
- Instance profile setup for ECR needs IAM write access, which many SSO roles lack.
- GPU use needs an NVIDIA driver and nvidia-container-toolkit, which the skill does not install.
- Kubernetes targets are out of scope; use bentoml-k8s-deploy.
Security check
C- Asks for administrator rights (sudo)In
skills/bentoml-ec2-deploy/SKILL.md:`sudo
Checked automatically: skills/bentoml-ec2-deploy/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md17 KB -
references/multi-node.md3 KB -
references/provisioning.md9 KB -
references/registry-auth.md6 KB
Alternatives to bentoml-ec2-deploy
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
bentoml-ec2-deploy: common questions
Does it need Kubernetes?
No. The source says Docker is the instance's only dependency, with no Kubernetes and no agents.
Can it create new EC2 instances?
Yes. In AWS CLI mode it provisions an instance, security group and key pair, and asks for confirmation before each mutating command.
How does it check the deployment?
It waits for /readyz, then sends a real inference request and judges the response body rather than the status code.
How do I install bentoml-ec2-deploy?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is bentoml-ec2-deploy free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is bentoml-ec2-deploy safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.
What are alternatives to bentoml-ec2-deploy?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
