- AWS VPC with public and private subnets.
- ECS cluster with application load balancer.
- AWS EFS to persist Drone Server and Autoscaler's sqlite DB
- Security Groups and Ingress rules to allow access from: a. ALB -> ECS. b. ECS <-> EC2 instances running Drone agent. c. ECS -> EFS.
- IAM roles and policies to allow ECS to access different resources.
- Secrets passed into ECS using AWS Secret manager.
- Drone Server and Autoscaler deployed in a 2 Fargate tasks
- Drone autoscaler spins EC2 instances for Queued jobs
- All resources run in private IPs and communicate within the VPC\
- Logs are sent to a cloud watch log group
rumsrami / drone-ecs Goto Github PK
View Code? Open in Web Editor NEWSelf Hosted Drone on AWS ECS