Coder Social home page Coder Social logo

isabella232 / acre-terraform-cron-replication Goto Github PK

View Code? Open in Web Editor NEW

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

0.0 0.0 0.0 436 KB

Deploy Azure Cache for Redis Enterprise (ACRE) in two separate regions with scheduled replication from primary to secondary.

License: MIT License

HCL 100.00%

acre-terraform-cron-replication's Introduction

Contributors Forks Stargazers Issues MIT License

ACRE-TERRAFORM-CRON-REPLICATION

Deploy Azure Cache for Redis Enterprise (ACRE) in two separate regions with scheduled replication from primary to secondary.

| Getting Started | About | See Also | License |

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

  • Azure CLI

Installation

  1. Clone the repo

    git clone https://github.com/redisgeek/acre-terraform-cron-replication.git --recurse-submodule
    cd acre-terraform-cron-replication
  2. Build each of the submodules

    cd com.redisgeek.function.acre.export
    ./mvnw clean package
    cd ../com.redisgeek.function.acre.import
    ./mvnw clean package
    cd ../com.redisgeek.function.azure.storage.copy
    ./mvnw clean package
    cd ..

    Released artifacts could be used here instead

  3. Login via the service principal

    az login --service-principal --username APP_ID --password PASSWORD --tenant TENANT_ID
  4. Deploy the solution

    cd terraform
    terraform plan
    terraform apply

About The Project

Can be used as part of multiple solutions:

  • Provide DR where active-active is not yet available.
  • Provide DR for RediSearch, RedisTimeSeries and RedisBloom, modules in ACRE.
  • Serve as a base for use cases besides DR, like .

The primary cluster, deployed across 3-AZs, will have a 99.99 SLA that is financially backed by Azure. There are no "preview" features included in this reference implementation. The components used in this solution are all Generally Available (GA).

The functions automate the following:

  • export the primary cluster as a snapshot (rdb)
  • copy rdb to secondary region
  • import rdb to secondary (DR) cluster

Overview

Architecture Overview

Built With

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.

Contact

DaShaun - @dashaun

Project Link: https://github.com/redisgeek/acre-terraform-cron-replication

Acknowledgements

acre-terraform-cron-replication'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.