Monday, January 11, 2016

Create VMs ready in less than 30 sec [feedly]

Create VMs ready in less than 30 sec
// Xen Orchestra

By ready, we mean:

  • from the click on "Create VM"
  • to a SSH access on a 100% working system

And also from a generic template: which we can select the disk size dynamically and RAM/CPU. How can it be possible? Using CloudInit! You can find working templates here:

Let's do this! In this case, from a Debian 8 Cloud template.

Remember to enter your SSH key:

Clicking on "Create VM":

VM is provisioned in approximately 8 seconds:

Tools reported the IP after 15 seconds:

So you can SSH on it directly, it works!

$ ssh debian@    The programs included with the Debian GNU/Linux system are free software;    the exact distribution terms for each program are described in the    individual files in /usr/share/doc/*/copyright.    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent    permitted by applicable law.    debian@cloud1:~$    

And remember, you are sudoer without password:

debian@cloud1:~$ sudo -s    root@cloud1:/home/debian#    

You got a VM ready in 23 seconds, from clicking on "Create VM" to a SSH shell.

These kind of templates are really handful for working on temporary instances or for your dev teams!

We are also working on a complete self service portal (with quotas), stay in touch ;)


Shared via my feedly reader

Sent from my iPhone

No comments:

Post a Comment