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

Allow users to select workspace / VM size #30

Closed
3 of 4 tasks
nbarlowATI opened this issue Oct 14, 2020 · 3 comments
Closed
3 of 4 tasks

Allow users to select workspace / VM size #30

nbarlowATI opened this issue Oct 14, 2020 · 3 comments
Assignees
Labels
ENH New feature or request

Comments

@nbarlowATI
Copy link
Contributor

nbarlowATI commented Oct 14, 2020

After the user logs in via Azure AD, would be good to offer them a choice of which Workspace to use (or if they want to create a new one).
Can also offer a list of VM sizes for them to choose from.

One thing to consider is that while it is not too difficult for the Service Principal to get a list of all Workspaces in the Resource Group, it is not quite so simple to filter this list to only the ones that the user has access to.

  • Create form where the user can choose from list of workspaces in the Resource Group.
  • Filter this list to only show workspaces that the User can access.
  • Add ability for user to create a new workspace
  • Add choice of VM size.
@nbarlowATI nbarlowATI added the ENH New feature or request label Oct 14, 2020
@pierocor
Copy link
Contributor

The option to create a new workspace has been added to the form page. When selecting this option the redirection to the progress page could take minutes and, in most cases, an error appears:

ngrok gateway error
The server returned an invalid or incomplete HTTP response.

However, the logs show that both the WS and the CI are created successfully. The user has to manually go to $HOST/hub to be redirected to the CI.

@tam203
Copy link
Contributor

tam203 commented Oct 20, 2020

Hi @pierocor - I was very impressed with your demo on this last week. My suggestions to streamline the process from a 'scientist who doesn't know or care about Azure' point of view would be:

Two options on the spawner page:

  • Project (this maps to what resource group and workspace under the hood)
  • Machine size (Small($), Medium($$), Large($$$))

They can revisit this at any time at <jupyterhub-url>/hub/home if we enable named servers

We discussed that what projects are available would be ascertained by what permissions the use had (i.e. what projects/resource group/workspace they could access).

The above permission management would be simplified by a few scrips we could write maybe: add user to project, create project, soft delete project (remove the user's permissions but don't delete the resources(resource group)) and hard delete (delete all the project assets.

@nbarlowATI
Copy link
Contributor Author

Closing, as outstanding part of this Issue is specified in more detail in #40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ENH New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants