Pair Programming with AWS Cloud9

30 minutes
  • 5 Learning Objectives

About this Hands-on Lab

You have just finished your coding updates for this sprint and need to have your code peer reviewed. In this hands-on lab, we will simulate a second developer being given read/write access to our project. We will leverage AWS Cloud9 to review and collaborate during the code review.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Deploy an AWS Cloud9 Environment and Clone Repo
  1. Navigate to AWS Cloud9.
  2. Click Create environment.
  3. Name your AWS Cloud9 environment and click Next step.
  4. Accept the defaults and click Next step.
  5. Review your configuration and create environment.
  6. Open the AWS Cloud9 IDE.
  7. Select your personal preferences for your AWS Cloud9 IDE.
  8. From the console, run: git clone https://github.com/linuxacademy/content-aws-developertools.
Create an IAM User
  1. Navigate to AWS IAM (Identity and Access Management).
  2. From the left-hand menu, select Users.
  3. Click Add user.
  4. Name user, select AWS Management Console access, select Custom password and enter a password, un-select Require password reset.
  5. Click Next: Permissions.
  6. Click Attach existing policies directly.
  7. Select AdministratorAccess.
  8. Click Next: Tags and enter tags (optional).
  9. Click Next: Review.
  10. Review configuration and click Create user.
Invite User
  1. Navigate to AWS Cloud9 and click Open IDE (on your newly create AWS Cloud9 instance).
  2. In the upper right corner, click Share.
  3. Enter the IAM username you just created, select Read or Read/Write permissions, and invite user.
Connect to AWS Cloud9 with Second IAM User
  1. In an incognito session or different browser, log in second IAM user. (You cannot have two different IAM users logged in to the AWS Console at the same time. In our example in the video, we are using Google Chrome for cloud_user and Firefox for cloud_user2.)
  2. Navigate to AWS Cloud9.
  3. On the left-hand menu, select Shared with me.
  4. Open the AWS Cloud9 environment your cloud_user shared with cloud_user2.
Review the Benefits of AWS Cloud9 Through Pair Programming
  1. Ensure both cloud_user and cloud_user2 are connected to the same AWS Cloud9 environment.
  2. Explore cursor input tracking and highlighting in each other’s AWS Cloud9 IDE.
  3. Explore the group chat by selecting Collaborate on the right menu and typing messages to one another.

Additional Resources

Log in to the live AWS environment using the credentials provided.

Make sure you're in the N. Virginia (us-east-1) region throughout the lab.

In this lab, we will use a GitHub repository located here: https://github.com/linuxacademy/content-aws-developertools

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!