You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cloud9-development/readme.adoc
+16-14Lines changed: 16 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,9 @@
6
6
7
7
This tutorial will walk you through the process of creating a Kubernetes development environment using https://aws.amazon.com/cloud9/[AWS Cloud9]. This will provide you with a cloud-based integrated development environment (IDE) that will let you write, run and debug containerized workloads with just a web browser.
8
8
9
-
=== Create Cloud9 Environment
10
-
==== Option 1: Cloud9 Console
11
-
1. Log into the Cloud9 Console by visiting https://console.aws.amazon.com/cloud9/home/create
9
+
=== Create AWS Cloud9 Environment
10
+
==== Option 1: AWS Cloud9 Console
11
+
1. Log into the AWS Cloud9 Console by visiting https://console.aws.amazon.com/cloud9/home/create
12
12
13
13
2. Provide a name for your environment. Feel free to use something simple, such as `kubernetes-developmet`. Then click "Next Step".
14
14
@@ -29,27 +29,29 @@ Your environment is now ready to be setup for working with Kubernetes and the re
29
29
30
30
=== Setup Environment
31
31
32
-
Your Cloud9 environment comes with many useful tools preinstalled, but there are still a few tweaks to these and additional tools you will need to support working with Kubernetes.
32
+
Your AWS Cloud9 environment comes with many useful tools preinstalled, but there are still a few tweaks to these and additional tools you will need to support working with Kubernetes.
33
33
34
34
==== Configure the AWS CLI
35
35
36
-
Your Cloud9 environment comes with the AWS CLI preinstalled and configured to automatically use the credentials of the currently logged in user. **It is not recommended that you change this.** Instead, it is recommended that the logged in user's account is provided the permissions needed to make the required calls for the rest of this workshop.
36
+
Your AWS Cloud9 environment comes with the AWS CLI preinstalled and configured to automatically use the credentials of the currently logged in user.
37
37
38
-
In the event that you want do not want to use the currently logged in user for these credentials, there are a couple options:
38
+
.Please Note
39
+
*********************
40
+
It is not recommended that you change the default AWS CLI config in your AWS Cloud9 environment. Instead, it is recommended that you provide the logged in user's account the permissions needed to make the required for your project. More information on this can be found by visiting: https://docs.aws.amazon.com/cloud9/latest/user-guide/credentials.html[Calling AWS Services from an Environment in AWS Cloud9]
41
+
*********************
39
42
40
-
1. Instance Profile: You can create an Instance Role with the proper permissions and add that role to the ec2 instance hosting your environment
41
-
2. Use the AWC Configure command or environmental variables to permanently store credentials for the AWS CLI.
43
+
For the sake of this workshop, we are going to configure the AWS CLI on your AWS Cloud9 environment using the AWS Configure command. For this, use the same credentials you created in the "Create admin user and group" section of the https://github.com/aws-samples/aws-workshop-for-kubernetes/blob/master/prereqs.adoc[Prerequesites] page.
42
44
43
-
For instructions on these two options, visit https://docs.aws.amazon.com/cloud9/latest/user-guide/credentials.html[Calling AWS Services from an Environment in AWS Cloud9].
45
+
$ aws configure
46
+
AWS Access Key ID [None]: *****
47
+
AWS Secret Access Key [None]: *****
48
+
Default region name [None]: eu-central-1
49
+
Default output format [None]:
44
50
45
-
Regardless of your option above, this workshop is designed to be run from the Ireland region (`eu-central-1`). As such, you will need to to ensure any calls made through the CLI specify the Ireland region and not the default region for your Cloud9 environment (which will likely be us-west-2 or us-east-1). To do this, you can:
46
-
47
-
* Include the `--region=eu-central-1` option in any of the workshops requests.
48
-
* Temporarily override the CLI's default region using the following environmental variable: `export AWS_DEFAULT_REGION=eu-central-1`. Please note that this will only persist for the duration of your session.
49
51
50
52
==== Verify Docker Version
51
53
52
-
Docker is presinstalled. You can verify the version by running the following:
54
+
Docker is preinstalled. You can verify the version by running the following:
0 commit comments