# Deploying to AWS ECS

> Source: `src/content/docs/deploy/aws-ecs.mdx`
> Canonical URL: https://rivet.dev/docs/deploy/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/deploy/aws-ecs_
