Integrate with AWS
Learn how to integrate GitLab and AWS.
This content is intended for GitLab team members as well as members of the wider community.
This page attempts to index the ways in which GitLab can integrate with AWS. It does so whether the integration is the result of configuring general functionality, was built in to AWS or GitLab or is provided as a solution.
Text Tag | Configuration / Built / Solution | Support/Maintenance |
---|---|---|
[AWS Configuration]
| Integration via Configuring Existing AWS Functionality | AWS |
[GitLab Configuration]
| Integration via Configuring Existing GitLab Functionality | GitLab |
[AWS Built]
| Built into AWS by Product Team to Address AWS Integration | AWS |
[GitLab Built]
| Built into GitLab by Product Team to Address AWS Integration | GitLab |
[AWS Solution]
| Built as Solution Example by AWS or AWS Partners | Community/Example |
[GitLab Solution]
| Built as Solution Example by GitLab or GitLab Partners | Community/Example |
[CI Solution]
| Built, at least in part, using GitLab CI and therefore more customer customizable. | Items tagged [CI Solution will] also carry one of the other tags that indicates the maintenance status. |
Integrations For Development Activities
SCM Integrations
-
AWS CodeStar Connections - enables SCM connections to multiple AWS Services. Currently for GitLab.com SaaS only. Configure GitLab. Supported Providers. Supported AWS Services - each one may have to make updates to support GitLab, so here is the subset that currently support GitLab
[AWS Built]
-
AWS CodePipeline Integration - use GitLab as source for CodePipeline.
[AWS Built]
-
AWS CodeBuild Integration - indirectly through CodePipeline support.
[AWS Built]
-
Amazon CodeWhisperer Customization Capability can connect to a GitLab repo.
[AWS Built]
-
AWS Service Catalog directly inherits CodeStar Connections, there is not any specific documentation about GitLab since it just uses any GitLab CodeStar Connection that has been created in the account.
[AWS Built]
-
AWS Proton directly inherits CodeStar Connections, there is not any specific documentation about GitLab since it just uses any GitLab CodeStar Connection that has been created in the account.
[AWS Built]
-
AWS Glue Notebook Jobs directly inherit CodeStar Connections, there is not any specific documentation about GitLab since it just uses any GitLab CodeStar Connection that has been created in the account.
[AWS Built]
-
Amazon SageMaker MLOps Projects are done in CodePipeline and so directly inherit CodeStar Connections (as noted here), there is not any specific documentation about GitLab since it just uses any GitLab CodeStar Connection that has been created in the account.
[AWS Built]
-
Amazon SageMaker Notebooks allow Git repositories to be specified by the Git clone URL and configuration of a secret - so GitLab is configurable.
[AWS Configuration]
-
AWS CloudFormation publishing of public extensions - not yet supported.
[AWS Built]
-
Amazon CodeGuru Reviewer Repositories - not yet supported.
[AWS Built]
-
AWS CodePipeline Integration - use GitLab as source for CodePipeline.
-
GitLab Push Mirroring to CodeCommit Workaround enables GitLab repositories to leverage CodePipeline SCM Triggers. GitLab can already leverage S3 and Container Triggers for CodePipeline. Still required for Self-Managed and Dedicated for the time being.
[GitLab Configuration]
CI Integrations
-
Direct CI Integrations That Use Keys, IAM or OIDC/JWT to Authenticate to AWS Services from GitLab Runners
-
Amazon CodeGuru Reviewer CI workflows using GitLab CI - can be done, not yet documented.
[AWS Solution]
[CI Solution]
-
Amazon CodeGuru Secure Scanning using GitLab CI
[AWS Solution]
[CI Solution]
-
Amazon CodeGuru Reviewer CI workflows using GitLab CI - can be done, not yet documented.
CD and Operations Integrations
-
AWS CodeDeploy Integration - indirectly through CodePipeline support.
[AWS Built]
-
Integrate EKS clusters for application deployment.
[GitLab Built]
Solutions For Specific Development Frameworks and Ecosystems
Generally solutions demonstrate end-to-end capabilities for the development framework - leveraging all relevant integration techniques to show the art of maximum value for using GitLab and AWS together.
Serverless Development
-
Serverless Framework Deployment to AWS with GitLab Serverless SAST Scanning and Managed DevOps Environments - working example code and tutorials.
[GitLab Solution]
[CI Solution]
-
Tutorial: Serverless Framework Deployment to AWS with GitLab Serverless SAST Scanning
[GitLab Solution]
[CI Solution]
-
Tutorial: Secure Serverless Framework Development with GitLab Security Policy Approval Rules and Managed DevOps Environments
[GitLab Solution]
[CI Solution]
-
Tutorial: Serverless Framework Deployment to AWS with GitLab Serverless SAST Scanning
Infrastructure as Code
-
Terraform Deployment to AWS with GitLab MR Managed DevOps Environments
-
Tutorial: Terraform Deployment to AWS with GitLab IaC SAST Scanning
[GitLab Solution]
[CI Solution]
-
Terraform Deployment to AWS with GitLab Security Policy Approval Rules and Managed DevOps Environments
[GitLab Solution]
[CI Solution]
-
Tutorial: Terraform Deployment to AWS with GitLab IaC SAST Scanning
-
Tutorial: CloudFormation Deployment With GitLab MR Managed DevOps Environments
[GitLab Solution]
[CI Solution]
.Net on AWS
-
Working Example Code for Scaling .NET Framework 4.x Runners on AWS
[GitLab Solution]
[CI Solution]
-
Video Walkthrough of Code and Building a .NET Framework 4.x Project
[GitLab Solution]
[CI Solution]
Authentication Integration
-
Runner Job Authentication using Open ID & JWT Authentication.
[GitLab Built]
-
Configure OpenID Connect between GitLab and AWS
[GitLab Solution]
[CI Solution]
-
OIDC and Multi-Account Deployment with GitLab and ECS
[GitLab Solution]
[CI Solution]
-
Configure OpenID Connect between GitLab and AWS
GitLab Instance Compute & Operations Integration
- Installing GitLab Self-Managed on AWS
- GitLab Single EC2 Instance.
[GitLab Built]
- Using 5 Seat AWS marketplace subscription
- Using Prepared AMIs - Bring Your Own License for Enterprise Edition.
- GitLab Cloud Native Hybrid Scaled on AWS EKS and Paas.
[GitLab Built]
- Using GitLab Environment Toolkit (GET) -
[GitLab Solution]
- Using GitLab Environment Toolkit (GET) -
- GitLab Instance Scaled on AWS EC2 and PaaS.
[GitLab Built]
- Using GitLab Environment Toolkit (GET) -
[GitLab Solution]
- Using GitLab Environment Toolkit (GET) -
- GitLab Single EC2 Instance.
-
Amazon Managed Grafana for GitLab self-managed Prometheus metrics.
[AWS Built]
GitLab Runner on AWS Compute
-
Autoscaling GitLab Runner on AWS EC2.
[GitLab Built]
-
GitLab HA Scaling Runner Vending Machine for AWS EC2 ASG.
[GitLab Solution]
- Runner vending machine training resources.
-
GitLab EKS Fargate Runners.
[GitLab Solution]