Disclaimer:
This isn’t a guide, this post just outlines my approach at achieving a solution.
Background
We are looking to migrate Loki along with our other observability components to ECS
Components
Deployment Strategies
Loki has a few options for deployment. Namely:
- monolithic
- simple scalable (aka SSD)
- microservices
Current setup
Currently we have Loki deployed in a simple-scalable strategy, with read components running on-demand via nomad, and write deployed via ec2.
We see about a 0.5TB volume of logs daily which is within the recommend range for SSD deployment (good room to grow up to a few TB/day before the value of microservices shines).
For simplicity of the migration - it may also help us along with this migration to keep the same deployment strategy and based on the volume it seems there is no urgent need to change this for now.
Migration
For the migration, the plan is the follows, starting with the simplest to cutover pieces:
- Read components
- Write components
- Backend components


