Quickly create an ApsaraDB RDS for PostgreSQL instance
You can create an ApsaraDB RDS instance by using the ApsaraDB RDS console or by calling API operations. This topic describes how to quickly create an ApsaraDB RDS for PostgreSQL instance in the console.
Prerequisites
If you use a Resource Access Management (RAM) user to create an RDS instance, the RAM user must have the `AliyunRDSFullAccess` and `AliyunBSSOrderAccess` permissions. For more information about how to grant permissions, see Grant permissions to a RAM user.
When you create a pay-as-you-go RDS instance, your Alibaba Cloud account balance, which includes cash and coupons, must be at least CNY 100.00. For more information about how to top up your account, see Top-up guide.
Before you begin, ensure that you have:
(RAM users only) The
AliyunRDSFullAccessandAliyunBSSOrderAccesspermissions. See Grant permissions to a RAM user
Procedure
This topic describes how to create an ApsaraDB RDS for PostgreSQL instance by using the Quick Creation method. This method requires you to configure only key parameters and helps you get started quickly. To configure other parameters when you create an instance, see Create an ApsaraDB RDS for PostgreSQL instance.
Go to the ApsaraDB RDS console and click Create Instance.
At the top, select the Quick Creation method.
Select a Billing Method.
The following billing methods are supported. Select a billing method based on your needs.
Billing method
Best for
Key benefit
Subscription
If you want to use RDS instances for an extended period of time, select Subscription (prepaid).
Subscription is more cost-effective than pay-as-you-go, and longer subscription durations provide greater discounts.
Pay-as-you-go
If you want to use RDS instances for a short period of time, select Pay-as-you-go (postpaid).
You can create a Pay-as-you-go instance first, and then change the billing method to Subscription after you confirm that the instance meets your requirements. For more information, see Convert a pay-as-you-go instance to a subscription instance.
You can release the instance at any time to stop billing.
Serverless
Serverless instances provide real-time CPU and memory elasticity, and computing resources are billed based on actual usage. If you need to quickly scale computing capabilities to handle workload fluctuations, select Serverless.
This model moves away from fixed-resource billing and dynamically matches resources to workloads on a pay-as-you-go basis, which can significantly reduce costs.
Select a Region.
Select the region in which you want to create the RDS instance.
If you have purchased an Elastic Compute Service (ECS) instance and want the ECS instance and the RDS instance to communicate over the internal network, select the region in which the ECS instance is deployed. Otherwise, the ECS instance can access the RDS instance only over the public network and cannot deliver optimal performance.
ImportantThe region cannot be changed after the RDS instance is purchased. Select the region with caution.
If you want to connect to the RDS instance from a device other than an ECS instance, such as an on-premises server or computer, create the RDS instance in a region close to the device to reduce network latency. In this case, connect to the RDS instance by using a public endpoint.
Select an engine.
This topic describes how to quickly create an ApsaraDB RDS for PostgreSQL instance. The engine is fixed as PostgreSQL. Select a PostgreSQL version based on your needs.
Complete SLR authorization.
Authorization is required only when you use this feature for the first time, and no fees are charged. Click Authorize to grant the service-linked role
AliyunServiceRoleForRdsPgsqlOnEcsto the RDS service. This allows the RDS service to attach elastic network interfaces (ENIs) by using this role to establish network connectivity.Select an instance type.
Instance specifications vary based on instance series. Select a specification based on your business requirements. If the specifications cannot meet your requirements, you can Change instance specifications after the purchase or select Standard Creation at the top of the page for custom configurations. For more information, see Create an ApsaraDB RDS for PostgreSQL instance.
Set the Storage capacity. Capacity must be provisioned in 5 GB increments. The range depends on your instance type and storage type.
Configure the network and vSwitch.
The network type is fixed as virtual private cloud (VPC). Select the VPC in which your ECS instance is deployed. If the ECS instance and the RDS instance are deployed in different VPCs, they cannot communicate over the internal network.
ImportantVPC changes are not supported after an instance is created. To connect to the RDS instance from an ECS instance over the internal network, make sure that the ECS instance and the RDS instance are deployed in the same region and the same VPC. If they are deployed in different VPCs, use the Standard Creation method. For more information about the parameters and procedures, see Create an ApsaraDB RDS for PostgreSQL instance.
If the ECS instance and the RDS instance are in the same VPC but different vSwitches, they can still communicate over the internal network.
(Optional) View more configuration items.
In the quick creation mode, Alibaba Cloud automatically configures default values for other parameters. You can click More to view more information.
On the right side, select Quantity.
The default quantity is 1. You can purchase up to 10 instances at a time. Select a quantity based on your needs.
(Optional) If Billing Method is set to Subscription, you must also set Duration based on your needs.
You can also select Enable Auto-renewal to prevent service interruptions caused by missed renewals.
Click Confirm Order and complete the payment.
View the instance.
Go to the Instances page. In the upper part of the page, select the region in which you created the instance, and then find the newly created instance by Creation Time.
NoteInstance creation takes approximately 1 to 10 minutes. Refresh the page to view the instance.
What's next
References
Standard creation method: Create an ApsaraDB RDS for PostgreSQL instance
Create an RDS instance by calling API operations: Create an ApsaraDB RDS instance
For information about how to create other types of instances, see: