This is an old revision of the document!
Cloudstack
Before starting
Some important considerations before using the cloud. Please read carefully.
- If the virtual machine is going to be commissioned create it inside of a project so other people can manage it when you are gone. Virtual machines owned by expired accounts not inside projects will be erased.
- If the virtual machine is going to be commissioned and you want it to be accessible from the exterior then you must request a redirection in the proxy web. If the virtual machine is not in a project this redirection can only be requested for six non-extendable months.
- Read the responsible Cloud use guide to learn some important aspects of the resource allocation.
- Default users and passwords for virtual machines can be found in the template list page. Change them as soon as possible to avoid others accessing your machines.
- By default, virtual machine network interfaces CAN'T reach the exterior. Check how to configure traffic from the virtual machine to the exterior.
- There are no automatic backups made of the virtual machines. A monthly copy of the machine can be requested but it implies to poweroff the machine during the process. There is more information at the end of this same page.
- Since the august 2017 upgrade it is possible to resize a disk or to choose a custom root disk size when creating the virtual machine. If you fill in the field or increase the disk size further ahead you'll need to extend the partitioning scheme to the new free space1)2).
- If using additional data disks, you'll have to format and add them manually. Disks are not preformatted.
Important advice
- The integrated web console is very slow, but works better with Chrome than with Firefox. It is recommended to use this console only for first configuration and troubleshooting. Configure remote access using RDP for Windows and SSH or VNC for Linux as soon as possible.
- Some Linux images (it happens in Ubuntu Server 14.04 (Outdated)) can run out of space in /boot after a few months of running time, because of unattended upgrades and not removing older kernels. Check the free space in /boot and if needing assistance to fix the problem get in touch with the admins. This problem can even prevent the machines from booting.
Email sending
It is possible to send emails from the virtual machines using the SMTP server of the USC, but to do so it is mandatory to register the machine as a server in the university. Speak with the admins (citius.tic@usc.es) to get the details.
We strongly advise against using external SMTP servers as Gmail in production environments.
Service description
Apache Cloudstack is an open source program designed to implement and manage big networks of virtual machines as a computing platform in the cloud with high availability and scalability of type Infraestructure as a service. This allows the CiTIUS researchers to create and manage virtual machines and networks by themselves. More info in the Cloudstack project page .
Access
It is necessary to request activation using the requests and problem reporting form. To access use http://cloudstack.citius.usc.es/. If having trouble accessing using the VPN service use http://172.16.242.200/client/ instead.
Access credentials are the same as for the rest of CiTIUS services. Domain must be left with its default value, usuarios
.
Once authenticated, you'll see the Cloudstack's main page:
To log out choose the Logout option in the upper right in the dropdown menu with your username. To end session globally in the domain doesn't affect the Cloudstack session.
Common tasks
Responsible use guide
The Los recursos del cloud son limitados. Por favor, echa un vistazo a la guía de uso responsable antes de empezar.
Básicas
Avanzadas
Manual de usuario
- Como referencia, puedes consultar el manual completo de CloudStack.
Copias de seguridad
No se realizan copias de seguridad de las máquinas virtuales creadas con CloudStack de forma automática, por lo que aconsejamos tomar las medidas de precaución oportunas en función de la naturaleza de la máquina creada.
Sí es posible realizar copias de seguridad de las máquinas de forma mensual. Para ello, deben solicitarse a través del formulario de incidencias indicando, para cada máquina:
- El nombre de la máquina de la que se desea realizar la copia.
- El día del mes en que se desea hacer la copia, si hay alguna preferencia.
Antes de iniciar la copia, la máquina se apagará si estaba encendida. Si lo estaba, al terminar se volverá a encender. La copia se realizará de madrugada, entre las 3:00 y las 7:00 (la hora exacta estará sujeta a la cantidad de trabajo pendiente). La duración de la copia depende del tamaño de los discos y suele llevar entre 10 y 30 minutos. Ten en cuenta que los servicios requeridos de la máquina deben lanzarse automáticamente al inicio del sistema para que quede todo bien iniciado una vez termine la copia.
Estas copias solo se podrán utilizar en caso de desastre (corrupción de la máquina virtual, etc.) pero no son en ningún caso una copia de primer acceso.