This is an old revision of the document!
Esta página no está completamente traducida, aún. Por favor, contribuye a su traducción.
(Elimina este párrafo una vez la traducción esté completa)
Requisitos de hardware de diferentes Sistemas Operativos
Create and erase a virtual machine
Choose the “Instances” category in the left column:
In the “Instances” screen appears the list of our VM. In the upper right is the “Add Instance” button that starts the process of creating a new VM. We can access the options of any instance already present by any of the following two options:
- Selecting the instance a screen with information opens which contains the following options (for a stopped instance)
- Leaving the mouse pointer over the “+” symbol in the “Quickview” column the following options appear (for a running instance):
To erase a instance choose “Destroy” and confirm. Destroying an instance is irreversible and has the following consequences:
- Instance is removed from the list.
- After 3 minutes instance's “root disk” is erased.
- Any “data disk” the instance had is not erased automatically, so it is the user who should erase them manually in case they are no longer being used.
Create an instance
- Step 1:
Zone: there is only one, so let it be.
ISO or Template: you can create an empty instance and install the operating system from one of the available ISO images or use a template. A template is an already installed an configured model from which instances can be created (template list).
* Step 2a: Using a Template:
There are three Template categories:
- Featured: Offered by the administrator to everybody.
- Community: Created by other users and made public.
- My templates: Created by the user and private.
- Paso 2b: Using a ISO image:
There are three ISO categories:
- Featured: Offered by the administrator to everybody.
- Community: Created by other users and made public.
- My ISOs: Created by the user and private.
When using an ISO image there is an option to choose the type of hipervisor but in the CiTIUS Cloudstack implementation there is only one (KVM) so it can not be changed.
- Step 3:
A hardware configuration must be chosen among the offered. Number left to the @ is the number of virtual processors and right to it are the megahertz of each one. Last number is the amount of RAM in Megabytes. “HA” means High Availability: if the instance shuts down for whatever reason Cloudstack will power it on again automatically.
As a reference see the hardware requirements table.
* Step 4:
Virtual machines have two types of disks:
- root disk: first disk created. Has the system and it is “tied” to the VM.
- data disk: any other disk added. They are more independent as they don't get erased automatically when the VM is destroyed, can be disconnected from a VM and connected to other, etc.
If creating a VM from a template the “root disk” is already predefined and in this step we choose if we want to add any additional “data disk”. It is always possible to add “data disks” easily after VM creation, so it is safe not to add one now.
If creating the VM using an ISO image here the size of the “root disk” is defined.
* Step 5:
It is needed that the VM belongs to a network, so you must choose or create a new one.
- VPC (Virtual Private Cloud-network): Not used, choose “none”.
- Networks: List of the user's networks. If there isn't any or if a new one is desired, press the “Add Network” button below.
- Name: Network name. Only used as a label for the user to distinguish between his networks.
- Network offering: there's only one: “DefaultIsolatedNetworkOfferingWithSourceNatService” isolated network with a virtual router providing the firewall, source nat and default gateway functions.
- Default: this sets up this network as the default network for newly created VMs.
* Step 6:
Por último de manera opcional se le pueden poner un nombre y/o un grupo a la máquina. Cloudstack no usa estos nombres para nada y solo sirven para que el usuario organice sus máquinas.
Al darle al botón “Launch VM” Cloudstack procederá a crear y ejecutar la VM. Este proceso puede llevar desde unos segundos hasta algunos minutos.
Si se ha creado una máquina a partir de un Template que lo soporte (no todos lo hacen) aparecerá un mensaje indicando el password de root creado aleatoriamente para esta máquina.
- Si no aparece, consulta la sección de notas del listado de templates disponibles para ver el usuario y contraseña por defecto.
- En caso de que sí aparezca, anotar la contraseña en este momento, ya que no vuelve a aparecer aunque es posible volver a generarla seleccionando la opción Reset Password.
A partir de aqui ya se puede acceder a la VM o configurar la red .