DEV Community

Srinivasulu Paranduru for AWS Community Builders

Posted on • Edited on

AWS Code Commit & Demos

AWS CodeCommit : Securely host highly scalable private Git repositories and collaborate on code

  • 5 Active Users with AWS Free Tier

Image description

Use Cases :

  • Collaborate on code
  • Use your existing tools
  • Receive notifications and custom scripts - Use Amazon Simple Notification Service (SNS) notifications for events impacting your repositories
  • Create up to 5000 repositories by default - Can generate upto 25000 additional repositories by request

Reference : Code commit user guide

I.Step by Step approach for creating code commit repository
Step1: Search for codecommit service
Step2 : Click on Create Repository

Image description

Step3: Entered the mandatory fields as required for creating repository and then click on create

Image description

Image description

Step4: Click on Add File and add relevant files to the repository then click on commit

Image description

Image description

Step5 : Can able to see the files added to the repository

Image description

Step6: If we wanted to have notifications for the repository you have created then click on create notification rule

Image description

Step7: Click on Create target

Image description

Image description

After enabling SNS notification then next screen looks like

Image description

Step8(optional) : If you wanted to change the repo name, click on the repository name and click on settings in the left side menus as per picture below and click on save

Image description

II.Step by Step approach for accessing code commit repository

Step1: Select the IAM user then click on security credentials tab

Image description

Step2 : Drag down in security credentials tab and then click on Generate Credentials

Image description

Step3: Copy and download the credentials, if we dont download we cant able to see the credentials later

Image description

Image description

Image description

Step 4: create a text file - helloworld.txt and commit using git commands

Image description

Step5: Check the changes in AWS Console -> codecommit-> select the repository where changes has been pushed.

Image description

Conclusion : Discussed about AWS Codecommit and step by step approach of using the service

💬 If you enjoyed reading this blog post and found it informative, please take a moment to share your thoughts by leaving a review and liking it 😀 and share this blog with ur friends and follow me in linkedin

Top comments (0)