IBM Cloud Docs
FAQs for virtual server instances

FAQs for virtual server instances

Can a vNIC have both a floating IP and private IP address?

Yes, a vNIC on a virtual server instance has a private IP and can be attached to floating IP.

Instance1 has two vNICs, called vNIC1 and vNIC2. Can these two vNICs be attached to the same subnet?

Yes, you can attach multiple network interfaces of an instance to the same subnet.

Can an instance be created without a subnet, such as with only a floating IP address?

No, a virtual server instance must be provisioned in a subnet.

Can an instance be attached to multiple VPCs?

No, a virtual server instance can be provisioned in only one VPC.

During floating IP assignment in a VPC, a customer must specify the network interface of the instance, is that correct?

Yes. Initially, assigning the floating IP to the primary network interface of a server helps establish the data path. Later, you can associate the floating IP to a different network interface if you want. Alternatively, you can manually configure routing for the interface in the guest operating system. For more information, see Adding or editing network interfaces.

Imagine that instance1 in a VPC has only vNIC1 and it is attached to Subnet1. Subnet1 is attached to a Public Gateway (PGW). Can a customer still assign a floating IP to instance1?

Yes, a server can be on a subnet that is attached to a public gateway and also have a floating IP. The assignment of floating IP to an instance is not related to whether a public gateway is attached to the subnet. A floating IP associated to an instance takes precedence over the public gateway that is attached to the subnet.

What regions are available?

You can create virtual server instances for IBM Cloud® Virtual Private Cloud in Dallas (us-south), Washington DC (us-east), London (eu-gb), Sydney (au-syd), Tokyo (jp-tok), Osaka (jp-osa), Frankfurt (eu-de), Madrid (eu-es), Toronto (ca-tor), and São Paulo (br-sao).

Can I use existing virtual server instances from my classic infrastructure with an IBM Cloud VPC?

You can migrate a virtual server instance from the classic infrastructure to a VPC. You need to create an image template, export it to IBM Cloud Object Storage, and then customize the image to meet the requirements of the VPC infrastructure. For more information, see Migrating a virtual server from the classic infrastructure.

What virtual server families are supported in IBM Cloud VPC?

Currently, public virtual servers in the balanced, memory, and compute families are supported. For more information, see Profiles.

What do I do if an instance is in a bad state, such as continually starting or stopping?

You can issue a command to force the instance to stop. Use the IBM Cloud CLI to obtain the instance ID, and then run the following command, ibmcloud is instance-stop --no-wait -f. When the instance is stopped, you can either restart it or delete it.

When I attempt to update my Ubuntu image with apt, I receive an error about the grub menu.lst file. How do I fix it?

Edit the file "/boot/grub/menu.lst" by changing # groot=LABEL... into # groot=(hd0). Then, run following command, sudo update-grub-legacy-ec2.

In what cases is my virtual server migrated to a different host?

In limited cases a virtual server might need to be migrated to a different host. If a migration is required, the virtual server is shut down, migrated, and then restarted. A virtual server might be migrated in the following cases:

  • Infrastructure maintenance. You might receive an email that's indicating that maintenance is required on a system that is hosting your virtual server. Your virtual server might need to be migrated as part of the infrastructure maintenance.
  • An unplanned host outage. The following actions apply if an unexpected host failure occurs:
    • The virtual servers that were running on the host are stopped when the outage is detected.
    • The virtual servers are automatically reassigned and restarted on a different compute host in the same multi-region zone.
    • The virtual servers that are restarted use the same boot volume, and the same data volumes as the original virtual server.
    • The virtual server that was restarted is assigned the same floating IP, static IP, and dynamic IP addresses on the new node.
    • If the virtual server cannot be scheduled to run on another compute node, it is placed in a FAILED state.

Can I use an encrypted image?

Yes, you can encrypt a supported custom image with LUKS encryption and your own passphrase. For more information, see Creating an encrypted custom image. When your image is encrypted and imported to IBM Cloud VPC, you can use it to provision virtual server instances.

Can I use my own license for a custom image that I create?

Yes, for certain versions of Red Hat Enterprise Linux (RHEL) and Windows operating systems, you can bring your own license (BYOL) to the IBM Cloud VPC when you import a custom image. These images are registered and licensed by you. You maintain control over your license and incur no additional costs by using your license. For more information, see Bring your own license.

How does IBM handle maintenance?

For more information, see Understanding Cloud Maintenance Operations.

What happens if my virtual server host fails?

For more information, see Understanding Cloud Maintenance Operations.

What are the disks that I see associated with my new Windows virtual server instance?

When you provision a Windows virtual server instance with a stock image, disk manager might show unexpected disks. After a new Windows instance is provisioned from a stock image, a cloud-init disk and a swap disk are present. The cloud-init disk might display a size of 378 KB. The swap disk might display a size of 44 KB; the swap disk is turned off eventually. These small disks are working as designed. You are not to attempt to delete or format either of these disks that are associated with your new Windows virtual server instance.

What is image from volume and how does it relate to virtual server instances?

You can create a custom image from a boot volume that is attached to a virtual server instance. Then, you can use the custom image to provision new virtual server instances. For more information, see About creating an image from a volume.

What is the virtual server instance identifier and SMBIOS system-uuid?

The virtual server instance is automatically assigned an instance identifier (ID), which includes the SMBIOS system-uuid as a portion of the ID, when the instance is created. IDs are immutable, globally unique, and never reused, so the ID uniquely identifies a particular instantiation of a virtual server instance across all of IBM Cloud. The ID, including the SMBIOS system-uuid portion, is static and persists for the lifecycle of the virtual server instance until that virtual server instance is deleted.

For more information, including how to retrieve this information from within your virtual server, see Retrieving the virtual server instance identifier section in Managing virtual server instances.

Can I access metadata about my virtual server instances?

Yes, if your account is granted special approval, you can access the instance metadata service to get information about your VPC compute resources. The metadata service is a REST API that you invoke by using a well-known URI to retrieve instance-specific information from the metadata server. For more information, see For more information, see About Instance Metadata for VPC (Beta).

Can I use the same operating system image for more than one account?

Yes, when you create a custom image for IBM Cloud VPC, you can import those images into a private catalog for use among multiple accounts. A private catalog provides a way for you to manage access to products for multiple accounts, if those accounts are within the same enterprise. You must first complete all the steps to import the custom image into IBM Cloud VPC before you can import the image into a private catalog. For more information about private catalog considerations and limitations, see Getting started with custom images.

Can I use a custom image in a private catalog with an instance group?

Yes, you can use a custom image in a private catalog with an instance group. However, you must first create a service-to-service policy to globalcatalog-collection.instance.retrieve before you can create the instance group. For more information, see Using a custom image in a private catalog with an instance group.

Can I change the boot volume associated with my resource group after creating the resource group?

No. The resource group of a volume is set at resource creation and cannot be changed. This behavior is shared by all VPC resources.

Can I move my volume to another region or zone?

No, a volume is restricted to the zone it was created in. However, you can move the volume's data by creating a new snapshot from the volume, and creating a new volume from that snapshot in a different zone.

Why I am not able to connect to internet from my virtual server instance?

Virtual server instances use IBM VPC DNS server addresses such as 161.26.0.10 and 161.26.0.11. If you are unable to connect to the internet, check whether you are able to ping both of these IP addresses from your instance. For example, your Linux instances should have the following entries automatically when they are provisioned.

more /etc/resolv.conf
Generated by NetworkManager

nameserver 161.26.0.10
nameserver 161.26.0.11

You can also check whether you have rules to allow UDP port 53 for DNS traffic in a security group.