Day 50: Your CI/CD pipeline on AWS -Part-1
What is CodeCommit ?
CodeCommit is a managed source control service by AWS that allows users to store, manage, and version their source code and artifacts securely and at scale. It supports Git, integrates with other AWS services, enables collaboration through branch and merge workflows, and provides audit logs and compliance reports to meet regulatory requirements and track changes. Overall, CodeCommit provides developers with a reliable and efficient way to manage their codebase and set up a CI/CD pipeline for their software development projects.
Task-01 :
Set up a code repository on CodeCommit and clone it on your local.
You need to setup Git Credentials in your AWS IAM.
Go to IAM console
Click on Users in the left-hand menu, and then click on your username.
Use those credentials in your local and then clone the repository from CodeCommit
Open a terminal on your local machine.
git clone <your-codecommit-repo-clone-https-url>
Task-02 :
Add a new file from local and commit to your local branch
Add the new file to your local branch using the following command:
git add <filename>
git commit -m "added new file"
git push origin master
You can see content of the file.
Thanks For Reading!!!