Deploy a model on Amazon EC2
Connect AWS, approve a reusable network setup, start a model on a new GPU, call it, and verify teardown.
Use this path to deploy a compatible model onto new EC2 compute in your AWS account and call it through a Smol endpoint. It does not take over an arbitrary running instance. If you already operate a model server, connect existing inference instead.
Before you start: sign in as a Smol organization owner or admin with MFA. You’ll need an AWS administrator to approve setup, a supported region with a VPC and a routed subnet, and permission to incur AWS charges. Check that the account has enough EC2 GPU quota in that region. A quota lets you request an instance; it doesn’t reserve one.
1. Connect AWS
Section titled “1. Connect AWS”Open Connections → New connection → Amazon EC2. Name the connection, supply the customer AWS account ID, and select the regions you want to allow. Download the account template, review and create its CloudFormation stack in AWS, wait for CREATE_COMPLETE, then choose Verify connection in Smol. If you already have this verified connection, reuse it. Detailed connection instructions.
2. Select a deployment network
Section titled “2. Select a deployment network”- Open Inference → New endpoint. Name it, for example
support-model, and choose Deploy on your own infrastructure. If returning to a saved endpoint, open its Deployment tab instead. - Open Deployment settings when a network is needed and select your verified EC2 connection. Reuse a ready setup matching the intended location, or choose Set up infrastructure.
- For a new setup, choose the offered configuration, region, VPC and routed subnet. Review the AWS account, placement and stack name shown in Smol. Download this setup’s template. Use the supplied AWS link to create the stack with that name and region. Review the runtime role/instance profile, scoped policy and serving security group. Approve only the intended network and permissions.
- Once AWS reports CREATE_COMPLETE, return to the saved setup and choose Check setup. When ready, choose Use this setup. If a check cannot be confirmed, read status first; use Check saved setup on that same configuration. Don’t create another stack because you lost a tab.
3. Review a model and its cost
Section titled “3. Review a model and its cost”- Select a model and compatible GPU configuration offered for this placement. If the endpoint was saved without a model, continue in Deployment. For example, a London placement can offer
Qwen/Qwen3-1.7Bong6.2xlarge; use the actual choices for your network. Adding a region to a connection doesn’t put every model or GPU in that region. - Set the estimate ceiling (USD). Review Advanced settings for the serving estimate horizon and startup limit. The ceiling checks the proposed estimate. It isn’t an AWS spending cap or a timer that stops compute.
- Choose Review deployment. Verify the displayed account and placement, model, compute and estimate before proceeding. Review doesn’t launch anything; you can leave here and return to the draft.
- Under the review’s permission step, use Check deployment access when offered. A matching reusable approval doesn’t need another policy upload. If the configuration requires a specific AWS permission update, review the exact scope and follow the displayed approval, then check it again.
4. Approve and follow startup
Section titled “4. Approve and follow startup”Choose Approve and start deployment only when ready to incur AWS charges. Closing the page does not stop the operation. Follow the deployment’s status: an accepted operation or an EC2 instance ID is not yet a serving model. Wait for the endpoint to report readiness. If startup stalls or capacity isn’t available, open Deployment history → View, read the current outcome, and check for an existing allocation before considering another launch.
5. Prove the endpoint serves
Section titled “5. Prove the endpoint serves”Open Connect, create a short-lived test credential, and send one synthetic request. For example, ask for the single word AURORA. Verify the answer and the matching Activity record. Revoke the test credential afterward. No Context Space or Application is required for this test.
6. End the test and verify cleanup
Section titled “6. End the test and verify cleanup”Return to Deployment, open the active deployment, and use Delete deployment if you no longer need its compute. Review the confirmation and track deletion to a confirmed outcome. Check the same instance ID in the AWS account and region: it should be terminated, not merely stopping or stopped. Check separately for retained EBS volumes, snapshots, addresses or other billable resources. The endpoint and reusable Context Spaces are distinct from the instance.
Cancelling a deployment does not stop or delete an already allocated instance. If you want to return to that same instance, use Stop compute where available; persistent storage may still cost money. If deletion or stop is unconfirmed, inspect its existing operation—don’t launch another GPU. See deployment lifecycle and recovery.