AWS DevOps: Continuous Docker Deployment to AWS Fargate from GitLab
Overview
Learn how to create an automated, continuous DevOps pipeline for container-based applications using AWS Fargate and GitLab.
Fargate makes it easy to host and scale your Docker containers on AWS; GitLab can quickly deploy your containers to Fargate so you can release early and often. Learn how to combine these two tools into an automated, continuous DevOps pipeline that makes deploying and scaling your container-based applications a quick and easy endeavor. Instructor Jeremy âJVâ Villeneuve first shows how to install and configure GitLab using the official Docker image, and maintain GitLab through regular automated backups and upgrades. Then he explains how to create ECS clusters to run containers on Fargate via the ECS Fargate command-line interface (CLI). Finally, learn how to script deployment of new containers from GitLab to Fargate and test your setup to ensure everything works as planned.
Fargate makes it easy to host and scale your Docker containers on AWS; GitLab can quickly deploy your containers to Fargate so you can release early and often. Learn how to combine these two tools into an automated, continuous DevOps pipeline that makes deploying and scaling your container-based applications a quick and easy endeavor. Instructor Jeremy âJVâ Villeneuve first shows how to install and configure GitLab using the official Docker image, and maintain GitLab through regular automated backups and upgrades. Then he explains how to create ECS clusters to run containers on Fargate via the ECS Fargate command-line interface (CLI). Finally, learn how to script deployment of new containers from GitLab to Fargate and test your setup to ensure everything works as planned.
Syllabus
Introduction
- DevOps for Fargate and GitLab
- What you should know
- Course outline
- Gitlab server requirement
- Installing Docker
- Change the SSH Port
- Using a custom domain with GitLab
- Running GitLab in Docker
- Configure GitLab
- GitLab first time setup
- Pushing a container to the registry
- Monitoring GitLab
- GitLab backups
- Upgrading GitLab
- ECS launch types: Fargate vs. EC2
- Creating a Fargate cluster from the CLI
- Creating a Fargate task with the CLI
- Permissions for ECS to access the secret
- Creating a Fargate service with the CLI
- Install the GitLab Runner
- Create a deployment pipeline for Fargate
- Testing the pipeline
- Next steps
Taught by
Jeremy Villeneuve