GithubHelp home page GithubHelp logo

isabella232 / acre-terraform-geo-replication-migration Goto Github PK

View Code? Open in Web Editor NEW

This project forked from redislabs-solution-architects/acre-terraform-geo-replication-migration

0.0 0.0 0.0 23 KB

License: MIT License

HCL 100.00%

acre-terraform-geo-replication-migration's Introduction

Contributors Forks Stargazers Issues MIT License

acre-terraform-geo-replication-migration

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

One instance deploys with public endpoint to simplify migration

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
      • Service Principal
      • Resource Group
        • Storage Account
          • Storage Container
        • Redis Enterprise Cluster in Region 1
        • Temporary Redis Enterprise Cluster in Region 1
        • Redis Enterprise Cluster in Region 2

Built with:

| Getting Started | See Also | License |

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-migration
  cd acre-terraform-geo-replication-migration
  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

As configured this can take ~20 minutes to deploy

Have fun!

Regions

There are default regions configured in the variables.tf file. The ARM template uses 3AZs in the region with AZ support.

Cleanup

Remove the resources that were created.

terraform destroy

See Also

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.

acre-terraform-geo-replication-migration's People

Contributors

dashaun avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.