API
Cloud
Cloud
OverviewFunction as a ServiceTerraformBilling
Chosen image
Home/Cloud/Virtual instances/Create

Create an instance

  1. Open Instances tab and click Create Instance.

The Create Instance button

  1. Select the region where you want to deploy the instance.

Region selection

Regions can be of two types: Core and Edge. A region determines the equipment specifications.

 

Core Edge*
Equipment generation The latest Different
Designed for high scalability on the fly Yes Not
Available resources 1000 cores and 30 TB of RAM Up to 300 cores and 1 TB of RAM
Ports for user traffic and storage Separate Shared
Choice of configurations 8 types, 45 configurations 1 type (Standard), 4 configurations
Price Higher Lower

* We can always transform an edge region to core upon your request.

  1. Select an Image.
Select an Image
  • Choose an OS template, a volume, a snapshot, a custom image, or a template from the marketplace.
  • (for a Linux instance) Remember the login from the For login to OS field to connect to your instance on Linux OS via SSH from another Linux device. For details, refer to the article: Connect to your instance via SSH.

Important! If you want to connect to a Linux instance from a Windows device, use a special application such as PuTTY.

  1. For Type, choose the configuration.
choose the configuration

Select the CPU generation and a flavor.

  • Shared. VMs that share a core of a physical machine with other VMs, designed for workloads that do not require high performance.
    Availability: Luxembourg Note: The bandwidth limit for the Shared flavor is up 100 Mbps, for other configurations it is up 1 Gbps.
  • Standard. VMs best suited for a wide range of workloads that require predictable computing performance.
    Availability: all regions.
  • vCPU. CPU Optimized VMs, best suited for CPU-intensive tasks that require predictable computing performance such as batch processing of large data sets and video encoding.
    Availability: all CORE regions.
  • Memory. Memory Optimized VMs, suitable for memory-intensive tasks such as databases, SRM/ERP or data warehouses.
    Availability: all CORE regions.
  • High Frequency. VMs with the high CPU clock rate (3.7 GHz in the basic configuration). It is perfect for applications requiring single-threaded performance, financial and probabilistic analytics, and automation of computational processes.
    Availability: Luxembourg, Manassas, Frankfurt.
  • SGX. VMs that support Intel SGX (Security Guard Extension) that helps to protect data from disclosure or modification by isolating private parts of code and data (enclaves). This configuration is the best for those who store critical, sensitive data in the cloud.
    Availability: Luxembourg, Manassas, Singapore.
  • GPU. VMs with a graphics card, suitable for working with graphic information, deep and machine learning applications, and high-performance computing.
    Availability: Luxembourg.
  • GPU-HF. VMs with the high clock rate of the CPU and with a graphics card, suitable for complex calculations that require graphics accelerator resources, high performance and speed.
    Availability: Luxembourg.
  1. Configure Volumes.
Configure Volumes

Enter a volume name, choose its type and set its size in GiB

  • High IOPS SSD. This is a high-performance SSD block storage designed for latency-sensitive transactional workloads (60 IOPS per 1 GiB; 2.5 MB/s per 1 GiB). The IOPS performance limit is 9,000. The bandwidth limit is 500 MB/s.

Availability: Amsterdam, Frankfurt, London, Luxembourg, Luxembourg-2, Manassas, Paris-2, Singapore

  • Standard. This is a network SSD disk, which provides stable and high random I/O performance, as well as high data reliability (6 IOPS per 1 GiB; 0.4 MB/s per 1 GiB). The IOPS performance limit is 4,500. The bandwidth limit is 300 MB/s.

Availability: all regions

  • Cold. This is a network HDD disk, suitable for less frequently accessed workloads. The maximum number of IOPS is 1,000. The bandwidth limit is 100 MB/s.

Availability: Luxembourg

  • Ultra. This is the network block storage option, recommended for non-critical data and workloads that are accessed less frequently. The maximum number of IOPS is 1,000. The bandwidth limit is 100 MB/s.

Availability: Luxembourg

  • SSD Low-Latency. This is an SSD block storage, designed for applications that require low-latency storage and real-time data processing. It can achieve IOPS performance of up to 5000, with an average latency of 300 µs.

Availability: Amsterdam-2, Frankfurt, Hong Kong, Luxembourg-2, Manassas, Tokyo

(optional) Add an Attachment Tag.

  1. Add one or multiple interfaces in Network settings.

If you select a public interface, you can turn on the Use Reserved IP toggle and assign a reserved IP address to your instance.

Reserved IP toggle

If you select a private interface, configure a network and a subnetwork according to the steps below. 

private interface

To configure a network, select an existing network from the drop-down list or create a new one by clicking Add a new network. If you choose the latter, the new window will open:

