To reduce the surface area of deployment guides to maintain (other than our recommended method in the docs), I have: - Added archive notes to deployment guides in our blog and linked to our recommended deployment methods in the docs. - Tracked down (approximately) the original publication dates of the guides for posterity.
2.3 KiB
Deploy Fleet on AWS ECS
This article was archived on May 16, 2024, and may be outdated. Check out Deploy Fleet for our recommended deployment method.
Terraform reference architecture can be found here
Infrastructure dependencies
MySQL
In AWS we recommend running Aurora with MySQL Engine, see here for terraform details.
Redis
In AWS we recommend running ElastiCache (Redis Engine) see here for terraform details
Fleet server
Running Fleet in ECS consists of two main components the ECS Service & Load Balancer. In our example the ALB is handling TLS termination
Fleet migrations
Migrations in ECS can be achieved by running dedicated ECS tasks that run the fleet prepare --no-prompt=true db command. See terraform for more details
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.
