- Lab
- A Cloud Guru
Pair Programming with AWS Cloud9
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.
Path Info
Table of Contents
-
Challenge
Deploy an AWS Cloud9 Environment and Clone Repo
- Navigate to AWS Cloud9.
- Click Create environment.
- Name your AWS Cloud9 environment and click Next step.
- Accept the defaults and click Next step.
- Review your configuration and create environment.
- Open the AWS Cloud9 IDE.
- Select your personal preferences for your AWS Cloud9 IDE.
- From the console, run:
git clone https://github.com/linuxacademy/content-aws-developertools
.
-
Challenge
Create an IAM User
- Navigate to AWS IAM (Identity and Access Management).
- From the left-hand menu, select Users.
- Click Add user.
- Name user, select AWS Management Console access, select Custom password and enter a password, un-select Require password reset.
- Click Next: Permissions.
- Click Attach existing policies directly.
- Select AdministratorAccess.
- Click Next: Tags and enter tags (optional).
- Click Next: Review.
- Review configuration and click Create user.
-
Challenge
Invite User
- Navigate to AWS Cloud9 and click Open IDE (on your newly create AWS Cloud9 instance).
- In the upper right corner, click Share.
- Enter the IAM username you just created, select Read or Read/Write permissions, and invite user.
-
Challenge
Connect to AWS Cloud9 with Second IAM User
- 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 forcloud_user2
.) - Navigate to AWS Cloud9.
- On the left-hand menu, select Shared with me.
- Open the AWS Cloud9 environment your
cloud_user
shared withcloud_user2
.
- 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
-
Challenge
Review the Benefits of AWS Cloud9 Through Pair Programming
- Ensure both
cloud_user
andcloud_user2
are connected to the same AWS Cloud9 environment. - Explore cursor input tracking and highlighting in each other's AWS Cloud9 IDE.
- Explore the group chat by selecting Collaborate on the right menu and typing messages to one another.
- Ensure both
What's a lab?
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.