Add a new network
  • Enter the network name.

  • (optional) Turn on the Bare Metal Network toggle to connect bare metal servers to the network

  • (optional) Turn on the Add tags toggle to add metadata to the network.

  • Click Create network.

To create a subnet, select an existing subnet from the drop-down list or create a new one by clicking Add a new subnetwork. If you choose the latter, the new window will open:

Add a new subnetwork
  • Enter the subnet name.

  • Set CIDR between ranges: 10.0.0.0 - 10.255.255.255, 172.16.0.0—172.31.255.255, 192.168.0.0—192.168.255.255. Set the mask between 16 and 24.

  • (optional) Turn on the Enable DHCP toggle to automatically assign IP addresses to machines in the subnet.

  • (optional) Turn on the Non-routable subnetwork toggle to block access to the subnet from external networks and other subnets. If you keep the network routable, you can specify the Gateway IP address. Otherwise, a random IP address will be assigned.

  • (optional) Enter Custom DNS servers to add specific DNS servers**.**

  • optional) Turn on Add tags to add metadata to the subnetwork.

  • Click Create subnetwork.

Optionally, you can turn on the Use Reserved IP toggle to assign a reserved IP address to your instance and/or turn on the Use Floating IP toggle to assign a floating IP address to your instance.

  1. For Firewall settings, select the default firewall or create a new one by clicking Add firewall.

The Firewall settings

If you keep the default firewall, the incoming traffic will be allowed over ICMP, TCP (SSH) and RDP protocols.

If you want to create a new firewall, refer to the article: Add and configure a firewall.

  1. (for a Linux instance) Configure an SSH key for a remote SSH connection.

The SSH key field

You can add an existing SSH key or generate a new one. You enter a public key and use a private key for connection. For details, see the article: Connect to your instance via SSH.

  1. (for a Windows instance) Configure Access by setting a password for the Admin user.

the field for credentials to access a Windows instance

Your password must contain between 8 and 16 characters and at least one lowercase letter (a-z), one uppercase letter (A-Z), one number (0-9) and one special character (!#$%&’()*+,-./:;<=>?@[]^_{|}~).

You can connect to a Windows instance from your Control Panel or from your computer over RDP protocol.

  1. (optional) Configure Additional options.
  • Turn on User data to customize your VM during the initial boot by a cloud-init agent.

The field to add user data

You can configure your password to connect to your Linux instance from your Control Panel or via SSH. To do it, insert the code below to the User data field and enter your password:

#cloud-config  
password: **your password**  
chpasswd: { expire: False }  
ssh_pwauth: True

Note: If an instance is only in a private subnet, DHCP must be enabled in the settings of this subnet, so you can log in with a password.

You can configure the password hash—a machine-readable set of symbols. It’ll protect your real password from being compromised. To generate a hash, use the Python script:

#!/usr/bin/env python3  
\# based on [https://stackoverflow.com/a/17992126/117471](https://stackoverflow.com/a/17992126/117471)\# pip3 install passlib  
import sys  
from getpass import getpass  
from passlib.hash import sha512_crypt  
passwd = input() if not sys.stdin.isatty() else getpass()  
print(sha512_crypt.hash(passwd , rounds = 5000 ))
  • Turn on Add tags to add a key-value pair that form the metadata of the virtual machine description.

The field to add tags

  • Turn on Add to placement group to determine how to place multiple instances.

The field to add the instance to a placement group

You can place your virtual machine in one of three types of groups:

  • Affinity groups assemble virtual machines on the same hardware. Machines launched in one affinity group will exchange data faster because they are located on the same server.

  • Anti-affinity groups work the opposite way: All virtual machines in this group will be separated across different physical hardware. This increases fault tolerance of a cluster: Even if something happens to one server, machines on the other(s) will remain available.

  • Soft anti-affinity groups encourage, but don't strictly enforce, the separation of virtual machines. Unlike a strict anti-affinity policy, where machines may never be placed together, soft anti-affinity allows placement on the same hardware when it is necessary due to factors like resource constraints or high demand. It is suitable for users who want to use the anti-affinity policy by default while also avoiding machine creation failures if an unused host was not found.

You can add the instance to an existing placement group or create a new one by clicking Add placement group.

  1. Specify the number of machines with the same configuration you need and give them names.

The field to set the number of instances

The maximum number is limited by your quotas.

For names, use Latin characters, underscores, spaces, and dots.

  1. Click Create virtual machine.

Your server will be transitioned to the Building status. The system will allocate resources for your virtual machine.

After that, the server will be automatically moved to the Power on status. Your machine is ready to run!

Was this article helpful?

Not a Gcore user yet?

Discover our offerings, including virtual instances starting from 3.7 euro/mo, bare metal servers, AI Infrastructure, load balancers, Managed Kubernetes, Function as a Service, and Centralized Logging solutions.

Go to the product page