# Deploying to AWS ECS

> Source: `src/content/docs/connect/aws-ecs.mdx`
> Canonical URL: https://rivet.dev/docs/connect/aws-ecs
> Description: Run your backend on Amazon ECS with Fargate.

---

See the [AWS ECS template](https://github.com/rivet-dev/template-aws-ecs) for deployment instructions:

- [Deploy with Terraform](https://github.com/rivet-dev/template-aws-ecs#option-a-deploy-with-terraform)
- [Deploy with AWS CLI](https://github.com/rivet-dev/template-aws-ecs#option-b-deploy-with-aws-cli)

_Source doc path: /docs/connect/aws-ecs_
