For AI agents: the complete documentation index is available at https://docs.us.ovhcloud.com/en/llms.txt, the full documentation bundle is available at https://docs.us.ovhcloud.com/en/llms-full.txt, and this page is available as Markdown at https://docs.us.ovhcloud.com/en/public-cloud/compute/create-instance-in-horizon.md.
  • English

Creating an Instance via the Horizon interface

View as Markdown

Learn how to create an Instance via the Horizon interface.

You can create multiple Instances directly in the Horizon interface, and also configure a security group to apply to your Instances.

 

Requirements

 

Instructions

Create a private network

As a general rule, we recommend creating a private network before creating an instance. You can later attach this network to your instance.

To begin, log in to the Horizon interface. If you are unsure about how to do this, please refer to our guide.

Next, click on Network in the left-hand menu, then Networks.

Click on Create Network.

Networks dashboard - Create instance in Horizon

Network
Subnet
Subnet Details

Network Name: Enter a name for your network.

Enable Admin State: Leave this option checked to activate the network.

Create Subnet: Leave this option checked to create the subnet.

Availability Zone Hints: Leave the default option.

Network - Create instance in Horizon

 

Create Instance

In the Horizon interface, click on Compute in the left-hand menu, then Instances.

The page that opens can be used to view the Instances that are currently launched. To launch a new one, click the Launch Instance button.

Instances dashboard - Create instance in Horizon

You will then need to fill in the information requested. Please note that this list is not exhaustive.

 

Details

InformationDetails
Instance nameSpecify the name you want for the Instance that will be launched.
DescriptionThis is Optional. Set a description if applicable.
Availability zoneLeave "nova" (default choice).
CountSpecify the number of Instances to launch.

Instances launch details

 

Source

InformationDetails
Select Boot SourceClick on the drop-down arrow to select the source for launching an instance (e.g. "Image" or "Instance snapshot").
Create New VolumeYou may choose to check this option if you wish to create a volume into which the specified operating system image is copied.
Volume size (GB)If you have chosen to create a volume, allow the system to determine the size for you.
Delete Volume on Instance DeleteYou can leave the default option No. If Yes is selected, when the instance is deleted, so is the volume.
Image name (only when launching from an image)Select the Instance image by clicking on the upward arrow next to the image of your choice. In our example, we use selected CentOS 7.
Instance snapshot (only for launching from a snapshot)Choose an Instance snapshot by clicking on the upward arrow next to the instance snapshot image of your choice.

Instances launch source

 

Flavor

Pre-built flavors are available for you. Select the flavor of your choice underneath the Available tab.

Instances launch flavor

 

Networks

InformationDetails
NetworkSelect the network(s) for the Instance you want to create from the list of available networks.
Ext-NetRepresents the Public Network.
All other networksRepresent the Private networks.
Warning

NOTE: If you want to attach a Private/vRack network to your instance it will fail unless you either:

  • Use the OpenStack CLI to enable port security on the private network, which only needs to be done once, using the following command:
    openstack network set --enable-port-security <my_private_network_id>
  • Remove the default security group from the security groups area, which needs to be done for each instance created with a private network. This results in the default security group being applied to the public port but no the private port.

Instances launch network

 

Security Groups

For more information about security groups, consult this guide.

Instances launch security groups

 

Key Pair

Warning

NOTE: Although the "Key Pair" field is not mandatory in the Horizon interface when creating an instance, registering an SSH key is absolutely necessary to be able to connect to an instance. Without an SSH key, you will be required to reboot the instance in rescue mode to either create a password or add an SSH key to the appropriate file (for more information, please refer to the guide on Replacing your lost SSH key pair).

In this section, you have the option to (1) use an existing key pair, (2) create a key pair, or (3) import a key pair.

For more information on how to create an SSH key, consult this guide.

Instances launch key pair annotated

Create Key Pair
Import Key Pair

To create a key pair, click on the + Create Key Pair button. Please note that with this option, additional steps have to be made before you can connect to the instance, especially if you are using the software PuTTY to connect to your instance. See the corresponding section of this guide.

Key Pair Name: Enter a name for your key.

Key Type: Click on the drop down arrow and select SSH Key.

Next, click on Create Keypair to begin the creation of the key pair.

Once the Key Pair is created, click on Copy Private Key to Clipboard, then on Done.

Instances launch key pair new

Once done, the newly created key will be automatically selected. Click on Launch Instance to begin the creation of your instance.

 

Other options

Please note that these options are not mandatory for the creation of a basic instance. If you wish to explore these options further, consult the official OpenStack documentation.

InformationDetails
Custom script sourceSpecify the source between a "direct entry" or a "file".
Script dataEnter the script code in the input field (16KB maximum).
Script fileClick Browse to select the post-installation script.
Disk partitioningChoose between "automatic" or "manual".
Configuration diskConfigure OpenStack to write metadata on to a specific configuration disk that will be attached to the Instance when it is launched.

 

Go further

Browse all the Compute guides.

Browse the rest of the OVHcloud US documentation for guides on our other products and services.

Learn more about Public Cloud Compute on the OVHcloud US website.