ApsaraDB RDS is a fully managed relational database service that handles provisioning, patching, backups, high availability, and monitoring — so your team can focus on building applications instead of operating databases.
Compared to running MySQL, PostgreSQL, or SQL Server on Elastic Compute Service (ECS) instances or third-party servers, ApsaraDB RDS reduces both upfront investment and ongoing operational effort across six dimensions: cost, availability, reliability, usability, performance, and security.
Shared responsibility overview
The following table shows which tasks Alibaba Cloud handles versus tasks you manage yourself in each deployment model.
| Task |
ApsaraDB RDS |
Self-managed on ECS |
Self-managed on third-party server |
| Hardware procurement |
Alibaba Cloud |
Alibaba Cloud |
You |
| OS installation and patching |
Alibaba Cloud |
You |
You |
| Database software installation |
Alibaba Cloud |
You |
You |
| Database software patching |
Alibaba Cloud |
You |
You |
| High availability architecture |
Alibaba Cloud |
You |
You |
| Automated backups |
Alibaba Cloud |
You |
You |
| Monitoring and alerting |
Alibaba Cloud |
You |
You |
| Scaling |
You and Alibaba Cloud |
You |
You |
| Application optimization |
You |
You |
You |
Advantages of ApsaraDB RDS over self-managed databases
Advantages of ApsaraDB RDS for MySQL instances over self-managed MySQL databases
| Item |
ApsaraDB RDS for MySQL |
Self-managed on ECS |
Self-managed on third-party server |
| Cost-effectiveness |
- Scalable resources with no upfront hardware investment.
- AliSQL — Alibaba Cloud's independent MySQL branch — provides features comparable to MySQL Enterprise Edition at no extra cost. For more information, see Overview of AliSQL features.
- Free backup storage up to twice the purchased storage capacity. For more information, see Backup storage pricing for an ApsaraDB RDS for MySQL instance.
- Internet traffic included at no charge.
- Custom domain names supported at no charge.
- Minor version updates released by Alibaba Cloud, tracking the latest MySQL releases.
|
- Scalable resources, but open source MySQL without optimization.
- Backup storage and Internet traffic billed separately.
|
- High upfront hardware cost.
- Open source MySQL without optimization.
- Independent backup infrastructure required.
- Internet traffic and domain names billed at high rates.
|
| Availability |
|
- Basic edition failover takes approximately 30 minutes.
- High-availability architecture requires additional software or hardware.
- Load balancing requires additional software or hardware.
|
- Standalone by default; server failure can mean hours to weeks of downtime.
- High-availability and load-balancing architectures require additional software or hardware.
|
| Reliability |
|
- High availability requires an architecture that you build and maintain.
- Achieving an RPO of 0 requires purchasing independent R&D services.
|
- Data reliability depends on individual disk integrity.
- Achieving an RPO of 0 requires purchasing independent R&D services.
|
| Usability |
|
- Streaming backups and PITR must be purchased or configured separately.
- Monitoring requires a separate system configured in CloudMonitor.
- Version updates require significant manual effort.
|
- Streaming backups and PITR must be purchased or configured separately.
- An independent monitoring system must be purchased and configured.
- Geo-disaster recovery is difficult to set up and expensive.
- Version updates require significant manual effort.
|
| Performance |
- Instances with Premium Local SSDs deliver high I/O performance.
- Instances with enhanced SSDs (ESSDs) outperform standard SSD-based instances.
- Read-only instances scale read throughput independently from the primary instance.
- Database Autonomy Service (DAS) provides advanced query optimization and diagnostics. For more information, see Overview of DAS.
- SQL Explorer covers most monitoring and performance optimization needs. For more information, see Use the SQL Explorer feature on an ApsaraDB RDS for MySQL instance.
|
- Local disks reduce data reliability; cloud disks require manual architecture planning.
- Cluster deployments are complex and require costly DBA expertise.
|
- Third-party server hardware refreshes lag behind cloud infrastructure improvements.
- Compute-storage separation requires significant capital investment in advanced storage media.
- Cluster deployments require costly DBA expertise and consultancy.
|
| Security |
|
- IP address whitelists, security groups, and VPCs available, but link encryption and disk encryption must be configured separately. BYOK rotation is complex and costly.
- SQL logs must be stored separately, making auditing difficult.
|
- IP address whitelists and VPCs available, but require high consultancy costs to configure.
- Link encryption and disk encryption must be configured separately. BYOK rotation is complex and costly.
- SQL logs must be stored separately, making auditing difficult.
|
Advantages of ApsaraDB RDS for PostgreSQL instances over self-managed PostgreSQL databases
| Item |
ApsaraDB RDS for PostgreSQL |
Self-managed on ECS |
Self-managed on third-party server |
| Cost-effectiveness |
- Scalable resources with no upfront hardware investment.
- AliPG — Alibaba Cloud's PostgreSQL branch — is compatible with open source PostgreSQL and includes proprietary features at no extra cost. For more information, see AliPG benefits.
- Free backup storage up to twice the purchased storage capacity. For more information, see Backup storage pricing for an ApsaraDB RDS for PostgreSQL instance.
- Internet traffic included at no charge.
- Custom domain names supported at no charge.
- Minor version updates released by Alibaba Cloud, tracking the latest PostgreSQL releases.
|
- Scalable resources, but open source PostgreSQL without optimization.
- Backup storage and Internet traffic billed separately.
|
- High upfront hardware cost.
- Open source PostgreSQL without optimization.
- Independent backup infrastructure required.
- Internet traffic and domain names billed at high rates.
|
| Availability |
- RDS Basic Edition: failover completes in approximately 15 minutes.
- RDS High-availability Edition: failover completes within 30 seconds using Alibaba Cloud's proprietary high-availability architecture.
- Read-only instances available for load balancing. For more information, see Overview of read-only ApsaraDB RDS for PostgreSQL instances.
|
- Basic edition failover takes approximately 30 minutes.
- High-availability and load-balancing architectures require additional software or hardware.
|
- Standalone by default; server failure can mean hours to weeks of downtime.
- High-availability and load-balancing architectures require additional software or hardware.
|
| Reliability |
- Automated data replication between primary and secondary instances, plus automated data and log backups.
- RPO customization lets you configure an RPO of 0.
|
- High availability requires an architecture that you build and maintain.
- Achieving an RPO of 0 requires purchasing independent R&D services.
|
- Data reliability depends on individual disk integrity.
- Achieving an RPO of 0 requires purchasing independent R&D services.
|
| Usability |
|
- Streaming backups and PITR must be purchased or configured separately.
- Monitoring requires a separate system configured in CloudMonitor.
|
- Streaming backups and PITR must be purchased or configured separately.
- An independent monitoring system must be purchased and configured.
|
| Performance |
|
- Local disks reduce data reliability; cloud disks require manual architecture planning.
- Experienced database administrators (DBAs) must be recruited.
|
- Third-party server hardware refreshes lag behind cloud infrastructure improvements.
- Compute-storage separation requires significant capital investment in advanced storage media.
- Experienced DBAs must be recruited.
|
|
Security
|
|
-
Protection: whitelists, security groups, and VPC network isolation.
-
Encryption: The connection must be encrypted separately.
|
|
Advantages of ApsaraDB RDS for SQL Server instances over self-managed SQL Server databases
| Item |
ApsaraDB RDS for SQL Server |
Self-managed on ECS |
Self-managed on third-party server |
| Cost-effectiveness |
- Scalable resources with no upfront hardware investment.
- SQL Server Web Edition supported, providing a cost-effective licensing option.
- Free backup storage equal to half the purchased storage capacity. For more information, see Backup storage fees of an ApsaraDB RDS for SQL Server instance.
- Internet traffic included at no charge.
|
- Scalable resources, but SQL Server Web Edition is not supported.
- Backup storage and Internet traffic billed separately.
|
- High upfront hardware cost.
- SQL Server Web Edition is not supported.
- Independent backup infrastructure required.
- Internet traffic and domain names billed at high rates.
|
| Availability |
- RDS Basic Edition: failover completes in approximately 15 minutes.
- RDS High-availability Edition / RDS Cluster Edition: failover completes within 30 seconds using Alibaba Cloud's proprietary high-availability architecture.
- RDS Cluster Edition: read-only instances available for load balancing. For more information, see Overview of read-only ApsaraDB RDS for SQL Server instances.
- RDS Cluster Edition: read/write splitting routes traffic via a dedicated endpoint. For more information, see Overview of read/write splitting.
|
- Basic edition failover takes approximately 30 minutes.
- High-availability and load-balancing architectures require additional software or hardware.
|
- Standalone by default; server failure can mean hours to weeks of downtime.
- High-availability and load-balancing architectures require additional software or hardware.
|
| Reliability |
- Automated data replication between primary and secondary instances, plus automated data and log backups.
- RDS Cluster Edition delivers an RPO of 0.
|
- High availability requires an architecture that you build and maintain.
- Achieving an RPO of 0 requires purchasing independent R&D services.
|
- Data reliability depends on individual disk integrity.
- Achieving an RPO of 0 requires purchasing independent R&D services.
|
| Usability |
- Automated backup and restore supports PITR, database-level restore, and streaming backups with minimal performance impact. For more information, see Enable automatic backups for an ApsaraDB RDS for SQL Server instance.
- Built-in monitoring and alerting covers all instance and database metrics at a few-seconds granularity. Alerts are delivered by text message, email, or DingTalk — with a free text message quota based on your purchase. For more information, see Manage an alert rule.
- Geo-disaster recovery is in development.
|
- Streaming backups and PITR must be purchased or configured separately.
- Monitoring requires a separate system configured in CloudMonitor.
|
- Streaming backups and PITR must be purchased or configured separately.
- An independent monitoring system must be purchased and configured.
- Geo-disaster recovery is difficult to set up and expensive.
|
| Performance |
- Instances running SQL Server 2008 R2 with Premium Local SSDs deliver high I/O performance. Instances running SQL Server 201x support compute-storage decoupling for improved hardware utilization.
- Instances with ESSDs outperform standard SSD-based instances. RDS optimizes ESSD parameters for SQL Server workloads, giving these instances an edge over self-managed databases on ECS.
- Read-only instances scale read throughput independently.
- DAS provides advanced query optimization and diagnostics. For more information, see Overview of DAS.
|
- Local disks reduce data reliability; cloud disks require manual architecture planning.
- Cluster deployments are complex and require costly DBA expertise and consultancy.
|
- Third-party server hardware refreshes lag behind cloud infrastructure improvements.
- Compute-storage separation requires significant capital investment in advanced storage media.
- Cluster deployments require costly DBA expertise and consultancy.
|
| Security |
|
- IP address whitelists, security groups, and VPCs available, but link encryption and disk encryption must be configured separately. BYOK rotation is complex and costly.
- SQL logs must be stored separately, making auditing difficult.
|
- IP address whitelists and VPCs available, but require high consultancy costs to configure.
- Link encryption and disk encryption must be configured separately. BYOK rotation is complex and costly.
- SQL logs must be stored separately, making auditing difficult.
|
| Legal liability |
ApsaraDB RDS for SQL Server includes a valid license. No licensing liability is imposed on you. |
A valid license must be purchased separately. |
A valid license must be purchased separately, or legal liability may apply. |