The purpose of the CloudFormation template is to create a Fargate Service that manages and autoscales EC2 instances to run Gitlab CI jobs. This allows for private GitLab Runners without managing, patching or maintaing servers.
VpcId
- Select a VPC that allows instances access to the InternetSubnetID
- Select subnets - Must be in the selected VPC!GitLabURL
- The Gitlab URL, change if self-hostedGitLabRegistrationToken
- The Gitlab runer registration tokenAdditionalRegisterParams
- Any additional parameters you want to pass togitlab-runner register
InstanceType
- The instance type of the runnersRootVolumeSize
-The size of the root volume on the runnersCacheExpirationInDays
- Select how long to store a jobs cache output in S3CPU
- Set the number of CPUs for the spawner (1 CPU = 1024)Memory
- Set the amount of RAM in KB for the spawnerDockerImage
- The default docker image if not provided in a gitlab-ci.yml file
- IAM User - Used to connect to S3
- IAM Roles for ECS
- S3 Bucket for runner cache
- ECS Cluster, Service & Task Definition
- CloudWatch Logs Groups that streams to logs for the spawner