Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update creating a workspace to set IMDSv2 to optional on instance #134

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions content/start_the_workshop/workspace.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ and **lower work area**, and opening a new **terminal** tab in the main work are
- If you like this theme, you can choose it yourself by selecting **View / Themes / Solarized / Solarized Dark**
in the Cloud9 workspace menu.

### Create the IAM Role and attach it to the Cloud9 instance
### Create the IAM Role, attach it to the Cloud9 instance, and modify metadata options

- Follow [this deep 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)
- Confirm that **AWS service** and **EC2** are selected, then click **Next** to view permissions.
Expand All @@ -55,7 +55,10 @@ in the Cloud9 workspace menu.
![c9instancerole](/images/c9instancerole.png)
- Choose **ecsworkshop-admin** from the **IAM Role** drop down, and select **Save**
![c9attachrole](/images/c9attachrole.png)

- Modify the metadata options by selecting **Actions / Instance settings / Modify instance metadata options**
![c9instancemetadataoptions](/images/c9instancemetadataoptions.png)
- Under IMDSv2 select optional and **save**
![c9imsdv2optional](/images/c9imsdv2optional.png)
- Return to your workspace terminal and perform the next steps

Install jq, as we will use this quite a bit throughout the workshop when interacting with json outputs.
Expand Down
Binary file modified static/images/c9attachrole.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/c9imsdv2optional.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/c9instancemetadataoptions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/images/c9instancerole.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.