Instances section

Instances section shows a list of all virtual machines created under user’s account along with their parameters and advanced settings.

Each instance has several parameters:

  • ID – unique instance identifier in CROC Cloud Platform;
  • Status – displays current condition of instance. Instance can have the following statuses:
    • Pending
    • Running
    • Stopped
    • Booting
    • Suspending
    • Suspended
    • Snapshotting
  • Description – instance name. Can be set by user during creation.
  • Size – instance type information.
  • Availability Zone – data center in which physical hardware is located.
  • Subnet – contains information on subnet in which the instance is located.
  • Created – instance creation date.

Attention

Make sure to create a subnet before creating a new instance!

Creating a new instance

Click new_instance_1.png to create a new instance. A new instance creation dialog window will open.

You can create new instance in several ways:

  1. Use prepared template
  2. Create new instance

Creating a new instance using a prepared template

A new instance can be created from prepared template. A drop-down list in the dialog includes the following instance templates:

  • CROC templates;
  • own templates;
  • shared templates.

Select prepared template and click Next. The instance creation dialog will open.

Set of parameters in the dialog window allows to create an instance with specific configuration. You can set the following parameters when creating an instance:

Parameter Description
Description Instance name
Number of instances Number of instances of this type to create (1 by default)
Instance type Instance computing resources selection
Virtualization type kvm-virtio|kvm-legacy;
SSH key If public SSH keys are added to the project, you can select one of them
Subnet Subnet in which the instance will be located
Private address Instance private address
Placement group The distribution of instances on different compute nodes helps to minimize the number of affected instances in the event of failure of one of physical compute nodes
Availability Zone Selection of Avaiability Zone in which instance will be allocated
Security groups Ability to assign to the instance security groups created in VPC (up to 5 groups). If you do not specify security group while starting the instance, then the default security group will be assigned to the instance
Switches Ability to attach virtual switches to the instance (only L2 connectivity is provided)
Allocate public address Associate public IP address to obtain access from the Internet after the instance launch. Public IP address should be allocated in advance in Addresses section
Terminate on instance shutdown Specifies whether the instance should automatically be terminated after the shutdown
User data Data describing operations that are automatically executed on instance creating

After all necessary parameters are set, click Next button. You can skip this step and click new_instance_start_1 to launch new instance.

Instance start may take some time. Upon completion of instance start process, instance status will change from Pending to Running. Each instance gets a unique ID in i-xxxxxx form. Some instance parameters can be changed anytime. Click a link with unique ID (see “Displaying instance properties” subsection) to make changes, attach or detach additional volumes, reboot or shut down instance, change public address, etc.

Creating a new instance

You can create a new instance yourself. Select operating system base image, additional image (for example, with device drivers for particular operating system), attach to instance different types of devices (disk, cdrom, floppy) and specify their size. After setting new instance parameters, click Next. The instance creation dialog will open.

Set of parameters in the instance creation dialog window allows to create an instance with specific configuration. Parameters that can be specified when creating the instance are similar to the parameters that can be specified when creating the instance using prepared template (see the table above). As in the case of creating the instance using prepared template, each instance gets a unique ID in i-xxxxxx form. After all necessary parameters are set, click Next button. A dialog window opens in which you can change or attach to the instance different types of additional devices: disk, cdrom, floppy.

After setting all parameters, click new_instance_start_2 button.

Instance launch process may take some time. After completion of instance launch process, instance status will change from Pending to Running.

Some instance parameters can be changed anytime. Click a link with unique ID (see “Displaying instance properties” subsection) to make changes, attach or detach additional volumes, reboot or shut down instance, change public address, etc.

Shutting down an instance

Click button_off to shut down instance correctly.

Attention

This function is available only for instance with Running status!

Starting an instance

Click button_on to start an instance.

Attention

This function is available only for instance with Stopped status!

Stop (force off) of an instance

Click button_hard_off to instantly shut down the instance, similarly to disabling the power supply of the server.

Attention

This function is available only for instance with Running status!

Rebooting an instance

Click button_reset to correctly stop all services and reboot an instance.

Attention

This function is available only for instance with Running status!

Additional actions

Click More… to open a list of additional actions available for the selected instance.

Launching additional instances

Click Launch more instances to launch more instances with parameters of the selected instance.

Deleting an instance

Click Terminate to terminate the selected instance. All resources of the instance will be deleted. Shut down the instance (see Shutting down an instance) if you want to use it later.

Suspending an instance

Click Suspend to suspend the selected instance. RAM contents will be saved, the instance will be suspended and the resuming operation (to the status that instance had before suspending) will execute in a few seconds.

Attention

This function is available only for instance with Running status!

Changing instance name

Click Change Description to change the instance description.

Creating a template

Click Create template to create instance template, which can be used in the future to launch new instances with specified parameters. New template will appear in Templates section.

Attention

This function is available only for instance with Stopped status!

Exporting an instance

Click Export instance to export an instance. Set necessary parameters in the dialog window. Instance export will take some time and after that, instance image will appear in Object storage.

Attention

This function is available only for instance with Stopped status!

Changing a public address

Click Change public address to associate public address from a list of allocated IP addresses with the instance.

Changing SSH key

