Create an instance
Before you can use Graph Database (GDB), you must create a GDB instance. This topic describes how to create a GDB instance.
Prerequisites
You have an Alibaba Cloud account. If you do not have one, register for an account on the Alibaba Cloud official website.
To purchase or manage GDB instances, a Resource Access Management (RAM) user must be granted the AliyunGDBFullAccess and AliyunVPCFullAccess permissions. For more information about how to grant permissions, see Preparations for using GDB as a RAM user.
Procedure
- Log on to the GDB console.
In the upper-left corner of the page, click Create GDB Instance.
On the instance purchase page, configure the following parameters:
Configuration Item
Description
Billing Method
Select subscription or pay-as-you-go as needed.
This tutorial uses pay-as-you-go as an example.
Region and Zone
Select a region close to your target users, and then select a zone.
For this tutorial, the Region is China (Hangzhou) and the zone is China (Hangzhou) Zone H.
NoteIf your application is deployed on an ECS instance, make sure the GDB instance and the ECS instance are in the same region. Otherwise, they cannot communicate over the private network.
Series
Select the product series for the instance. This tutorial uses Single Node Edition as the Series.
Number of Nodes
The number of nodes for the instance. This value cannot be changed.
Engine Version
Select the engine version for the instance. This tutorial uses Gremlin as the Engine Version.
For more information about engine versions, see Engine versions.
Storage Class
Select the storage class for the instance. This tutorial uses ESSD PL1 as the Storage Class.
Network Type
The network type for the instance. This is fixed to virtual private cloud (VPC).
VPC Network
Select an available VPC and vSwitch.
If no VPC or vSwitch is available in the current zone, go to the VPC console to create them. After they are created, return to the GDB purchase page and click the
refresh icon.NoteIf your application is deployed on an ECS instance, the ECS instance and the GDB instance must use the same VPC and vSwitch.
vSwitch
Instance Type
The instance type. This value cannot be changed.
Specification
Select the instance specification. This tutorial uses 2 Cores 16 GB (Basic Edition) as the Specification.
Storage Space
Select a storage space size as needed.
Select a Quantity and click Buy Now.
On the Confirm Order page, verify the parameter settings, select the Terms of Service checkbox, and click Activate Now.
Click Management Console to open the Instance List page.
References
To create other types of instances or view detailed parameter descriptions, see Create a primary instance.