Documentation

documentation
Managed Databases

Managed Databases

UpCloud Managed Database is a database-as-a-service offering a carefree option for running well-known open-source databases in the cloud. It’s is deployable via the users’ UpCloud Control Panel with configuration options including the choice in database management systems, clustered or single-node systems, as well as a number of resource plans. Managed Databases are available in every UpCloud data centre location.

Database plans

Managed Databases are offered with 2 and 3 node clustered solutions as well as single node unclustered options. The nodes can be configured with the required resources by selecting from the available plans. Each plan includes a set number of CPU cores, system memory, storage and backups. The Managed Database plans are priced according to the number of nodes and the resources allocated to each node.

1 node

Memory CPU cores Storage Backups Price
2 GB 1 25 GB 24 hours $30/mo
4 GB 2 50 GB 24 hours $60/mo
4 GB 2 100 GB 24 hours $75/mo

2 nodes

Memory CPU cores Storage Backups Price
4 GB 2 50 GB 7 days $100/mo
4 GB 2 100 GB 7 days $150/mo
8 GB 4 50 GB 7 days $175/mo
8 GB 4 100 GB 7 days $200/mo
16 GB 6 100 GB 7 days $400/mo
16 GB 6 250 GB 7 days $560/mo
32 GB 8 100 GB 7 days $750/mo
32 GB 8 250 GB 7 days $800/mo

3 nodes

Memory CPU cores Storage Backups Price
4 GB 2 100 GB 14 days $175/mo
4 GB 2 200 GB 14 days $225/mo
8 GB 4 100 GB 14 days $280/mo
8 GB 4 200 GB 14 days $325/mo
16 GB 6 200 GB 14 days $600/mo
16 GB 6 500 GB 14 days $650/mo
32 GB 8 200 GB 14 days $1120/mo
32 GB 8 500 GB 14 days $1220/mo

Note that the database management system and host operating system use a small portion of the allocated storage capacity, typically 1 – 2 GB.

Available databases

Currently, available database systems include the following.

MySQL

MySQL is the world’s most popular enterprise-grade open-source relational database management system. Managed Databases utilise MySQL Community Edition which is supported by a huge and active community of open source developers.

PostgreSQL

PostgreSQL, also known as Postgres, is a free and open-source relational database management system emphasizing extensibility and SQL compliance.

Supported extensions

address_standardizer hstore pgrouting postgres_fdw
address_standardizer_data_us intagg pgrowlocks promscale
aiven_extras intarray pgstattuple rum
bloom isn plcoffee sslinfo
btree_gin ltree plls tablefunc
btree_gist pg_buffercache plperl timescale_analytics
chkpass pg_cron plpgsql timescaledb
citext pg_partman plv8 tsearch2
cube pg_prometheus postgis tsm_system_rows
dblink pg_repack postgis_legacy unaccent
dict_int pg_similarity postgis_raster unit
earthdistance pg_stat_statements postgis_sfcgal uuid-ossp
fuzzystrmatch pg_trgm postgis_tiger_geocoder
hll pgcrypto postgis_topology

Database features

High availability

In clustered database deployments, nodes are created on physically separated backend hosts to ensure redundancy in case of hardware failure.

In normal operation, the DNS entry of the database points to a primary node. One of the replicas will be promoted automatically in case of a primary failure.

Scalability

Users are able to scale their Managed Database services both vertically and horizontally by increasing or decreasing the number of nodes in the cluster or the resources allocated to each node.

Changes to the Managed Database configuration are handled seamlessly in the background with minimal interruption to the services.

Connectivity

Managed Databases can be reached via the user’s private UpCloud Utility network or optionally through the public network connection. Private connection is enabled by default. This makes the database accessible for all the user’s Cloud Servers within the same data centre as the Managed Database.

At the configuration settings, users can set a preferred hostname. The hostname is used to automatically create DNS entries using a unique subdomain name. Each Managed Database can have up to four DNS entries, one for private and another for public access, as well as read-only access for each.

Private: example-mctapmghasah.db.upclouddatabases.com
Private read-only: replica-example-mctapmghasah.db.upclouddatabases.com
Public: public.example-mctapmghasah.db.upclouddatabases.com
Public read-only: public-replica-example-mctapmghasah.db.upclouddatabases.com

Maximum connections

To ensure a consistent experience, concurrent database connections are limited based on the node resources.

Memory MySQL PostgreSQL
2 GB 150 25
4 GB 400 100
8 GB 800 200
16 GB 1600 400
32 GB 3200 800

Data metering

Both inbound and outbound network transfer is unmetered by the Managed Database. The database plans do not include transfer quota nor will the Managed Databases benefit from the user’s Network Transfer Pool. However, any network transfer via the public network is metered normally user’s Cloud Servers utilising the Network Transfer Pool.

Data transfer via the Utility network is always free of charge.

IP access control

Users can set connection permissions to specific IP addresses either by selecting from the list of Cloud Servers on the user’s account or manually entering IP addresses.

By default, all Utility network IP addresses are allowed. Setting a permitted IP address will exclude connection from all other addresses unless “allow all” is enabled for either public or Utility networks.

Maintenance

Users can set their preferred maintenance windows at their UpCloud Control Panel.

Normal version upgrades are performed in place. Users will be provided with the ability to opt-in for any major upgrades.

Backups

Each Managed Database plan includes automated backups. Backup retention is set to either 1, 7 or 14 days for 1, 2, and 3 node clusters respectively.

The databases are backed up automatically with full backups daily and the write-ahead log (WAL) is recorded continuously. Full backups are version-specific binary backups, which when combined with WAL allow consistent recovery to a point in time (PITR).

All backups are encrypted and stored off-site independently from the user’s Managed Database without using the cluster’s storage capacity.

The 1-day backups allow the user to go back to any given minute within the last 24 hours. 2-node plans offer 7 days of backups and 3-node plans include 14 days.

Locations

Helsinki (HQ)

In the capital city of Finland, you will find our headquarters, and our first data centre. This is where we handle most of our development and innovation.

London

London was our second office to open, and a important step in introducing UpCloud to the world. Here our amazing staff can help you with both sales and support, in addition to host tons of interesting meetups.

Singapore

Singapore was our 3rd office to be opened, and enjoys one of most engaged and fastest growing user bases we have ever seen.

Seattle

Seattle is our 4th and latest office to be opened, and our way to reach out across the pond to our many users in the Americas.