https://github.com/botto/cloud-workspace
A simple and easy to use provisioner for setting up a cloud workspace
https://github.com/botto/cloud-workspace
Last synced: 2 months ago
JSON representation
A simple and easy to use provisioner for setting up a cloud workspace
- Host: GitHub
- URL: https://github.com/botto/cloud-workspace
- Owner: botto
- Created: 2016-01-30T17:34:41.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-15T18:01:50.000Z (over 10 years ago)
- Last Synced: 2025-03-04T22:19:09.780Z (over 1 year ago)
- Language: Ruby
- Size: 1.01 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cloud workspace
This is a basic provisioner with some utility scripts
Very early rough stage but....want to make it as easy as possible for someone to get a nix based workspace set up in the cloud
I have tested this with both google cloud and digital ocean, however I'm actively developing on google cloud, digital ocean sometimes takes 5-10 min before an instances spawns so quite annoying.
## Getting started
This will tell you the steps to get started with google cloud
What you need:
- Credentials file
- Project machine name
- Region name
Steps:
1. First register/sign in with google cloud https://cloud.google.com
2. Create a project
3. Click on my console
4. Click on burger to the left and chose API Manager
5. Create new key, select service account key
6. Just use the default compute engine account
7. Select json key type
8. Save the json file as `gc_crenditals.json` in the root of the project
9. The project name can be found in the url ?project=
10. For the region you can find a nice overview here https://cloud.google.com/compute/docs/zones#available
11. Create two files config.yml and terraform.tfvars, examples included
12. Fill out terraform.tfvars with the project, region and workspace name
13. Get a GH token to write the public key (https://github.com/settings/tokens)
14. Fill out the required fields in config.yml
15. Run `./run.sh`
This is too many steps, but for now it's going to be like this, eventually want to make this only 2-3 steps after registration