Managing Users and Quotas
Neu.ro creates a cluster based on the cluster configuration file you send to our team. The user who creates the cluster is designated the admin of the cluster. You must add users and, optionally, quotas before you can start using the nodes in the cluster. You can know the list of clusters that you can manage by running the
neuro admin get-clusterscommand.
> neuro admin get-clusters
Machine CPU Memory Preemptible GPU Min Max
Standard_D8_v3 7.0 28.0G × 1 10
Standard_NC6 5.0 50.0G × 1 x nvidia-tesla-k80 0 30
Standard_NC6 5.0 50.0G √ 1 x nvidia-tesla-k80 0 30
Standard_NC6s_v3 5.0 106.0G × 1 x nvidia-tesla-v100 0 10
Standard_NC6s_v3 5.0 106.0G √ 1 x nvidia-tesla-v100 0 10
Storage Premium tier Azure Files with LRS replication type and 3072 GiB file share size
You can know the list of clusters that you can access by running the
neuro config get-clusterscommand.
You can manage users and user quotas from the CLI. The next sections discuss how you can manage users and user quotas.
Neu.ro provides three predefined roles that you can assign to a user -
admin. The default role is User. The following table describes what each of the roles can do. Please note that any registered platform user may create new clusters; upon creation, a user automatically gets an Admin role in it.
You can add any number of users to a cluster. However, before adding a user you must decide on the role and the quota that you want to set for the user.
The role determines the access rights a user will have on the Neu.ro platform. The quota determines the number of GPU or CPU hours a user can use.
> neuro admin add-cluster-user neuro-public john user
Added john to cluster default as user
You can remove a user from the cluster if you are an Admin or Manager. You must use the
neuro admin remove-cluster-usercommand to remove the user. By doing this, you revoke the user’s access to the cluster. All the entities belonging to the user are left (storage, jobs, images, etc), and you can add this user back later.
> neuro admin remove-cluster-user default john
Removed john from cluster default
You need to remove a user from a given cluster and to add them again with the desired role. All the entities belonging to the user (storage, jobs, images, etc) are not affected during removal.
The quota determines the amount of GPU or CPU computation accessible to a user. By default, a user is given a quota of 100 credits.
You can set a user’s quota by using one of these commands:
neuro admin set-user-quota -c: Use this to set the quota to a certain number of credits.
> neuro admin set-user-quota -c 200 default john
neuro admin add-user-quota: Use this to add a certain number of credits to the existing user quota.
> neuro admin add-user-quota -c 50 default john
You can also set an unlimited quota for a user:
> neuro admin set-user-quota default john
You can check the quota of any user of a cluster if you are a manager or an admin of the cluster.
> neuro config show-quota john
To view your own quota, run:
> neuro config show-quota