GRIT - Linux Docker template on AWS
This epic establishes a production-grade template to run the Docker-Autoscaler executor on AWS Linux instances.
```terraform
module "my-aws-linux-runners" {
source = "../grit/modules/aws/prod"
gitlab_url = "https://gitlab.com/"
manager_service = "ec2"
fleeting_service = "ec2"
fleeting_os = "linux"
ami = "ami-05012401516a40259"
executor = "docker-autoscaler"
instance_type = "t2.medium"
aws_vpc_cidr = "10.0.0.0/24"
capacity_per_instance = 1
scale_min = 2
scale_max = 10
gitlab_project_id = "51122797"
gitlab_runner_description = "my-linux-runner"
gitlab_runner_tags = ["linux-ec2-job"]
min_maturity = "alpha"
name = "release-demo"
}
```
At the end of this epic, this module definition :point_up: will work. The module will be marked as "beta" according to https://gitlab.com/gitlab-org/ci-cd/runner-tools/grit/-/blob/master/README.md#api-and-guarantees.
Status update as of 2024-2-8:
The following work needs to be completed in order to support Dedicated Runners and move towards beta release of GRIT:
- https://gitlab.com/gitlab-org/ci-cd/runner-tools/grit/-/issues/43+s
- https://gitlab.com/gitlab-org/ci-cd/runner-tools/grit/-/issues/44+s
- https://gitlab.com/gitlab-org/ci-cd/runner-tools/grit/-/merge_requests/33+s
The first two of the above issues is in support of a pipeline to create AMIs for us in linux ephemeral machines and a GRIT module to make it simple to pull in the AMI automatically. The third is a patch MR from the dedicated team that is currently being used in their production environment and needs to be merged so we can release a patched version of GRIT.
epic