From the course: AWS DevOps: Continuous Docker Deployment to AWS Fargate from GitLab

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Install the GitLab Runner

Install the GitLab Runner

From the course: AWS DevOps: Continuous Docker Deployment to AWS Fargate from GitLab

Start my 1-month free trial

Install the GitLab Runner

- [Instructor] We want GitLab to automatically build our Docker image each time we check in new code and to set up a build pipeline, GitLab needs to have at least one other server that is set up as a GitLab runner. This is a dedicated machine that'll run all the build commands that won't drain the resources of our main GitLab instance. In GitLab, click on the wrench icon to enter the admin area. Under the Overview sub menu, click on Runners. This is where our GitLab runners are managed from but we don't have any yet. Note the token listed here for the runners. Copy this down because you'll need this later when we start the runner. Click on the Install GitLab Runner link which will take you to the GitLab docs. There's a few ways to install the runner but we're going to be using the instructions that are listed under Install on Linux. So, let's walk through this together. From within the AWS console, click on Services and type EC2 and go to the EC2 dashboard. Click on instances and…

Contents