Notice: AWS CodeCommit is no longer actively developed and no longer accepts new customers. For new projects, AWS recommends migrating to AWS CodeCatalyst, GitHub, or GitLab. AWS recommends switching to an alternative for new projects.
What is AWS CodeCommit?
AWS CodeCommit is a managed Git repository service that provides secure and scalable source code management. The service is fully Git-compatible and integrates seamlessly with AWS IAM for authentication and authorization. CodeCommit eliminates the need to operate your own Git servers.
Key Features
- Full Git compatibility
- IAM-based access control
- Unlimited repositories without size limits
- Pull requests with code review
- Triggers and notifications via SNS and Lambda
Common Use Cases
Enterprise Source Control: Host repositories in your AWS environment with IAM authentication. Compliance requirements for data residency in specific regions are met.
CI/CD Integration: CodeCommit automatically triggers CodePipeline or CodeBuild on commits. Native integration eliminates additional webhook configuration.
Branch Policies: Protect branches with approval rules. Define how many approvals are required for merges to main or production.
Benefits
- No server management for Git repositories
- Native AWS integration with IAM and CI/CD
- Encryption at rest and in transit
- Scalable without size limits
Integration with innFactory
As an AWS Reseller, innFactory supports you with AWS CodeCommit: repository structuring, branch policies, migration from GitHub/GitLab, and CI/CD pipeline integration.
Typical Use Cases
Frequently Asked Questions
What does AWS CodeCommit cost?
The first 5 active users per month are free with 50 GB storage and 10,000 Git requests. Additional users cost $1 per month. Storage over 50 GB costs $0.06 per GB.
How do I authenticate to CodeCommit?
CodeCommit supports HTTPS with Git Credentials, SSH keys, or AWS CLI Credential Helper. IAM policies control access at repository level or branch level.
Can I migrate from GitHub to CodeCommit?
Yes, CodeCommit is Git-compatible. You can migrate existing repositories with git clone --mirror and git push --mirror. Branches and history are preserved.
Does CodeCommit support Pull Requests?
Yes, CodeCommit offers Pull Requests with code reviews, comments, and approval rules. Integration with SNS enables notifications for PR activities.