ApsaraDB for MyBase is a dedicated database cluster solution for enterprises that need OS-level access, independent O&M, and configurable auto scaling — while Alibaba Cloud manages the underlying hardware.
Choose ApsaraDB for MyBase if you need any of the following:
-
Dedicated, single-tenant hosts not shared with other accounts
-
OS-level access to run commands like
topandlsof, or to build custom monitoring -
Independent O&M with your own operational procedures and compliance controls
-
Auto scaling to match compute capacity to traffic without manual intervention
-
Read/write splitting to offload read traffic from the primary instance
How MyBase works
MyBase organizes resources in a three-layer hierarchy:
| Layer | Description |
|---|---|
| Dedicated cluster | A pool of physical hosts reserved exclusively for your account |
| Host | An individual server within the cluster where database instances run |
| Instance | A database engine provisioned on a host |
Billing: You pay only for the hosts you create and the Enhanced Solid-State Drives (ESSDs) you use. Dedicated clusters, database instances, memory, and local disks are included at no additional charge. For details, see Billing.
Create a dedicated cluster, host, and instance
Set up the cluster before provisioning database instances:
-
Create a dedicated cluster to define the resource pool.
-
Create a host within the cluster to add physical capacity.
-
Create an instance to provision the database engine on the host.
After this setup, you can schedule resources and manage hosts and instances directly from the dedicated cluster.
Enable auto scaling for traffic spikes
Configure auto scaling rules so that Elastic Compute Service (ECS) instances are created automatically when traffic increases and released during off-peak hours. This keeps compute costs proportional to actual workload without manual intervention. Auto scaling is suitable for applications that undergo workload fluctuations or that process stable workloads.
Auto scaling provides two properties:
-
High elasticity: ECS instances are created and released based on the rules you define — no manual operations needed.
-
High availability: Auto scaling monitors running ECS instances, releases stopped instances promptly, and replaces them.
To configure auto scaling, see Configure elastic scaling for instances to handle traffic spikes.
Access OS-level controls and custom monitoring
MyBase grants users some OS permissions and database permissions so your team can perform independent O&M on the database host. With OS access, you can:
-
Run
toporlsofto inspect process status in real time -
Create custom monitoring dashboards that group metrics by line of business or by instance priority
A bastion host secures all connections to database hosts and records every operation in operation logs, making audits straightforward. You can search for operation logs and view log details.
To set up bastion host access:
Scale read capacity with read-only instances
Add read-only instances and enable read/write splitting to distribute read traffic away from the primary instance. This increases overall read throughput and prevents read-heavy workloads from degrading write performance.
For setup instructions, see Create a read-only ApsaraDB MyBase for MySQL instance.
Handle sustained high workloads with resource overcommitment
For clusters running multiple instances of the same specifications, resource overcommitment lets you maximize host utilization. Monitor host performance and add hosts as demand grows.
When a short-term surge in requests occurs, the elastic scaling feature temporarily upgrades instance specifications — adding CPU cores and memory — for a defined period. When that period ends, MyBase automatically restores the original specifications.
For configuration details, see: