Managed MySQL
Okustera Managed MySQL delivers enterprise-grade, high-availability relational storage powered by MySQL 8.0 with synchronous multi-master replication.
It ensures zero data loss (RPO = 0) across failure domains, automated node recovery, non-blocking hot backups, and intelligent connection routing.
Architectural Highlights
- True Synchronous Multi-Master Replication: Transactions are certified and committed across quorum members simultaneously.
- Zero Data Loss: Eliminates replication lag common in asynchronous master-replica setups.
- Self-Healing State Transfers: If a node restarts or is replaced, it automatically re-synchronizes with the cluster without manual intervention.
- Managed Connection Routing: Integrated connection pooling, read/write routing, and automated backend failover across healthy cluster nodes.
- Encrypted S3 Backups: Automated non-blocking physical backups stored in KMS-encrypted Okustera S3 object storage.
Provisioning with Terraform
Declare Managed MySQL clusters using the official Okustera Terraform provider:
resource "okustera_database_mysql" "production_mysql" {
name = "production-mysql"
namespace = "production"
instances = 3
storage_size = "50Gi"
database_name = "app_db"
username = "app_user"
password = var.mysql_password
}
output "mysql_primary_endpoint" {
value = okustera_database_mysql.production_mysql.primary_endpoint
}
output "mysql_connection_uri" {
value = okustera_database_mysql.production_mysql.connection_uri
sensitive = true
}
Refer to the Terraform Resource Reference for full argument documentation.
Connecting via CLI or Application
# Connect to the managed MySQL read-write endpoint
mysql -h <mysql-primary-endpoint> -P 3306 -u app_user -p