GithubHelp home page GithubHelp logo

Removing a Hub - questions about hub-ops HOT 3 CLOSED

earthlab avatar earthlab commented on August 13, 2024
Removing a Hub - questions

from hub-ops.

Comments (3)

betatim avatar betatim commented on August 13, 2024

(1) I think this is the state we have for WSHUB now. To reactivate it you need to do #67 in reverse and then it should be back in action. When you are done you need to follow the "remove a hub" instructions again. After that it costs no money anymore and can be brought back to life quickly.

(2) I think for July the bill is ~$200. Did some tuning of resources in #76 with the goal of getting to $100 per month for the "no one is using anything but hubs are ready for users to login". How low we can get this number will depend a bit on how many hubs we want to be "at the ready" (ie people can just login to them) and what we think is an acceptable experience for the first person to login. If we make the "core" as cheap as possible then the first user that logs in each morning will have to wait ~8-10minutes for a new VM to startup. Or we spend a bit more so that one person can login without having to wait (which probably covers a large number of use cases). Or we spend even more so that N people can login without having to wait. "Less waiting on login" -> more $$

(3) you can install kubectl, helm and gcloud on your laptop or use the terminal in console.cloud.google.com. Up to you. There is https://earthlab-hub-ops.readthedocs.io/en/latest/tooling.html which gives some pointers on how to install them on your laptop.

from hub-ops.

betatim avatar betatim commented on August 13, 2024

(2) again: I expect that as we gain experience with students around we can get more adventurous in squeezing the bill. I'd start with something which is on the generous side, observe the actual usage patterns for a week or two, then see where we can squeeze.

The autoscaling itself is a feature of the "node pool" (scroll to the bottom, should say "core-pool"). We can configure the min&max size of the pool and what kind of machines it uses. When the current machines are full it will launch a new one, and as people's notebook pods are stopped it will turn off machines again.

My expectation right now is that we have two pools. One that is "always on" and is home to the hub pods and monitoring pods. A second pool that can scale to zero which uses a machine type big enough for about 15 students. So we only need to start a new machine for every 15 or so students. Right now the machine in the "core-pool" has just enough room so that one person can start a user pod and not trigger a scale up event. If this works well it would seem like the best of both worlds.

from hub-ops.

lwasser avatar lwasser commented on August 13, 2024

ok thank you... this helps. i'll go through the tooling section to better understand a local setup. leaving this open for the time being to reference!

from hub-ops.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.