CodeCommit
💡 Definition
AWS CodeCommit ids a fully managed source control service that hosts secure Git-based repositories. It makes it easy for teams to collaborate on code in a secure and highly scalable ecosystem.
🔑 Key Concepts
- Git-based: Standard Git commands work (git clone, git push, git pull).
- Secure: Encrypted at rest and in transit. Integrated with IAM for access control.
- Highly Available: Backed by S3 for high durability.
- Private: Hosts private repositories (no public repos like GitHub).
⚙️ How it Works
- Create Repository: Create a repo in the console or CLI.
- Clone: Clone the repo to your local machine using HTTPS (with Git credentials) or SSH.
- Commit & Push: Work on your code and push changes back to CodeCommit.
🎯 Use Cases
- Source Control: Storing application code, CloudFormation templates, and config files.
- Collaboration: Pull requests, branch management, and code reviews.
💰 Pricing Model
- Users: First 5 users are free. Additional users charged per month.
- Storage/Requests: Charges apply for storage and API requests beyond the free tier limits.
📝 Exam Tips (CLF-C02)
- "Managed Git repositories".
- "Secure and private".
- Alternative to GitHub or Bitbucket within AWS.
See Also: * CodeBuild * CodePipeline * CloudFormation