For a cluster system in multiple Availability Zones (Multi-AZ), prepare the VPC and create a subnet for each purpose. Separate the subnet for each Availability Zone.
For easier access control, it is recommended that you use the upper bits of the subnet for role identification of the network and use the lower bits for identification of the Availability Zones.
Figure 20.10 Subnet design of the cluster system in multiple Availability Zones (Multi-AZ)
The following is the procedure to create a private subnet in multiple Availability Zones (Multi-AZ).
Prepare the VPC to deploy the system.
Allocate CIDR to the VPC. (172.30.0.0/16 in the figure above)
Select CIDR class according to the network size.
In the VPC, prepare the subnet for each purpose.
Prepare the administrative LAN, the public LAN, the cluster interconnect, and the subnet for data synchronization for each Availability Zone. The network for data synchronization is required only when using mirroring among the servers.
For the prefix length of the subnet, select the appropriate value according to the network size. (The prefix length is 20 in the figure above.)
For the single Availability Zone (Single-AZ), prepare the VPC and create a subnet for each purpose.
Figure 20.11 Subnet design of the cluster system in a single Availability Zone (Single-AZ)
The following is the procedure to create a private subnet in a single Availability Zone (Single-AZ).
Prepare one VPC to deploy the system.
Allocate CIDR to the VPC. (172.30.0.0/16 in the figure above)
Select CIDR class according to the network size.
In the VPC, prepare the subnet for each purpose.
Prepare the administrative LAN, the public LAN, the cluster interconnect, and the subnet for data synchronization for each Availability Zone. The network for data synchronization is required only when using the mirroring among the servers.
For the prefix length of the subnet, select the appropriate value according to the network size. (The prefix length is 19 in the figure above.)
Depending on the selected architectural pattern, additional public subnets may be required.