Cloud Provider Selections with the SkySQL previous release DBaaS API


This reference page details how to select cloud providers with the SkySQL previous release DBaaS API for SkySQL previous release.

SkySQL is available in regions worldwide on Amazon AWS and Google GCP.

Select a Cloud Provider

A cloud provider is selected during service launch. When using the REST API, select a cloud provider by calling the the /services API endpoint with the provider attribute set.

For example, prepare a request body containing the desired service options in a file called request-service.json:

$ cat > request-service.json <<EOF
   "name": "doc-test-tx-single",
   "provider": "AWS",
   "region": "us-east-2",
   "release_version": "MariaDB Enterprise Server 10.6.4-1",
   "replicas": "0",
   "size": "Sky-2x8",
   "tier": "Foundation",
   "topology": "Single Node Transactions",
   "tx_storage": "100",
   "volume_iops": "100"

Then use curl to call the /services API endpoint to create (launch) a new database service and save the response to the response-service.json file:

$ curl --location --request POST \
   --header 'Authorization: Bearer SKYSQL_BEARER_TOKEN' \
   --header 'Content-type: application/json' \
   --data '@request-service.json' \ \
   | tee response-service.json | jq .

Upon success, the command will return JSON with details about the new service.

Available Cloud Providers

Cloud provider choices are specific to the topology.




Amazon Web Services


Google Cloud Platform