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
+77-77Lines changed: 77 additions & 77 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,99 +87,99 @@ At this point, you should have everything you need to complete any of the sectio
87
87
88
88
=== Automated Deployment using CloudFormation
89
89
90
-
You can also use a CloudFormation template to create the Kubernetes Development Environment. These templates will create the Cloud9 IDE with IAM Role as well as the kops state store bucket.
90
+
You can also use CloudFormation templates to create the Cloud9 development environment. The template will create the Cloud9 IDE, IAM Role required for kops and S3 bucket for kops state store.
91
91
92
-
To launch the template in your account, you will need to download one of the following:
92
+
|===
93
93
94
-
* To use an existing Subnet, download link:templates/lab-ide-novpc.template[lab-ide-novpc.template]
95
-
* To use a new VPC/Subnet, download link:templates/lab-ide-vpc.template[lab-ide-vpc.template]
94
+
|Region | Launch template with new VPC | Launch template with existing VPC
7. Under **Capabilities**, acknowledge that CloudFormation will create IAM resources, and click **Create**.
127
+
|===
112
128
113
-
8. Wait until the stack you just launched has a status of `CREATE_COMPLETE` (you may need to refresh), then check the box next to the new stack and select the **Outputs** tab. This will show the URL to the Cloud9 IDE (`LabIdeUrl`). Click the URL to go into your IDE.
129
+
To open Cloud9 IDE environment, click on Output tab in CloudFormation Console and open Cloud9 URL
114
130
115
-
9. Download the build script: link:scripts/lab-ide-build.sh[lab-ide-build.sh].
Once your Cloud9 is ready, download the build script and install in your IDE. This will prepare your IDE for running tutorials in this workshop. The build script will install the following,
178
137
179
-
Launch the IDE by copying the URL into your browser.
138
+
- jq
139
+
- kubectl
140
+
- kops
141
+
- configures AWS CLI and stores variables in bash_profile (for ex: AWS_AVAILABILITY_ZONES, KOPS_STATE_STORE etc)
142
+
- creates an SSH key
143
+
- clone's workshop repository into Cloud9
180
144
181
-
Download the build script: link:scripts/lab-ide-build.sh[lab-ide-build.sh].
145
+
Run these commands in your Cloud9 IDE
182
146
183
-
Copy the contents of the build script and paste into the *Terminal* window in the IDE (near the bottom).
At this point, you should have everything you need to complete any of the section of the this workshop using your Cloud9 Environment.
151
+
One last step is required so that Cloud9 IDE uses assigned IAM Instance profile. Open Cloud9 preferences and go to AWS Settings to disable AWS managed temporary credential as depicted in the diagram
152
+
153
+
image:cloud9-disable-temp-credentials.png[]
154
+
155
+
156
+
Go to this link link:../cluster-install[to create Kubernetes cluster using kops]
157
+
158
+
159
+
=== Workshop cleanup
160
+
161
+
==== Delete kubernetes cluster resources
162
+
163
+
In your Cloud9 IDE, check if there are any running kubernetes cluster
0 commit comments