Create an In-Memory DB Instance
The request creates a new In-Memory DB instance on IONOS DBaaS. Each In-Memory DB instance can contain multiple nodes.
The data center must be provided as a UUID
. The easiest way to retrieve the UUID
is through the Cloud API.
Endpoint
Use a region-specific endpoint from the following list to create an In-Memory DB instance:
https://in-memory-db.de-txl.ionos.com/replicasets
https://in-memory-db.de-fra.ionos.com/replicasets
https://in-memory-db.es-vit.ionos.com/replicasets
https://in-memory-db.gb-lhr.ionos.com/replicasets
https://in-memory-db.us-ewr.ionos.com/replicasets
https://in-memory-db.us-las.ionos.com/replicasets
https://in-memory-db.us-mci.ionos.com/replicasets
https://in-memory-db.fr-par.ionos.com/replicasets
Request
To make authenticated requests to the API, the following fields are mandatory in the request header:
Authorization
yes
string
Provide a header value as Bearer
followed by your token
.
Content-Type
yes
string
Set this to application/json
.
Response
Your values will differ from those in the sample code. It may contain different IDs, timestamps etc.
You may have noticed that the metadata.state
is BUSY
and that the instance is not yet reachable. This is because the cloud will create a completely new instance and needs to provision new nodes for all the requested replicas. This process runs asynchronously in the background and might take up to 30 minutes.
202 Successful operation
Last updated
Was this helpful?