ess-acppo / nsl-infra

This repository contains code to assist installing the application stack as required by the NSL apps (editor, mapper and services) in automated fashion. It also contains code to enable CI/CD using jenkins in groovy...
Other
1 stars 5 forks source link

Failover strategy #7

Closed ArnabRaxit closed 6 years ago

ArnabRaxit commented 6 years ago
  1. ASG with min=max=1 instance
  2. Take a backup of the instance as AMI every 5 mins.
  3. Update launch configuration with latest AMI. ( since AWS doesn't support editing launch configs; create a new one and attach to the ASG)

With this strategy, MTTR is ≈ 4 mins

moziauddin1 commented 6 years ago

We are not using ASG/LC now as the application is now backed up on daily basis. And pgdump every two hours (planned). The project team has determined this to be acceptable level of availability for this application.