Day 50: Your CI/CD pipeline on AWS - Part-1 ๐ โ
What if I tell you, in the next 4 days, you'll be making a CI/CD pipeline on AWS with these tools?
CodeCommit
CodeBuild
CodeDeploy
CodePipeline
S3
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.
Navigate to the code commit section to aws:
Create the new repository to do code commit.
Navigate to the Iam section and create the user and group and give some of the permissions as given bellow.
You need to set up GitCredentials in your AWS IAM.
Create the file and give some description about it.
Now, you can view that some of the files have been created. Then copy the repository URL
Now take one server give them the ssh command and use the git clone command to clone the repository from the code commit.
Now, clone it from git clone by cloning you can see the files that are present.
Use those credentials in your local and then clone the repository from CodeCommit
Task-02 :
Add a new file from local and commit to your local branch
Create the new file in the server and check the status of it
add the file by git add . to move the file to the stagging area and do commit.
For committing you need to give the credentials of the username and password.
Then finally push it to the origin main.
Now, you can view the new file which we have made it.
Thanks for reading.
Happy Learning :)
Mohammed muqafamuddin.