2.3.1. AWS CodeCommit for Source Control
First Principle: AWS CodeCommit provides a fully managed, secure, and scalable Git repository service for developers, simplifying code storage and collaboration within CI/CD pipelines.
CodeCommit hosts private Git repos managed by AWS ā you use standard Git commands, but access control is IAM-based instead of SSH keys or personal tokens.
For the exam, CodeCommit matters primarily as the Source Stage in CodePipeline. Push to a branch, and your CI/CD pipeline triggers automatically. It also supports SNS notifications and Lambda triggers on repository events, enabling custom workflows like Slack alerts on pull requests.
Most teams use GitHub or GitLab in practice. The exam expects you to know CodeCommit's role as the AWS-native option and how it wires into the CodePipeline ā CodeBuild ā CodeDeploy chain.
Scenario: You are part of a development team working on a new application. You need a secure and centralized place to store your application's source code, manage different versions, and collaborate with other developers.
ā ļø Exam Trap: AWS CodeCommit was deprecated for new customers in July 2024. Exam questions may still reference it, but newer questions may point to third-party Git services (GitHub, GitLab) integrated with CodePipeline instead.
