Setting up a Linux Instance in the IBM Cloud

Contents

Preparation

Please note: if you want to use an existing resource group and VPC, select the correct one from the resource list (click on the menu symbol at the top left of the cloud console screen).

Creating a Resource Group if Required

To organize resources in your account, you can group related resources in a resource group. If you have not already created a resource group, you can do so by selecting:

Manage > Account > Resource Groups and then clicking on the Create button. Add the name of the group in the pop-up window and confirm with Create.

A sample screen is shown below.


Creating VPCs and Subnets for Instance

If the necessary VPC and the associated subnets do not exist yet, create them before you create your virtual server. A virtual server can be a member of one VPC.


Step 1: go to the VPC section.

Select the Menu at the top left, and then VPC Infrastructure > Network > VPCs. This will open the list of existing VPCs or an empty list as shown in the sample below:


Step 2: start the VPC creation.

To open the VPC creation window, click on the Create button at the top right of the VPC list.


Step 3: enter the required information for the new VPC and the first subnet.

At the top of the VPC creation window, enter the following information as shown in the sample below:

  • VPC Name
  • Resource group to which the VPC belongs
  • Tags (optional)
  • Access allowed by the default security group.


In the middle of the VPC creation window enter the following information as shown in the sample below:

  • Whether a default address prefix should be created for each zone.
  • Information for the first subnet in the VPC:
    • Subnet name
    • Resource group for the subnet
    • Location of the subnet


At the bottom of the VPC creation window enter at least the following information as shown in the sample below:

  • IP range for the subnet (the size of the subnet cannot be changed later!)
  • Whether a public gateway for Internet traffic should be attached to the subnet (enables outgoing Internet access for systems on this subnet)

You can add additional subnets later.


Step 4: confirm your data and create VPC and subnet.

To complete the creation of VPC and subnet, click on the blue button Create virtual private cloud on the right pane of the window:

After this, your new VPC should be visible in the VPC list.

If required, you can now configure the ACL for the subnet (by default, it allows all traffic), or other parameters of the VPC. To get to these options, click on the name of the VPC in the list.


Creating a New Virtual Server Instance

Step 1: open the virtual server list and start the creation of a new server.

In the VPC infrastructure section under Compute, click on Virtual server instances. This opens the list of existing virtual servers. At the top right of this list click on Create. The image below provides an illustration of these steps:

This will open the section for creating a virtual server.


Step 2: enter the required information to create a new virtual server.

At the top of the Virtual Server creation window, enter the following information as shown in the sample below:

  • Name of the virtual server
  • Resource group to which the server will belong
  • Tags (optional)
  • Location of the virtual server


In the next section of the Virtual Server creation window, enter the following information as shown in the sample below:

  • Operating system and version for your instance (refer to the general Charon User's Guide of your emulator product for supported distributions and versions).
  • Select the hardware profile (it must fulfill the requirements of the emulated SPARC system(s) you plan to run on the instance. To select the profile you need, click on View all profiles. The profile cannot be changed after the instance has been created.
  • If necessary add a new SSH key or use an existing one.

In the next section of the Virtual Server creation window, enter the following information as shown in the sample below:

  • Verify the boot volume configuration.
  • Add a new or existing data volume as required.
  • Select the VPC for the virtual server.


At the bottom of the Virtual Server creation window, enter the the required network interfaces. Editing them allows adding IP Spoofing (necessary for routing).

Then, in the right pane, click on Create virtual server instance to create the server instance. The new server will be displayed in the virtual server list.

Step 3: add a public IP address if required.

Once the virtual server is available in the list of active servers, perform the following steps to add a public IP address:

  • Click on the server name. This will open the virtual server details window.
  • Scroll down to the network interfaces and click on the edit symbol next to the primary interface (default name: eth0).
  • In the configuration window that opens, click on Reserve a new floating IP.
  • Save the changes by clicking on Save at the bottom of the edit window.




© Stromasys, 1999-2024  - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described.