BlogsGitLabAWS CodeStar Connections Integration

AWS CodeStar Connections Integration

AWS CodeStar Connections Integration

3
posts
2023–2024

GitLab has integrated with AWS CodeStar Connections, enabling native integration with various AWS services like CodePipeline, CodeBuild, SageMaker MLOps Projects, and CodeDeploy. This integration acts as a utility layer, simplifying the process for other AWS services to connect with GitLab. This enhances the experience for co-customers using both GitLab and AWS together. This post introduces OIDC modules for secure authentication between GitLab CI and Google Cloud, leveraging Terraform and CI te

2024

GitLab is now available as an AWS CodeStar Connections provider

1/11/2024

This post announces the completion of the integration between GitLab.com SaaS, GitLab Self-Managed, and GitLab Dedicated with AWS CodeStar Connections. It details how CodeStar Connections objects can be used to integrate with AWS services such as CodePipeline, Amazon CodeWhisperer Customization Capability, AWS Service Catalog, and AWS Glue. It also lists the AWS services supported when configuring a GitLab CodePipeline configuration, including AWS CodeBuild, Amazon SageMaker MLOps Projects, and AWS CodeDeploy. The post provides links to documentation for setting up these integrations.

2023

OIDC simplifies GitLab CI/CD authentication with Google Cloud

6/28/2023

Introduced OIDC modules for secure authentication between GitLab CI and Google Cloud. This includes a Terraform module for configuring Google Cloud Workload Identity pools and providers, and a CI template for GitLab CI to facilitate the integration. The solution eliminates the need for static service account keys, reducing the risk of compromise and improving auditability by tying authentication to specific CI jobs.

How to deploy a React application to Amazon S3 using GitLab CI/CD

3/1/2023

This post details the technical steps for deploying a React application to Amazon S3 using GitLab CI/CD. It covers configuring an S3 bucket for static website hosting, setting up public access, manually uploading a built React application, and configuring OpenID Connect (OIDC) in AWS for secure authentication between GitLab and AWS. The post provides specific instructions for creating an IAM OIDC identity provider, a permissions policy for S3 access, and an IAM role. It also outlines the necessary CI/CD variables (`ROLE_ARN`, `S3_BUCKET`, `ID_TOKEN`) and the `.gitlab-ci.yml` configuration to assume the role and deploy the application using AWS CLI commands.