Vultr Managed Database for MySQL is a highly available, scalable, and secure database that offers speed and reliability. You can integrate the MySQL database with modern programming languages like Python, PHP, and Node.js to make backends for Content Management Systems (CMS) and web applications. Vultr supports the latest MySQL version in its global locations, and you can choose from CPU-optimized, memory-optimized and general-purpose server types. You can also set up database users, configure trusted sources, and download SSL certificates to securely access the managed databases.
Follow this guide to provision Vultr Managed Databases for MySQL using the Vultr Customer Portal, API, and CLI.
Navigate to Products and select Databases.
Click Add Managed Database.
Choose MySQL as the database engine.
Select the Server Type, Plan, and Number of Replica Nodes.
Choose a server location.
Select a VPC Network.
Enter a database label, review the monthly and hourly cost estimates, and click Deploy Now.
Send a GET
request to the List Managed Database Plans endpoint to view all available plans.
$ curl "https://api.vultr.com/v2/databases/plans" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a POST
request to the Create Database endpoint to create a new database instance.
$ curl "https://api.vultr.com/v2/databases" \
-X POST \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json" \
--data '{
"database_engine" : "mysql",
"database_engine_version" : "8",
"plan" : "vultr-dbaas-startup-cc-1-55-2",
"region" : "jnb",
"label" : "Remote-MySQL-Db"
}'
Visit the Create Database endpoint to view additional attributes to add to your request.
Send a GET
request to the List Managed Databases endpoint to list all database instances.
$ curl "https://api.vultr.com/v2/databases" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json"
List the available database plans.
$ vultr-cli database plan list
Create a new database instance.
$ vultr-cli database create \
--database-engine mysql \
--database-engine-version 8 \
--plan vultr-dbaas-startup-cc-1-55-2 \
--region jnb \
--label Remote-MySQL-Db
List all database instances.
$ vultr-cli database list --summarize
Run vultr-cli database create --help
to view all options.