In this lab, you will learn how to create a code repository in AWS CodeCommit. Then you create a local repository using git on a Linux instance running in EC2, add files to it, and commit changes to the AWS CodeCommit repository.
Level
Fundamental
Duration
1 Hours 0 MinutesCourse Objectives
In this course, you will learn how to:
- Create a code repository using AWS CodeCommit via the Amazon Management Console
- Create a local code repository on the Linux instance using git
- Synchronize a local repository with an AWS CodeCommit repository
Intended Audience
This course is intended for:
- Architects
- Developers
Prerequisites
We recommend that attendees of this course have the following prerequisites:
- Some development experience and understand the principles of source code repositories
- Some prior development experience
- Comfortable with making SSH connections to instances running in Amazon EC2
- Comfortable using Linux commands and editors from the command line in Linux
- Taken at a minimum *Introduction to Amazon Elastic Compute Cloud (EC2)* prior to taking this lab
Course Outline
- Task 1: Create an AWS CodeCommit repository
- Task 2: Connect to the Amazon EC2 instance
- Task 3: Create a local repository using Git
- Task 4: Making a code change and first commit to the repo
- Task 5: Push your first commit