Skip to content
ShipVoice

AWS Fargate

AWS Fargate is one of the two places a production agent can run. Each agent you promote to production gets an always-on Fargate task in your AWS account.

The rest of the install, which is the console, the Control Plane and the database, runs on Railway or on your own computer. AWS runs only the agent machines.

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.
  • The task execution role, ecsTaskExecutionRole, with secretsmanager:GetSecretValue on shipvoice/* added.
  • 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

AWS is connected once for the whole install.

  1. Choose Integrations, then AWS Fargate under Deployment platform.
  2. Fill in the fields.
FieldWhat to paste
Access key idThe IAM user’s key. Starts with AKIA
Secret access keyShown once, when the access key is made
RegionSuch as ca-central-1 or us-east-1. Near your LiveKit server is best
ECS clusterThe cluster the machines are placed in
SubnetsOne or more, comma separated, such as subnet-0abc, subnet-0def
Security groupSuch as sg-0abc
Task execution roleThe role’s ARN
Worker imageThe image AWS pulls. AWS builds nothing, so name one, such as a release image or your own in ECR

Go live

Promote an agent to production. ShipVoice Business starts its task in your cluster, and the agent’s page shows the health of its machine. See Build an agent.

Next: Your own infrastructure