Skip to content

Can replication protect against disaster events ?

0

Hi everyone. there is an AWS doc about disaster recovery , it says: **Continuous replication of data has the advantage of being the shortest time (near zero) to back up your data, but may not protect against disaster events such as data corruption or malicious attack (such as unauthorized data deletion) as well as point-in-time backups. **

does anyone know why? the reason to store a backup and replication is preventing this issue! thanks https://docs.aws.amazon.com/whitepapers/latest/disaster-recovery-workloads-on-aws/disaster-recovery-options-in-the-cloud.html

asked 2 years ago195 views

2 Answers
0

There are 2 approaches to DR..

  • High Availability
  • Diaster Recovery

High availability (HA) is a system's ability to operate continuously, even if some components fail. It's often used in industries where system failures could be catastrophic (Replication/Multiple Instances)

Disaster recovery (DR) is a plan that helps an organization regain access to its IT systems after a disaster. (i.e. Backup and Restore )

Both approaches should be used as they both are used for different reasons and have different RTOs

EXPERT

answered 2 years ago

  • If someone corrupts/deletes your files/data (Diaster), the corruption gets replicated also. This is why you need backup also to restore to a point before corruption

  • are you sure? I think if we have the ' delete marker replication' option as false(default), it wont delete object in destination. https://docs.aws.amazon.com/AmazonS3/latest/userguide/delete-marker-replication.html

  • Correct.. However, how are you going to maintain deleted objects that should be deleted in the destination bucket? Do you have a data retention policy? Whats the process if the bucket grows too big and costs increase?

    These need to be designed into the solution also.

  • yes. so you think that the AWS doc said that sentence (may not protect..). because if 'delete marker replication' is True, then if someone corrupts/deletes our data (Diaster), the corruption gets replicated also. yes?

  • Its not specific about delete markers, however yes its saying that highly availble systems may not meet your diaster recovery requirements based on certain scenarios such as data replication. The same goes for MULTI-AZ RDS instances. Its highly availble but data corruption will also be replicated to the "DR" site also.

    A good idea is to list out your Diasters you are trying to plan for and how you mitigate against them

0

It's not a matter of deletions versus other database operations. It is much more fundamental. There are 4 kinds of disasters considered in typical disaster protection plans:

A. Wrong data: Something, maybe a bug, human error, cyberattack or anything else makes a wrong change to the stored data on a server. A replication system will copy this wrong change to all the spare servers, as it is technically no different from a right change. Maybe something messes up the names/prices of products in a web shop, maybe it changes the list of paid or unpaid invoices, or changes end users accomplishments. Recovery requires either figuring out what the right data should be and changing it back, or simply restoring a backup of what was stored 1, 2, 3, 7, 31 or 200 days ago then somehow repeating the input that should have happened since then. So BACKUPS are the solution for this kind of disaster.

B. Lost computer(s): Something physically destroys one or more servers with everything in them. It could be a power failure, a fire, a flood, a volcano, or just a failed disk controller. In this case a replicated server outside the disaster zone will hold what was in the lost server moments before disaster, and letting the replicated server take over will have everything back to normal in a few seconds or minutes. This also works if a server needs to be taken offline for planned maintenance, though in that case, you may have a command that makes the affected server stop making changes and do a final transfer before going to sleep. So REPLICATION is the solution for this kind of disaster.

C. Company death. The owning Person, or Business itself is destroyed, killed or bankrupted. In this case neither of the cloud recovery methods will help, but maybe some other people or corporate entity may have a prepared authority and ability to take over and continue whatever needs to be done. So a LAST WILL AND TESTAMENT plus INSURANCE (for unpaid AWS invoices) is the solution for this kind of disaster.

D. Provider death. The hosting provider (in this case Amazon Web Services) is destroyed, discontinued, killed or bankrupted. In this case AWS cannot save you, because they are gone. But having a way to replicate or restore systems and data at a competing hosting provided can keep your own business going. Here BACKUPS and REPLICATION are still the solutions, but the backups have to be stored at a neutral location such as your own company office, incurring storage and equipment costs; and the REPLICATION has to be done over the big public Internet, incurring traffic charges.

However in the end, the planning document will have to state "If X, Y and Z, it won't matter anymore" .

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.