hands-on lab

Introduction to CodeCommit

Beginner
40m
8,581
4.5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Lab description

AWS CodeCommit is a fully-managed source control service that makes it easy for companies to host secure and highly scalable private Git repositories. CodeCommit eliminates the need to operate your own source control system or worry about scaling its infrastructure. You can use CodeCommit to securely store anything from source code to binaries, and it works seamlessly with your existing Git tools.

In this Lab, you will go through the basic usage of this service, creating, accessing, and managing a repository. You will use the Git command-line application on a Linux host to add a file to your repository.

Learning Objectives

At the end of this Lab, you will be able to:

  • Create a repository
  • Access a repository using the Git command-line interface
  • Add files to a repository using the Git command-line interface

Intended Audience

This lab is intended for:

  • Developers
  • Cloud Engineers

Prerequisites

This is a beginner level Lab, you should be familiar with:

  • The concept of source control

Familiarity with Git will be helpful but is not required. 

Updates

January 19th, 2023 - Resolved permissions issue

September 14th, 2022 - Updated the instructions and screenshots to reflect the latest UI

December 12th, 2020 - Updated screenshots in the EC2 instance connect step to reflect UI changes

April 27th, 2020 - Added instructions to use the EC2 Instance Connect shell. Added a validation Lab Step. All instructions and screenshots updated.

January 10th, 2019 - Added a validation Lab Step to check the work you perform in the Lab

Environment before
Environment after
About the author
Avatar
Andrew Burchill
Labs Developer
Students
65,999
Labs
162
Courses
2
Learning paths
4

Andrew is a Labs Developer with previous experience in the Internet Service Provider, Audio Streaming, and CryptoCurrency industries. He has also been a DevOps Engineer and enjoys working with CI/CD and Kubernetes.

He holds multiple AWS certifications including Solutions Architect Associate and Professional.

Covered topics
Lab steps
Logging In to the Amazon Web Services Console
Create a repository
Creating credentials to access your repository
Accessing a shell with Git available
Adding files to your repository
Pushing your commit to your remote repository