|
1 | 1 | # Coder OSS on GKE with Terraform in <20 minutes
|
2 | 2 |
|
3 |
| -From Repo |
4 |
| - |
5 |
| -<img src="images/repo.png" width="300"> |
6 |
| - |
7 |
| -To fully remote VS code in <20 minutes. Let's go! |
| 3 | +The purpose of this repo is to demonstrate how remote development environments work using Coder's OSS product. This repo should not be used for production use cases, but simply a proof-of-concept for what coding-in-a-browser feels like using Coder. |
8 | 4 |
|
9 | 5 | <img src="images/vscode.png" width="300">
|
10 | 6 |
|
11 |
| -The purpose of this repo is to get you exploring how Coder works in the quickest time possible. This repo assumes you have full access to the underlying account / project, and it is a very good fit for using your personal email address. The idea is for you to check out what a fully remote dev environment looks/feels like, before committing to a deeper investigation. |
12 |
| - |
13 |
| -## Getting Coder Installed |
| 7 | +## Getting Coder Installed (10 minutes) |
14 | 8 |
|
15 | 9 | 1. Create a [Google Cloud Account](https://cloud.google.com/), [a project](https://console.cloud.google.com/projectcreate), and [a service account](https://console.cloud.google.com/iam-admin/serviceaccounts/create) in that project with [editor](https://cloud.google.com/iam/docs/understanding-roles#basic) permissions.
|
16 | 10 | 2. Fork this repo and set it up with [spacelift.io](https://spacelift.io/) or equivalent
|
17 | 11 | 3. Set [GOOGLE_CREDENTIALS](https://registry.terraform.io/providers/hashicorp/google/latest/docs/guides/provider_reference#using-terraform-cloud) and TF_VAR_project with the project id from above
|
18 | 12 | 4. Run and apply the Terraform.
|
19 |
| -5. Head to the Google Cloud Console / Kubernetes Engine / Service & Ingress |
20 |
| -6. Copy the URL from the Coder external load balancer (http://<ip_address>) |
21 |
| -7. Go back to Spacelift and set TF_VAR_coder_access_url to this URL |
22 | 13 |
|
23 | 14 | The entire setup should take you less than 30 minutes, though if you are new to Google Cloud or Spacelift, it might take you a little bit longer.
|
24 | 15 |
|
25 |
| -## Coder setup Instructions: |
| 16 | +## Coder setup Instructions (5 minutes) |
26 | 17 |
|
27 | 18 | 1. Navigate to the IP address of the load balancer (Google Cloud / Kubernetes Engine / Services & Ingress.
|
28 | 19 | 2. Create the initial username and password.
|
|
0 commit comments