fleet/articles/deploy-fleet-on-aws-ecs.md

1.5 KiB

Deploy Fleet on AWS ECS

Archived. While still usable, this guide has not been updated recently. See the Deploy Fleet docs for supported deployment methods.

Deploy Fleet on AWS ECS

A Terraform reference architecture can be found in the fleetdm/terrqform repository.

Infrastructure dependencies

MySQL

In AWS we recommend running Aurora with MySQL Engine.

Redis

In AWS we recommend running ElastiCache (Redis Engine).

Fleet server

Running Fleet in ECS consists of two main components the ECS service & load balancer.

Fleet migrations

Migrations in ECS can be achieved by running dedicated ECS tasks that run the fleet prepare --no-prompt=true db command.

Alternatively you can bake the prepare command into the same task definition see here for a discussion, but this is not recommended for production environments.