• Logo
    Charmed MySQL
  • canonical.com/data/mysql
  • More resources
    • Discourse
    • Matrix
    • GitHub
Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Charmed MySQL 8.4 documentation
Charmed MySQL 8.4 documentation
  • Home
  • Tutorial
  • How-to guides
    • Deploy MySQL
      • VM clouds
        • LXD
        • Sunbeam
        • MAAS
        • AWS EC2
        • GCE
        • Azure
      • K8s clouds
        • Canonical K8s
        • MicroK8s
        • GKE
        • EKS
        • AKS
      • Terraform
        • Charm module
        • Product module
      • Multi-AZ
        • GCE (VM)
        • GKE (K8s)
      • Juju spaces
      • Juju storage
    • Integrate with applications
    • Scale your cluster
    • Manage passwords
    • Access MySQL Shell
    • TLS encryption
      • Enable TLS
      • Disable TLS
      • Manage private keys
    • External network access
    • Primary switchover
    • Back up and restore
      • Configure S3 AWS
      • Configure S3 RadosGW
      • Create a backup
      • Restore a backup
      • Migrate a cluster
    • Monitoring (COS)
      • Enable monitoring
      • Enable alert rules
      • Enable tracing
    • Refresh (upgrade)
      • Upgrade Juju
      • Single cluster
        • Refresh
        • Roll back
      • Multi-cluster
        • Refresh
        • Roll back
    • Cluster-cluster replication
      • Deploy
      • Clients
      • Switchover/failover
      • Recovery
      • Removal
    • Data migration
      • Migrate data from MySQL 8.0 to 8.4
      • Migrate data via mysqldump
      • Migrate data via mysqlsh
      • Migrate data via mydumper
      • Migrate data via backup/restore
    • Contribute
  • Reference
    • Release notes
      • VM charm
      • K8s charm
    • System requirements
    • Performance profiles
    • Charm testing
    • Troubleshooting
      • Known scenarios
      • Recovering from quorum loss
      • SoS report
    • Charm statuses
    • Alert rules
    • Plugins/extensions
    • Contacts
  • Explanation
    • Architecture
    • Interfaces and endpoints
    • Users
    • Roles
    • Logs
      • Audit logs
    • Self-healing
    • Security
      • Cryptography
    • Charm flowcharts
Back to top
Contribute to this page

How to deploy using TerraformΒΆ

Terraform is an infrastructure automation tool to provision and manage resources in clouds or data centers. To deploy Charmed MySQL using Terraform and Juju, you can use the Juju Terraform Provider .

For an in-depth introduction to the Juju Terraform Provider, read this Discourse post

  • Charm module
  • Product module
Copyright © 2025-2026
Last updated on Mar 20, 2026
Manage your tracker settings
Contents
  • How to deploy using Terraform