Files
xen-orchestra/self_service.md

39 lines
1.5 KiB
Markdown
Raw Normal View History

2015-11-11 19:04:33 +01:00
# Self Service
2015-11-13 15:42:30 +01:00
The self-service feature is the possibility for users to create new VMs. That's different from delegating existing resources to them, and it leads to a lot of side-effects.
2016-02-19 17:04:18 +01:00
> This feature is not yet available yet. However, it should be released very soon.
2015-11-11 19:09:18 +01:00
## Set of resources
2016-02-19 17:11:14 +01:00
### Perimeter
2016-02-19 17:04:18 +01:00
2015-11-11 19:14:01 +01:00
To allow people creating VMs as they want, we need to give them a *part* of your XenServer resources (disk space, CPUs, RAM). You can call this "general quotas" if you like. But you need first to decide how those quota applies in your infrastructure:
2015-11-11 19:09:18 +01:00
2016-01-15 12:11:19 +01:00
* which Storage Repository could be used for this set?
2016-01-04 16:23:20 +01:00
* which Networks?
2016-01-15 12:11:19 +01:00
* which Templates?
2015-11-11 19:09:18 +01:00
2016-02-19 17:04:18 +01:00
### Quotas
Only after this, you can limit resources for this set:
2015-11-11 19:14:01 +01:00
2016-01-04 16:23:20 +01:00
* maximum vCPUs, RAM and disk usage
* maximum number of VMs and VDIs
2015-11-11 19:14:01 +01:00
2016-01-15 12:11:19 +01:00
After, you just have to assign a group or a user to this set. Any created VM in this set will give "admin" permission for user/group.
2015-11-11 19:14:01 +01:00
2016-01-04 16:23:20 +01:00
Details are given in [this GitHub issue](https://github.com/vatesfr/xo-web/issues/285). Feel free to contribute to help up!
2015-11-11 19:14:01 +01:00
2016-01-04 16:23:20 +01:00
## Toward the Cloud
2015-11-11 19:14:01 +01:00
2016-01-15 12:11:19 +01:00
Self-service is a major step in the Cloud. Combine it with our [Cloudinit compatible VM creation](cloudinit.md) for a full experience:
* create a Cloud ready template
* create a set and put Cloud templates inside
* delegate this set to a group of users
Now, your authorized users can create VMs with their SSH keys, grow template disks if needed. Everything inside a "sandbox" (the set) you defined earlier!
![](https://pbs.twimg.com/media/CYMt2cJUkAAWCPg.png)