Skip to content

Deploy Azure Cache for Redis Enterprise (ACRE) in two separate regions with active geo-replication

License

Notifications You must be signed in to change notification settings

Redislabs-Solution-Architects/acre-terraform-geo-replication-simple

Repository files navigation

Contributors Forks Stargazers Issues MIT License

Terraform CI

Deploy to Azure

acre-terraform-geo-replication-simple

Deploy Azure Cache for Redis Enterprise (ACRE) in two separate regions with active geo-replication

Use the latest "azurerm" Terraform provider, combined with the latest ARM templates, to deploy Azure Cache for Redis Enterprise (ACRE) in two separate regions with active geo-replication

  • Tenant
    • Subscription
      • Resource Group
        • Redis Enterprise Cluster in Region 1
        • Redis Enterprise Cluster in Region 2

Built with:

Secrets

  • AZURE_SUBSCRIPTION_ID
  • AZURE_TENANT_ID
  • AZURE_CLIENT_SECRET
  • AZURE_CLIENT_ID

Getting Started

  git clone https://github.com/redisgeek/acre-terraform-geo-replication-simple
  cd acre-terraform-geo-replication-simple
  terraform init

The output should include:

  Terraform has been successfully initialized!

Copy the variables template.

cp terraform.tfvars.example terraform.tfvars

Update terraform.tfvars with your secrets and set the regions you want to deploy to.

vi terraform.tfvars
terraform plan
terraform apply

Have fun!

Regions

There are default regions configured in the variables.tf file. The ARM templates are expecting 3 AZs in the primary and none in the secondary.

Cleanup

Remove the resources that were created.

terraform destroy

See Also

acre-terraform-geo-replication

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Pull-requests are welcomed!

License

Distributed under the MIT License. See LICENSE for more information.

About

Deploy Azure Cache for Redis Enterprise (ACRE) in two separate regions with active geo-replication

Topics

Resources

License

Stars

Watchers

Forks

Languages