Day 50: Your CI/CD pipeline on AWS - Part-1

What is CodeCommit ?
AWS CodeCommit is a fully managed source control service provided by Amazon Web Services (AWS) that securely hosts private Git repositories. It is designed to facilitate collaborative software development by providing a central, highly scalable, and secure place to store and manage code and other assets.
Key features and benefits of AWS CodeCommit include:
Managed Service:
It eliminates the need for users to provision, scale, or maintain their own source control systems, reducing operational overhead.
Private Git Repositories:
It provides a secure environment for hosting private Git repositories, ensuring code privacy and controlled access.
Collaboration Features:
CodeCommit supports standard Git functionalities like branching, merging, and pull requests, enabling teams to collaborate effectively on code development, reviews, and feedback.
Security:
Repositories are encrypted at rest using AWS Key Management Service (AWS KMS), and data transfer is secured via HTTPS or SSH. AWS Identity and Access Management (IAM) allows for granular control over user permissions and access.
Scalability:
It automatically scales to accommodate growing projects and increasing numbers of repositories and users.
Integration with Existing Git Tools:
CodeCommit is compatible with standard Git tools and clients, allowing developers to continue using their preferred development environments and workflows.
Integration with AWS Services:
It integrates with other AWS services like AWS Lambda, Amazon CloudWatch, and AWS CloudTrail for enhanced automation, monitoring, and auditing capabilities.
Task-01 :
Set up a code repository on CodeCommit and clone it on your local.
You need to setup GitCredentials in your AWS IAM.
Use those credentials in your local and then clone the repository from CodeCommit
In order to be able to use code commit, I had add policy to be able to access Code Commit. Once the policy was added, I went to the user created for using code commit and generated credentials to be able to access it from my local machine






Task-02 :
Add a new file from local and commit to your local branch
Push the local changes to CodeCommit repository.






