Create the following three VM instances.
Instance List
Name | Region | Zone | Use |
lk-node01 | asia-northeast1 | asia-northeast1-b | primary node |
---|---|---|---|
lk-node02 | asia-northeast1-c | secondary node | |
lk-client | asia-northeast1-a | client node |
- From the navigation menu, select Compute Engine > VM instances.
- Click CREATE INSTANCE.
- Enter the name and select the region and zone for each instance.
- The machine configuration and boot disk for the VM instances are as follows.
Name | Machine configurations | Boot disk | ||||
Machine family | Series | Machine type | Operating system | Version | Size | |
lk-node01 | General-purpose | N1 | n1-standard-1(1 vCPU、3.75GB memory) | Windows Server | Windows Server 2019 Datacenter | 50 |
---|---|---|---|---|---|---|
lk-node02 | ||||||
lk-client |
Under the Machine configuration, select the Machine family, Series and Machine type.
Click Change in the Boot disk section.
Select the operating system and the version, change the size and click Select.
- Configure an additional disk and network settings. Select Management, security, disks, networking, sole tenancy and click disks.
Additional disk, networking tag and host name are as follows:
Name | Additional disk | Networking | ||
Name | Size | Networking tag | Host name | |
lk-node01 | lk-node01-disk01 | 30 | lk-node | lk-node01.internal |
---|---|---|---|---|
lk-node02 | lk-node02-disk01 | lk-node02.internal | ||
lk-client | None | client,allow-login | lk-client.internal |
- Add disk to configure DataKeeper mirroring. Click Add new disk under Additional disks.
Enter the additional disk name, change the size (GB) to 30 and click Done.
- Select Networking and enter the network tag and hostname.
- The network interface configurations are as follows.
Name | Network interface | |||||
Network | Sub network | Primary internal IP | Custom ephemeral IP address | External IP | IP forwarding | |
lk-node01 | lk-vpc | lk-private(10.0.101.0/24) | Ephemeral(custom) | l0.0.101.11 | none | Off |
---|---|---|---|---|---|---|
lk-node02 | 10.0.101.12 | |||||
lk-client | lk-public(10.0.1.0/24) | 10.0.1.50 | Ephemeral |
To modify the default network interface, edit default.
Select the created VPC and subnet and select Ephemeral (custom) for Primary internal IP and enter the internal IP address (the private IP address). Configure the external IP and IP forwarding and click Done.
- After completing the VM instance configuration, click Create to create the VM instance.
- Repeat the same steps for all VM instances.
- Three VM instances are created.
Post your comment on this topic.