6.1.1. Creating an Instance from an Official Template

This tutorial explains how to create an Instance (Virtual Machine) from the Official Templates provided by ECL2.0. For this tutorial we will use the Windows Server 2012 R2 template.

6.1.1.1. Instance Creation

First, select [ Virtual Server ] → [ Instance ]. Input the required items at the [ Instance Creation ].
Then click the “Create Instance” button. You will now configure the required settings in the following 4 tabs:

Details

Zone/Group where the server will be installed, Instance Name, Flavor (Size of Instance), Instance Boot Source and Image Name.

Data Volume

Option to specify additional data volume.

Access and Security

Register administrator’s key pair as well as setup the administrator password for accessing via a SSH credential.

Post-Install script

You can execute scripts by uploading them at the default server settings when creating your Baremetal Server, in the case you would like to customize it.

Network

Assign a Logical Network. IMPORTANT! This needs to be created in advance.

Metadata

Register key-value pairs of Metadata. Activate the HA Function for the Instance.

6.1.1.2. Create an Instance : Details

In this section you will select the Zone/Group where the server will be installed. Choose a name for the Instance Name. Select the Flavor (Size of Instance). Select the Instance Boot Source. And finally select the Image Name.

「インスタンスの起動」

Zone / Group

From the pull-down menu, choose which Zone/Group to create the Instance in.

Instance Name

Choose a name for the Instance (Virtual Server)

Flavor

From the pull-down menu choose the desired combination of CPU and Memory.

Instance Boot Source

Choose how the Instance (Virtual Server) will boot up. Choices are [ Boot from image ], [ Boot from snapshot ], and [ Boot from volume ]. Each choice has a sub choice associated with it.

Image Name

Specify image that will be base of the instance. Here select Windows template for Virtual Server.

Warning

We request our customers to choose zone1-groupb in JP1 region if possible due to the foreseen shortage of zone1-groupa resources in JP1 region. This will be resolved by mid-December 2017. Thank you for your understanding.

Note

If you choose “Boot from image” as your Instance Boot Source a Volume including the launch image will be automatically created. Later, when the Instance is deleted, the associated Volume including its’ launch Image will also be deleted.

Note

A ‘Zone’ can be seen as a building. Whereas a ‘Group’ can be seen as Physical Servers inside the building.
If you have multiple Instances (Virtual Servers), you can add them to a physical server by selecting “Group”, as well as add them to any building by selecting the “Zone”.

6.1.1.3. Create an Instance: Data Volume

Click the “Data Volume” tab. From the drop-down select a data disk you will use for your Instance.
If the only Root Disk is shortage of the required space then you need to create a new data disk in advance.
We recommend that you fully check Adding a Data Volume to an Instance for further details on how to create the data disk.
「インスタンスの起動」データボリューム

6.1.1.4. Create an Instance : Access & Security

If you would like to use a Key pair to log in to a Virtual Server, you can specify a Key Pair when creating an Instance.

Note

There are 2 ways of creating a key pair as follows.

  1. Move to [ Virtual Server ] → [ Instance ]. Here click the [ Key Pair ] tab, and execute [ Create a Key Pair ]. Once you have executed [ Create a Key Pair ], a [ .pem ] file will automatically download. This is a Seacret Key when logging in to the newly created Virtual Server. Therefore, you need to keep this with cautious.

Create Keypair
  1. Import a Key Pair when your creating a new Virtual Server. To import this, both a public key and a seacret key rerquire to be created with a SSH-Keygen command at you r device.


6.1.1.5. Post-Install Script

In the default settings of the Baremetal Server, you can execute the scripts by uploading ones, in the case you would like to customize it.
VS Post-install Script

6.1.1.6. Create an Instance : Network

Click the “Networking” tab to assign the Instance to a network. From the list under ​**Available Logical Networks**​, choose a network and move it into the box under ​**Selected Logical Networks*​*.
If more than one network is chosen, the NIC and IP Address will be assigned in descending order.
Additionally, if you have a specific IP you want to assign the Instance, add it directly into the space to the right of ‘IP’ of the desired Logical Network.

The following figure shows four ​*Available Logical Networks*​ available for assignment to the Instance.

「インスタンスの起動」ネットワークタブ

Note

If you want to assign a static IP Address to a Logical Network, manually enter it into the box next to ‘IP’. Otherwise, the IP Address is automatically assigned from the pool of IP’s listed in the ​*Allocation Pools*​ section when you created the Logical Network.

6.1.1.7. Create an Instance : Metadata

Finally, you can configure key-value pair Metadata for the Instance, Also in this section is the ability to enable/disable the HA (High Availability) Function by adding/removing the check-mark next to HA underneath the Metadata box shown below.

メタデータ

Note

During Service Provider maintenance the Instance is temporarily stopped. If HA Function is disabled for the Instance (‘uncheck’ the ​*Use HA*​ checkbox in the picture above), it will not be automatically rebooted. It will need to be manually booted.

After all 4 tabs are set up, create the new Instance by clicking the blue “Launch Instance” button at the lower right.
Once created, the page will refresh and the Instance will be displayed in the list of available Instances.
インスタンス一覧

Note

For either the CentOS or Ubuntu Official Template, please refer to the following Service Descriptions to obtain the initial username and password needed to log into a new Instance.

You can update the password after the initial login.

Note

To prevent malicious attacks from external sources, we recommend configuring ​*Security Settings*​ for the OS prior to connecting any newly created Resources to Internet Gateways. Please refer to ​:doc:../securitysettings for more information.