Network and Security

Security groups, EIPs, NIC management, and related operations for VMs.

Security group management

A security group is a virtual packet-filtering firewall. Rules control whether associated VMs can be accessed and which external resources they can access.

Associate a security group

Associate a security group with a VM.

A VM can bind up to 5 security groups (limits vary by platform; see Platform Compatibility).

  1. On the VMs page, click the VM name to open the details page.
  2. Click the “Security Groups” tab.
  3. Click “Associate security group” and select a security group.
  4. Click “OK”.

Disassociate a security group

Disassociate a security group from a VM.

  1. On the VMs page, click the VM name to open the details page.
  2. Click the “Security Groups” tab.
  3. Click “Disassociate security group” in the Actions column.
  4. Confirm the operation.

EIP management

An EIP is a NAT IP. Bound to a VM, it enables communication between the VM and the public network.

Bind an EIP

Bind an EIP to a VM.

  • On local IDC platforms, only VPC networks support binding EIPs.
  • Platform support varies; see Platform Compatibility.
  1. On the VMs page, click “More” in the Actions column, then choose “Network - Bind EIP”.
  2. Select an existing EIP or create a new one.
  3. Click “OK”.

Unbind an EIP

Unbind an EIP from a VM.

  1. On the VMs page, click “More” in the Actions column, then choose “Network - Unbind EIP”.
  2. Confirm the operation.

Public IP to EIP

Convert a static public IP to an EIP.

Supported only on public cloud platforms.

  1. On the VMs page, click “More” in the Actions column, then choose “Network - Public IP to EIP”.
  2. Confirm the operation.

NIC management

Add a NIC

Add a NIC to a VM.

Only OneCloud supports adding multiple NICs.

  1. On the VMs page, click the VM name to open the details page.
  2. Click the “NICs” tab.
  3. Click “Add NIC”.
  4. Select an IP subnet and IP address.
  5. Click “OK”.

Delete a NIC

Delete a NIC from a VM.

  1. On the VMs page, click the VM name to open the details page.
  2. Click the “NICs” tab.
  3. Click “Delete” in the Actions column of the NIC.
  4. Confirm the operation.

Password and key management

Reset password

Reset the administrator password of a VM.

Status requirements for reset password vary by platform; see Platform Compatibility.

  1. On the VMs page, click “More” in the Actions column, then choose “Password/Key - Reset password”.
  2. Set a new password.
  3. Click “OK”.

Bind a key pair

Bind an SSH key pair to a VM.

Requirements vary by platform; see Platform Compatibility.

  1. On the VMs page, click “More” in the Actions column, then choose “Password/Key - Bind key pair”.
  2. Select a key pair.
  3. Click “OK”.

Unbind a key pair

Unbind an SSH key pair from a VM.

  1. On the VMs page, click “More” in the Actions column, then choose “Password/Key - Unbind key pair”.
  2. Confirm the operation.

Set passwordless login

Set passwordless login for Agent installation and related features.

  1. On the VMs page, click “More” in the Actions column, then choose “Password/Key - Set passwordless login”.
  2. Choose a method:
    • Key: Use root or a user with passwordless sudo and its private key.
    • Password: Use root or a user with passwordless sudo and its password.
    • Script: Run the provided script on the VM.
  3. Click “OK”.

Probe passwordless login

Probe the passwordless login status of a VM.

  1. On the VMs page, click “More” in the Actions column, then choose “Password/Key - Probe passwordless login”.
  2. The system probes passwordless login status automatically.

Source/destination check

Set source/destination check for a VM.

Supported only on OneCloud.

  1. On the VMs page, click “More” in the Actions column, then choose “Network - Set source/destination check”.
  2. Enable or disable source/destination check.
  3. Click “OK”.