Skip to content

Commit cb79d1c

Browse files
committed
Change cloud9 setup automation
1 parent 1f0358c commit cb79d1c

File tree

4 files changed

+16
-45
lines changed

4 files changed

+16
-45
lines changed

content/02-aws-getting-started/04-start_cloud9.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,15 @@ AWS Cloud9 contains a collection of tools that let you code, build, run, test, d
1212
After accessing your IDE, take a moment to familiarize yourself with the Cloud9 environment. For more information, follow a [tutorial](https://docs.aws.amazon.com/cloud9/latest/user-guide/tutorial.html#tutorial-tour-ide) or even view [Introduction to AWS Cloud9](https://www.youtube.com/watch?v=JDHZOGMMkj8).
1313
{{% /notice %}}
1414

15-
#### Create Your Own AWS Cloud9 Instance {#section-2}
15+
#### Open Your Own AWS Cloud9 Instance {#section-2}
1616

1717
These steps apply to both individual users of this workshop and those in a group setting. To access your IDE, follow these steps:
1818

19-
1. In the AWS Management Console, locate **Cloud9** by using the search bar, or choose **Services**, then **Cloud9**.
19+
1. In the AWS Management Console, locate **Cloud9** by using the search bar, or choose **Services**, then **Cloud9**. [Cloud9 Link](https://console.aws.amazon.com/cloud9/home)
2020
![Cloud 9](/images/introductory-steps/cloud9-find.png)
21-
2. Choose **Create Environment**
22-
3. Name your environment **MyCloud9Env** and choose **Next Step**.
23-
![Cloud 9](/images/introductory-steps/cloud9-name.png)
24-
4. On the **Configure Settings** page, locate **Cost-saving setting** drop-down menu, and choose **After a day**. (Note: Your instructor may change other default selections.)
25-
![Cloud 9](/images/introductory-steps/cloud9-defaults.png)
26-
5. Choose **Next Step**.
27-
6. Choose **Create Environment**.
21+
2. Choose **Your Environments** on the left panel
22+
3. Choose **MyCloud9Env** and choose **Open IDE**.
2823

29-
Your AWS Cloud9 instance will be ready in a few minutes!
24+
A new tab will open with your AWS Cloud9 environment will be ready in a few minutes!
3025

3126
![Cloud9 Create](/images/introductory-steps/cloud9-create.png)

content/02-aws-getting-started/06-iam-role.md

Lines changed: 7 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,31 @@
11
+++
2-
title = "d. Attach Role to Cloud9 Instance"
2+
title = "d. Temporary credentials on Cloud9"
33
date = 2019-09-18T10:46:30-04:00
44
weight = 80
55
tags = ["tutorial", "install", "IAM"]
66
+++
77

8-
In this step, you will create an [IAM](https://aws.amazon.com/iam/) role with Administrator access and configure Cloud9 to use the IAM role for the rest of this lab.
8+
In this step, you will turn off the temporary credentials managed by Cloud9.
9+
You AWS Cloud9 instance has been created for this lab with the IAM role that allows your Cloud9 instance to access any services of your AWS account
910

1011
AWS Identity and Access Management (IAM) enables you to manage access to AWS services and resources securely.
1112
Using IAM, you can create and manage AWS users and groups, and use permissions to allow and deny their access to AWS resources.
1213

13-
By configuring Cloud9 to use the IAM role, you will allow your Cloud9 instance to access any services of your AWS account.
1414

15+
1. In Cloud9, choose the gear icon in top right corner to open a new tab and choose "Preferences” tab.
1516

16-
1. Follow [this link to create an IAM role with Administrator access](https://console.aws.amazon.com/iam/home#/roles$new?step=review&commonUseCase=EC2%2BEC2&selectedUseCase=EC2&policies=arn:aws:iam::aws:policy%2FAdministratorAccess).
17-
18-
2. Confirm that **AWS service** and **EC2** are selected, then click **Next: Permissions** to view permissions.
19-
20-
3. Confirm that **AdministratorAccess** is checked, then click **Next: Tags** to assign tags.
21-
22-
4. Take the defaults, and click **Next: Review** to review.
23-
24-
5. Enter **hpcworkshop-admin** for the Name, and click **Create role**.
25-
![Getting Started](/images/introductory-steps/iam-role-1.png)
26-
27-
6. Follow [this link to find your Cloud9 EC2 instance](https://console.aws.amazon.com/ec2/v2/home?#Instances:search=cloud9;sort=desc:launchTime).
28-
29-
7. Select the Cloud9 instance.
30-
8. For **Actions**, choose **Security**, select **Modify IAM Role**.
31-
32-
33-
![Getting Started](/images/introductory-steps/iam-role-2.png)
34-
35-
9. For **IAM Role**, choose **hpcworkshop-admin**.
36-
10. Choose **Save**.
37-
![Getting Started](/images/introductory-steps/iam-role-3.png)
38-
39-
11. In Cloud9, choose the gear icon in top right corner to open a new tab and choose "Preferences” tab.
40-
41-
12. In the Preferences tab, choose **AWS SETTINGS** to turn off **AWS managed temporary credentials**, then close the Preferences tab.
17+
2. In the Preferences tab, choose **AWS SETTINGS** to turn off **AWS managed temporary credentials**, then close the Preferences tab.
4218

4319
![Getting Started](/images/introductory-steps/cloud9-credentials.png)
4420

45-
13. Identify the AWS region with the following commands:
21+
3. Identify the AWS region with the following commands in the Cloud9 terminal:
4622

4723
```bash
4824
export AWS_REGION=$(curl --silent http://169.254.169.254/latest/meta-data/placement/region)
4925
echo $AWS_REGION
5026
```
5127

52-
14. Configure the AWS CLI to use this AWS region:
28+
4. Configure the AWS CLI to use this AWS region:
5329

5430
```bash
5531
aws configure set default.region ${AWS_REGION}

content/02-aws-getting-started/99-summary.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ tags = ["tutorial", "summary"]
77
During this workshop, you learned how to build a basic infrastructure in the AWS Cloud. Specifically, you learned how to:
88

99
- Access and use the AWS Management Console
10-
- Create an AWS Cloud9 Environment
11-
- Attach an IAM role to an AWS Cloud9 Instance
10+
- Open an AWS Cloud9 Environment
11+
- Install AWS CLI v2 on AWS Cloud9 Instance
1212

1313
In the next section, you learn how to build an HPC cluster using AWS ParallelCluster. Let's get started.
1414

content/02-aws-getting-started/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This workshop walks you through setting up your own HPC workloads. You learn how
1010
Specifically, you learn how to:
1111

1212
- Sign in to the AWS Management Console and explore it.
13-
- Create AWS Cloud9, a cloud based IDE, this is your portal to the AWS Command Line Interface (AWS CLI).
14-
- Attach an IAM role to an AWS Cloud9 Instance
13+
- Open AWS Cloud9, a cloud based IDE, this is your portal to the AWS Command Line Interface (AWS CLI).
14+
- Install AWS CLI v2 on AWS Cloud9 Instance
1515

1616
<!-- Total cost to run this lab is expected to be less than **two dollars should you run it on your own or company account** if the guide is followed as discussed, in one sitting, and including the deletion of all resources outlined through the guide. -->

0 commit comments

Comments
 (0)