Create and clone CodeCommit Repository

Lab Details

  1. This lab walks you through the steps to create an AWS Codecommit repository. Clone the remote repository into your local, create files in your local repo and push the file into the remote repository.

  2. You will practice using Amazon Codecommit.

  3. Duration: 45 minutes

  4. AWS Region: US East (N. Virginia) us-east-1

Introduction

Amazon CodeCommit

  • AWS CodeCommit is a version control infrastructure service provided by AWS which is used to save your data such as documents, files and source code securely and privately in the cloud  i.e inhouse repository.

  • It is a managed service with standard functionality of GIT which also work seamlessly with existing GIT repositories.

  • It can store any type of code with any type of extensions securely with less restrictions.

  • The data which is stored in the AWS CodeCommit is encrypted so that it is highly secure and less vulnerable to external attacks.

  • It allows access control inorder to work in a collaborative environment.

  • It can be easily scaled.

  • It allows us to integrate the data with other third party tools.

Architecture Diagram

Prerequisites

  1. You need to download and install the git software on your local PC. You can download by clicking the below links accordingly based on your OS

Task Details

  1. Log into AWS management console

  2. Create an AWS Codecommit Repository.

  3. Download and install Git software into your local PC.

  4. Generate Https Git credentials for AWS Code Commit.

  5. Open GIT software and clone the contents of the remote repository to your local PC.

  6. Create a file in your local repository.  

  7. Now using git add, git commit and git push copy the file from local repository to remote repository.

  8. Validation of the lab

  9. Delete AWS Resources