AWS CodeCommit is a secure, highly scalable, managed source control service that hosts private Git repositories.
It makes it easy for teams to securely collaborate on code with contributions encrypted in transit and at rest.
CodeCommit eliminates the need for you to manage your own source control system or worry about scaling its infrastructure.
You can use CodeCommit to store anything from code to binaries.
It supports the standard functionality of Git, so it works seamlessly with your existing Git-based tools
Secure, scalable, and managed git source control
Supports standard git tools
Scalability, availability, and durability of Amazon S3
No repo size limit
Post-commit hooks to call out to Amazon SNS or AWS Lambda
CodeCommit stores your repositories in Amazon S3 and Amazon DynamoDB.
with up to 1,000 repositories by default, and no limits upon request.
You can migrate a Git repository to a CodeCommit repository in a number of ways: by cloning it, mirroring it, migrating all or just some of the branches, and so on.
You can also migrate local, unversioned content on your computer to CodeCommit.
Fully managed
CodeCommit eliminates the need to host, maintain, back up, and scale your own source control servers. The service automatically scales to meet the growing needs of your project.
Secure
CodeCommit automatically encrypts your files in transit and at rest.
CodeCommit is integrated with AWS Identity and Access Management (IAM), enabling you to customize user-specific access to your repositories.
High availability
CodeCommit has a highly scalable, redundant, and durable architecture. The service is designed to keep your repositories highly available and accessible.
Collaborate on code
CodeCommit helps you collaborate on code with teammates through pull requests, branching, and merging.
You can implement workflows that include code reviews and feedback by default, and control who can make changes to specific branches.
Faster development lifecycle
CodeCommit keeps your repositories close to your build, staging, and production environments in the AWS Cloud.
You can transfer incremental changes instead of the entire application.
This allows you to increase the speed and frequency of your development lifecycle.
Uses your existing tools
CodeCommit supports all Git commands and works with your existing Git tools.
Content
You can configure access to CodeCommit repositories for IAM users and groups in another AWS account.
This is often referred to as cross-account access.
Create a cross account role , give the role the privileges. Provide the role ARN to the developers.
Process
The administrator in AccountA signs in as an IAM user with the permissions required to create and manage repositories in CodeCommit and create roles in IAM.
The administrator in AccountB signs in as an IAM user with the permissions required to create and manage IAM users and groups, and to configure policies for users and groups.
The repository user in AccountB, to emulate the activities of a developer, signs in as an IAM user who is a member of the IAM group created to allow access to the CodeCommit repository in AccountA
HTTPS connections require either Git credentials, which IAM users can generate for themselves in IAM, or an AWS access key. Your repository users must configure in the credential helper included in the AWS CLI. But it is the only method available for root account or federated users.
The simplest way to set up connections to AWS CodeCommit repositories is to configure Git credentials for CodeCommit in the IAM console, and then use those credentials for HTTPS connections.
You can also use these same credentials with any third-party tool or individual development environment (IDE) that supports HTTPS authentication using a static user name and password.
Content