Provision an Aerospike Cloud database cluster
You can provision Aerospike Cloud database clusters through the Cloud console or with the Cloud APIs. This guide includes the steps for doing both.
Prerequisites
- You have already set up an Aerospike Cloud account
- Your Aerospike Cloud account has been granted node entitlements by Aerospike
Provision a cluster
-
Navigate to the clusters page.
Click Provision cluster.
-
Follow the prompts. Choose the options that suit your needs.
If a region or instance type you need is unavailable reach out to support or your Sales Engineer.
-
Choose instance size.
Here you can choose which cloud instance type should provide the underlying infrastructure for your Aerospike database cluster.
-
Advanced configuration.
This step may be skipped during quick start; all necessary fields will be populated for you. If you wish to learn more about Advanced configuration check out this guide.
-
Review and launch
Finalize your selections match what you want and launch the cluster.
-
Create a Cloud API key and retrieve a bearer token. See Using Cloud APIs for how to create a key to use with the API.
-
Make a POST request with a database spec. Example:
Terminal window curl -X POST "https://api.aerospike.cloud/v2/databases" \-H "Authorization: Bearer <bearer-token>" \-H "Content-Type: application/json" \--data '{"name":"my-first-cluster","infrastructure":{"provider":"aws","instanceType":"i4i.large","region":"us-east-1","availabilityZoneCount":2},"aerospikeCloud":{"clusterSize":2,"dataStorage":"memory"},"aerospikeServer":{"namespaces":[{"name":"test"}]}}'