Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 5 hours ago
JSON representation

A simple and easy to use provisioner for setting up a cloud workspace

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