Deploy Mage to your cloud provider using Terraform.
Cloud providers currently supported with Mage Terraform scripts:
Clone Mage’s Terraform template repository:
git clone https://github.com/mage-ai/mage-ai-terraform-templates.git
Install Terraform CLI
brew tap hashicorp/tap && brew install hashicorp/tap/terraform
Follow Microsoft’s instructions to install Terraform on Windows.
If you’re installing Terraform using Homebrew on an Apple M1 laptop, you may get this error:
Error: Incompatible provider version Provider registry.terraform.io/hashicorp/template v2.2.0 does not have a package available for your current platform, darwin_arm64. Provider releases are separate from Terraform CLI releases, so not all providers are available for all platforms. Other versions of this provider may have different platforms supported.
Follow this guide to fix the issue.
Cloud specific Terraform instructions
Read the following documentation for the cloud provider of your choice: