Table of Contents
Create a server
To create a server, start by going to your Gandi server interface by clicking on the main 'Server' tab at the top of the page. Then click on the “Server” tab that you see lower on the page. You can also go directly there by going to: https://www.gandi.net/admin/iaas/vm
Choosing the datacenter and resource allocation
Indicate the datacenter where you want your server to be located (is it not possible to simply migrate a server from one datacenter to another at present. It will be necessary to proceed with a complete migration if you want to change it later).
Then, the resources that you would like to allocate to the server, as well as the additional number of data disks that you want to create. It is possible to define the size of the system disk, and to add up to 8 additional data disks when you create the server. You can also increase or decrease the resources allocated to the server via the interface, without needing to perform any migration. Modifications will be taken into account in a few minutes. To do this, go to the resource management page.
Choosing the distribution and configuration
You can now chose the type of Image that you would like, your operating system, and personalize the name of your disk if desired.
You will manage your virtual server in the same way as a traditional dedicated server, while benefiting from the advantages of virtualization. You have the possibility of choosing between 32-bit and 64-bit images.
You also have the possibility of choosing a custom image. In this case, you must select the system disk that you want from the list, which will duplicate it and attach the duplicated disk to the server created.
Execution of a command or script during the initial boot
During the creation of your server, you will also notice that you have the possibility of executing a command that will be performed during the server's initial boot.
To do this, enter the command to execute in the “Command to run” field.
When the command is executed, your disks and interfaces will be mounted. You can call external scripts or a script situated on a data disk that is mounted. If you indicate, for example: 'curl -L -s https://get.docker.io/ubuntu/ | sh' under Ubuntu 14.04 64 bits then it will result in the installation of docker after the creation of the server.
Connection settings
The user is a unix user and does not have root rights., since the SSH connection for root has been deactivated by default. This is the username that you will log into when you connect to your server via SSH. Then, to log into rood (Classic server only) you can use the 'su -' command, and the password that you indicated when you created the server.
Note that when you create the name it cannot start with an upper-case letter.
Additional information on this can be seen on our page concerning logging in via SSH .
Two authentication methods are available:
* Password: you will log into your server using a password. Your password must be at least 8 characters long, contain upper and lower case letters, as well as numbers and special characters. It can also not be 'simple'.
* By SSH key: Indicate the public key that you will have generated beforehand via your workstation. The private key that is associated with it must be kept secure, and never divulged to a third party!
You can also combine them both and use a password and an SSH key.
Once submitted, the server will be created in a few minutes and will start automatically.
Limits on trial accounts
To prevent abuse, trial accounts have some limitations, which are:
- 2 servers maximum
- 512MB of RAM / server
- 1 CPU / server
- 1 Web accelerator
- 2 public interfaces
- 2 private interfaces
- 2 disks
- 10 GB of disk space