Setup GitLab Runners on AWS CodeBuild: A Step-by-Step Guide
In this video, Johannes and Raphael explore how to set up GitLab runners on AWS CodeBuild, following a recent announcement of its availability. They start by connecting GitLab with AWS, manually setting it up, and reviewing the associated documentation. They discuss prerequisite steps, such as setting up GitLab and AWS accounts, and creating a CodeBuild project linked to GitLab CI/CD jobs. The video covers specifics like setting up webhooks, configuring the build projects, and exploring role assumptions and permissions in AWS. Moreover, it compares the costs between using GitLab's host runners versus AWS hosted runners, showing significant potential cost savings using AWS. Additional insights include overcoming setup challenges, analyzing documentation, and the scope for automation in using AWS-hosted runners as a cost-effective alternative to GitLab's options.
00:00 Introduction and Welcome
00:26 Setting Up GitLab Runners on CodeBuild
01:18 Connecting GitLab with AWS
04:24 Creating a GitLab Project
06:10 Configuring CodeBuild Project
12:17 Setting Up Webhooks and CI/CD
16:16 Troubleshooting GitLab Setup
17:08 Solving CAPTCHA Challenges
18:26 Pipeline Issues and Solutions
20:53 Exploring AWS Console Logs
26:33 Pricing Comparison: GitLab vs. CodeBuild
30:33 Final Thoughts and Farewell
https://aws.amazon.com/about-aws/whats-new/2024/09/aws-codebuild-managed-gitlab-runners
https://docs.aws.amazon.com/codebuild/latest/userguide/gitlab-runner.html
https://docs.gitlab.com/runner/