4. Setting of Tenant - VCN(Virtual Cloud Network) configuration

If you wish to use an instance such as a virtual machine, you will need to set up a virtual cloud network (VCN, subnet). The IP address range to be used for the configuration is indicated in the email sent by R-CCS when you apply to use an instance. In this chapter, you will create the Virtual Cloud Network (VCN), Subnets, Local Peering Gateway (LPG) and Service Gateway (SG) in your compartment.

4.1. Create VCN(Virtual Cloud Network)

A network environment (Virtual Cloud Network (VCN)) is set up in the compartment to connect to the R-CCS tenant.
What is VCN ?

  This virtual network environment is used to virtually manage the network within the cloud tenant and including the data centre.
  By using the network environment with R-CCS subnet address assigned, it is possible to use instances in the cloud from the Fugaku or HPCI environment in R-CCS using a leased line.
  The R-CCS Subnet Address is assigned to the network environment.
  1. Choice VCN of Menue

../_images/OracleCloud-VCN-01.png
  1. Choice Compartment for connection to R-CCS

In the example below, the compartment name is “RequesterComp”.
../_images/OracleCloud-VCN-02.png
  1. Choice Create VCN

../_images/OracleCloud-VCN-03.png
  1. Create VCN

In the CIDR block enter the allocated IP address range (administrative network address and subnet mask starting from 172) as specified by R-CCS.
In this example, the VCN name is “OracleCloudFastConnectServiceVCN”.
If you do not have enough private IP addresses to use, please contact us at “oci-rccs@ml.riken.jp”.
We will issue you with an additional IP address.
../_images/OracleCloud-VCN-04.png
  1. Confirmation that the VCN has been created

../_images/OracleCloud-VCN-05.png

4.2. Subnet configuration

In this section, we create a Subnet of OCI.
In this example used the same CIDR block (IP address range) set in the Subnet and VCN.
However, please set the IP address range in the VCN range according to your usage and environment(resources configured in the Oracle cloud such as security and routing).
Although it is not explained in this document, if you want to use the system from other than R-CCS (Fugaku or HPCI shared storage), please allow public access, and create InternetGateway in the compartment, and set routing rules to allow external access.
What is Subnet ?

  You can divide the network resources in a VCN by network ranges.
  You can allocate networks within a subnet and adjust security, routing, and whether or not external addresses are assigned.
  If you do not plan to use the network within the network address range allocated by R-CCS in any complex way, such as usage or security restrictions, you can
  It is recommended to set the same value as the allocated IP address (CIDR block) set in the VCN.
  1. Select the VCN you created in the previous section

../_images/OracleCloud-Subnet-01.png
  1. Select Create Subnet of VCN page

Click on the Create Subnet button on the VCN page.
In this example, the VCN name is OracleCloudFastConnectServiceVCN.
../_images/OracleCloud-VCN-05.png
  1. Create Subnet

The CIDR can be set within the range of the CIDR set for the VCN. (If you don’t need to isolate the network you are using, please enter the same CIDR you entered for the VCN. In this example, the Subnet name is “OracleCloudFastConnectServiceSubnet”. And the Subnet access is set to Private Subnet in this example, however if you want to access from outside (other than R-CCS), please select “Public Access”.

../_images/OracleCloud-Subnet-03.png
  1. Confirmation that the Subnet has been created

../_images/OracleCloud-Subnet-04.png

4.3. LPG(Local Peering Gateway) configuration

Create a virtual gateway Local Peering Gateway (LPG) to connect the R-CCS tenant and the compartment you have created. By configuring the route table to be created later and routing to the LPG, communication from the resource will be routed through the R-CCS tenant (i.e. from the R-CCS tenant to the Fugaku/R-CCS HPCI shared storage via a leased line). (R-CCS tenant to Fugaku/R-CCS HPCI shared storage via leased line).

What is Local Peering Gateway(LPG) ?

  This is a virtual gateway to connect between virtual networks within an Oracle data centre or a virtual network within a VCN.
  R-CCS tenant also provides LPG, and when LPG is created by this setting, communication between R-CCS tenant and R-CCS tenant via LPG (and to R-CCS) becomes possible (*1).
    (*1) Communication also requires the routing settings described below.
  1. Select LPG of VCN page

../_images/OracleCloud-LPG-01.png
  1. Select Create LPG

../_images/OracleCloud-LPG-02.png
  1. Create LPG

In this example, the name of the LPG is “OracleCloudFastConnectServiceLPG”.
../_images/OracleCloud-LPG-03.png ../_images/OracleCloud-LPG-04.png
  1. Peering setup

On the right of the created LPG “…”, select “Establish a peering connection” from the section.
../_images/OracleCloud-LPG-05.png
Then select “Enter OCID for Local Peering Gateway”.
Please enter the R-CCS LPG OCID provided in the email.
Then press “Establish Peering Connection” to complete the configuration.
../_images/OracleCloud-LPG-06.png
  1. Confirmation of peering

Please make sure that the status is “Available” and the peering status is “Peered”.
If this is not the case after a while, please contact oci-rccs@ml.riken.jp.
../_images/OracleCloud-LPG-07.png

4.4. SG(Service Gateway) configuration

Please make sure that the status is “Available” and the peering status is “Peered”.
If this is not the case after a while, please contact oci-rccs@ml.riken.jp.
  1. Selcet “Service Gateway” and “Create Service Gateway” in VCN Page

../_images/OracleCloud-SG-01.png
  1. Create SG

In this example, the SG name is OracleCloudFastConnectServiceSG.
For the Service item, please select “All NRT Services In Oracle Services Network”.
../_images/OracleCloud-SG-02.png
  1. Confirmation that the state is available

../_images/OracleCloud-SG-03.png