AWS Fargate
Goal: every production agent runs as its own always-on task in your AWS account.
Today AWS runs the agent machines. The console, the Control Plane and the database run on Railway or on your own computer. A one-command setup that puts the whole install on AWS is being finished, and this page will carry it once it ships.
Before you start
Section titled “Before you start”In your AWS account you need:
- A Fargate cluster in ECS. An empty one is enough.
- One or more subnets with a route to the internet.
- A security group that allows outbound traffic. An agent only calls out, so no load balancer is needed.
- The task execution role,
ecsTaskExecutionRole, withsecretsmanager:GetSecretValueonshipvoice/*added. Each agent’s secrets are kept in AWS Secrets Manager undershipvoice/. - An IAM user with an access key. It must be able to register task definitions, manage ECS services, manage secrets under
shipvoice/, and pass the execution role.
Connect AWS
Section titled “Connect AWS”AWS is connected once for the whole brand.
- In the console, choose Integrations, then AWS Fargate under Deployment platform.
- Fill in the fields.
| Field | What to paste |
|---|---|
| Access key id | The IAM user’s key. Starts with AKIA |
| Secret access key | Shown once, when the access key is made |
| Region | Such as ca-central-1 or us-east-1. Near your LiveKit server is best |
| ECS cluster | The cluster the machines are placed in |
| Subnets | One or more, comma separated, such as subnet-0abc, subnet-0def |
| Security group | Such as sg-0abc |
| Task execution role | The role’s ARN |
| Worker image | The image AWS pulls. AWS builds nothing, so name one, such as a release image or your own in ECR |
Go live
Section titled “Go live”Promote an agent to production. ShipVoice Pro starts its task in your cluster, and the agent’s page shows the health of its machine.