Chrysolites Tech Academy

Video by freeCodeCamp.org · taught by Valentin Despa · streamed from YouTube. All rights remain with the creator.

Lesson 4: DevOps with GitLab CI: From Merge Request to AWS

About this lesson

This course by Valentin Despa teaches continuous integration and deployment using the pipelines built into GitLab, taking a project from its first pipeline all the way to automated releases on the AWS cloud. It is organised in five units with assignments along the way. The first unit introduces GitLab: creating a project, writing a first pipeline, finding out why a pipeline does not work, and the basics of YAML and the shell. It explains GitLab's architecture, stages, why jobs fail, saving files between jobs as artifacts, testing a build, using variables. The second unit covers continuous integration, building a real website project and showing how changes are integrated safely through merge requests, code review and integration tests. The third unit moves to continuous deployment on AWS. You upload files to S3 storage with the command-line tools, learn to mask and protect secret variables, create a dedicated identity with limited permissions, and host a website on S3, then control when jobs run, test the live site after deployment, define environments such as staging and production, and reuse configuration. The fourth unit deploys a Dockerized application: writing a Dockerfile, building the image, storing it in a container registry, testing the container, authenticating with a private registry, and deploying to AWS Elastic Beanstalk. The course ends with a final assignment. Familiarity with Git is helpful. Afterwards, read Chapter 4 of the course book, which explains each part of such a pipeline.

Install Chrysolites Tech Academy

Android / Chrome / Edge: open the browser menu and choose Install app or Add to Home screen.

iPhone / iPad (Safari): tap the Share button, then Add to Home Screen.