Grafana on AWS ECS with Amazon Aurora Serverless database for persistent storage.
Deploying Grafana container service, on AWS ECS with high availability. Amazon Aurora Serverless database for storing dashboard, users, and other persistent data.
What resources are created
- VPC
- Internet Gateway (IGW)
- Public and Private Subnets
- Security Groups, Route Tables and Route Table Associations
- IAM roles, instance profiles and policies
- Amazon EC2 Container Service ( On EC2 )
- Grafana container service on ECS.
- Amazon Aurora Serverless ( for high availibilty )
How to use this example
Pre-resuisite
- Python v3.7
- Terraform v0.11.14
- AWS Account
- IAM User With Admin Access
git clone git@github.com:nitinda/terraform_grafana_on_ecs.git
cd terraform_grafana_on_ecs
make plan
make apply
Manual Steps post deployment (Optional)
- None
Diagram
Cleaning up
You can destroy this cluster entirely by running:
git clone git@github.com:nitinda/terraform_grafana_on_ecs.git
cd terraform_grafana_on_ecs
make plan
make destroy