Click Change SSH key to assign a new SSH key to the instance.

Changing root device

Click Change root device to change root device, attached to instance.

Attention

This function is available only for instance with Stopped status!

Disassociating public IP address

Click Disassociate addresses to disassociate public IP address from current instance and the address will be available for the next association.

Attention

This function is available only for instance with public IP address!

Changing an instance type

Click Change instance type to change instance configuration.

Attention

This function is available only for instance with Stopped status!

Changing user data

Click Change user data to change user data of instance after it is created. For details, see section Instance Metadata API.

Console output

Click View console output to get current state of instance launch process or to get server password.

Attaching/detaching virtual switch

To attach virtual switch or to detach it from an instance, select the appropriate menu item Attach switch or Detach switch.

Attention

Virtual switches can be attached to running instance only if it was started after October 1, 2016!

If you attempt to attach or detach a switch to/from an instance launched before October 1, 2016, then the Cloud will notify you that your operation is not supported. To activate this function, you have to stop and start the instance again.

Attention

All official CROC templates support “hot” attachment/detachment of virtual switches.

The list of Linux distributions that support “hot” attachment/detachment of virtual switches:

  • CentOS/RHEL/OEL 6/7
  • Ubuntu >= 12.04
  • Debian >= 7
  • Fedora >= 19

If you use CentOS/RHEL/OEL 5.x or Ubuntu 10.x, please download the acpiphp kernel module and add it to the autoload.

This functionality is not guaranteed for instances launched from other templates.

Note

If you use other Linux distributions then make sure the kernel is compiled with HOTPLUG_PCI_ACPI support:

[root@host ~]# grep 'CONFIG_HOTPLUG_PCI_ACPI=' /boot/config-`uname -r`
CONFIG_HOTPLUG_PCI_ACPI=y

If the command output is CONFIG_HOTPLUG_PCI_ACPI=y, it means that hot attachment/detachment are supported by this operating system “out of box”.

If the command output is CONFIG_HOTPLUG_PCI_ACPI=m, then download acpiphp or pci_hotplug module depending on your operating system to enable hot attachment/detachment operations.

If the command output is a blank line, then hot attachment/detachment function is not supported by the kernel.

Attention

If you disconnect the virtual switch from an instance, which does not support hot attachment/detachment of PCI devices on OS level, then virtual switch will remain in disconnecting internal status until the instance is stopped. Repeated operations of hot attachment/detachment of this virtual switch will cause the Cloud to display respective error message.

Displaying instance properties

Click a link with unique ID to display detailed instance information.

Information

The tab contains instance detailed information.

  • Description
  • Template
  • Status
  • Type
  • Private address
  • Availability Zone
  • Subnet
  • Security groups
  • High available
  • Boot menu
  • Root device name

button_change_account, button_type_instance, button_create_template buttons allow changing instance parameters.

Remote console

Click Remote console link to open remote server management console in a new browser window. The following additional buttons for user convenience are located in the top right corner of the management console: view_keyboard – click this button to open virtual keyboard.

send_Ctrl_Alt-Del – clicking this button has the same effect as pressing Ctrl + Alt + Delete on keyboard.

Access to the remote console

Click Share remote console link to provide to authorized cloud platform users an access to remote console for a limited time. Contact technical support service to get “authorized” status for your cloud platform user.

A link for accessing the remote console will be sent to the specified email. Note that only authorized users to CROC Cloud can access shared remote console.

Devices

The tab contains a list of all volumes attached to the instance.

Each volume has a set of parameters:

  • ID – unique volume ID.
  • Device – displays device type and its sequential number in this instance: - Disk – virtual volume; - Cdrom – virtual CD.
  • Description – contains volume description. Can be edited by user.
  • boot volume label – displayed for volumes, which contain the operating system.
  • Type – indicates the volume type: - Universal - Flash - Standard
  • Size – maximum amount of data that a volume can hold

Attaching a volume

Click button_add_disc and select desired volume from a list to attach to the instance one more volume that was created earlier and not attached to another instance (see Volumes section).

Changing a volume description

Click Change description to change the volume description.

Additional actions

Click More… to open a list of additional actions available for the selected volume.

Creating a snapshot

Click Create snapshot button to create a snapshot, which can be used later to create a template.

Attention

This function is available only for instance with Stopped status!

Detaching a volume from instance

Click Detach to detach the volume from instance and the volume will be available for the next attachment.

Displaying volume properties

Click a link with unique ID to display detailed instance information.

Information

The tab contains a detailed description of the device, creation date, availability zone, in which the volume is located, size, volume type and replication status. Click button_change_account to change volume description.

Additional actions

Click More… to open a list of additional actions available for the selected volume.

Deleting a volume

Click Delete to delete the device.

Attention

This function is available only for instance with Stopped status!

Increasing volume size

Click Increase volume size to increase the volume size. Set volume size in a dialog window. There is no need to stop the instance.

IOPS changing

Click Change iops to change IOPS value for the selected flash volume.

Attention

This function is available only for flash volumes!

Detaching from instance

Click Detach from instance to detach the volume from instance and the volume will be available for the next attachment.

Monitoring

The Monitoring tab displays read/write speed statistics of the volumes. You can display statistics for current or selected time period.