This section describes how to create a VPC, a security group, and an RDS for PostgreSQL instance in the production center.
Step 1: Create a VPC and Security Group
- Go to the Create VPC page.
- Select CN-Hong Kong for Region. Configure the basic information, subnet, and IP address.
Configure the VPC and security group by referring to Resource Planning.
Figure 1 Creating a VPC
- Click Create Now.
- In the navigation pane of Network Console, choose Access Control > Security Groups.
- Click Create Security Group.
Figure 2 Creating a security group
- Click Create Now.
Step 2: Create an RDS for PostgreSQL Instance
- Go to the Buy DB Instance page.
- Select CN-Hong Kong for Region. Configure the instance information and click Buy.
Configure the instance by referring to Resource Planning. For details, see Buying an RDS for PostgreSQL Instance.
Figure 3 Selecting a DB engine version
Figure 4 Specifying specifications
Figure 5 Configuring network information as planned
Figure 6 Setting an administrator password
- Confirm the settings.
- To modify your settings, click Previous.
- If you do not need to modify your settings, click Submit.
Resource Planning
Table 1 Resource planning | Category | Subcategory | Planned Value | Description |
| Production center VPC | VPC name | vpc-pg-01 | Specify a name that will be easy to identify. |
| Region | CN-Hong Kong | To reduce network latency, select the region nearest to you. |
| AZ | az1 | - |
| Subnet | 192.168.10.0/24 | Select a subnet with sufficient network resources. |
| Subnet name | subnet-2aa1 | Specify a name that will be easy to identify. |
| DR center VPC | VPC name | vpc-pg-02 | Specify a name that will be easy to identify. |
| Region | AP-Singapore | To reduce network latency, select the region nearest to you. |
| AZ | az1 | - |
| Subnet | 192.168.20.0/24 | Select a subnet with sufficient network resources. |
| Subnet name | subnet-a388 | Specify a name that will be easy to identify. |
| RDS for PostgreSQL instance in the production center | DB instance name/ID | rds-pg-01 04**in03 | Specify a name that will be easy to identify. |
| Region | CN-Hong Kong | To reduce network latency, select the region nearest to you. |
| DB engine version | PostgreSQL 12 | - |
| Floating IP address | 192.168.10.117 | - |
| DB instance type | Primary/Standby | Select Primary/Standby for the production instance. |
| Storage type | Cloud SSD | - |
| AZ | az1, az3 | - |
| Instance class | Dedicated 2 vCPUs | 4 GB | - |
| Storage space | 40 GB | - |
| RDS for PostgreSQL instance in the DR center | DB instance name/ID | rds-pg-02 5f**in03 | Specify a name that will be easy to identify. |
| Region | AP-Singapore | To reduce network latency, select the region nearest to you. |
| DB engine version | PostgreSQL 12 | - |
| Floating IP address | 192.168.20.69 | - |
| DB instance type | Single-node | Select Single for the DR instance. |
| Storage type | Cloud SSD | - |
| AZ | az1 | - |
| Instance class | Dedicated, 8 vCPUs | 16 GB | The CPU and memory specifications of the DR instance must be greater than or equal to those of the primary instance. |
| Storage space | 100 GB | The storage space of the DR instance must be greater than or equal to that of the primary instance. |