Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backend for GCP #1

Open
mariusae opened this issue Oct 1, 2019 · 3 comments
Open

Backend for GCP #1

mariusae opened this issue Oct 1, 2019 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@mariusae
Copy link
Collaborator

mariusae commented Oct 1, 2019

We should have a backend for GCP compute engine.

See package ec2system for inspiration.

@mariusae mariusae added the help wanted Extra attention is needed label Oct 1, 2019
@DazWilkin
Copy link

Took a very preliminary look at this today.

I'm likely to become distracted by my other projects quickly but I'd like to contribute something to this, even if only guideposts.

The code creates GCE VMs but that's about it. Once I get a feel for it, I'll refactor the code to cleanly separate bigmachine and Google functionality.

I'm struggling because I've not yet got a working local version to use as a guide (#4).

The flags mechanism in driver.go won't easily scale to supporting multiple backends and will need some work.

Hopefully providing a second implementation will help generalize the code too.

I continue to think that Kubernetes (#3) is a good backend model to consider.

@mariusae
Copy link
Collaborator Author

mariusae commented Oct 6, 2019

Very cool!

About the flag mechanism: yes, this is known. This is one of the reasons we use the config package in Bigslice. Note also that using the driver package is entirely optional; it's easy enough to configure and use Bigmachine in straightforward ways.

Bigmachine already has support for the aforementioned config package; so you can already (with the right imports), do things like:

var b *bigmachine.B
config.Must("bigmachine", &b)

to create bigmachine sessions using the user's configuration.

Bigslice has a tool that is intended to help the user configure the cloud provider (in AWS, this reduces to just creating a security group with the right network ACLs).

@DazWilkin
Copy link

This is at a point where it's functional:

https://github.com/DazWilkin/bigmachine/tree/compute-engine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants