Do you need a backup in the cloud?
If you are developing a new cloud application, and you’re still using infrastructure backup, it’s time to rethink your disaster recovery strategy.
Backup and Restore
Backups are commonly used to restore data after accidental deletion or corruption. Other uses of backup & restoration mechanisms include creating new copies of a resource for testing and troubleshooting.
Backup & Restore is a big part of your Business Continuity & Disaster Recovery (BC & DR) strategy. A complete backup solution designed for your application usually contains:
This article will focus on scenarios where applications are fully hosted in the cloud and a team needs to prevent data loss.
Enhancing your backup strategy in the cloud
In my personal opinion, with cloud-native applications, infrastructure backup services are legacy, and your data protection risks could be mitigated in a better way.
If you have not found a SaaS product and you have decided to make a custom application; instead of maintaining and operating a complex data backup solution, make sure that you design your custom application with:
Note: Search indexes, cache, temporary storage do not require a backup or immutability.
Recommended by LinkedIn
Note: Replication is used to protect data from datacenter loss, however it is important to note that replication itself without immutability does not protect data from corruption.
Note: However, be aware of your cloud resources’ deletion protection. Some resources may not be deleted immediately and to avoid waiting, each redeployment application’s resources will have new names and new IP addresses.
Those points do not free us from the need to have restoration procedures and test them regularly. They only simplify end-to-end automation, enable opportunity for self recovery, provide flexibility for capacity & better performance management.
Finally, Backup & Restore is just a part of BC & DR for your application. The final availability and fault tolerance will also depend on:
Any cloud topic cannot avoid cost questions. What is cheaper, more complex application architecture or more complex backup solution? You will need to evaluate:
Costs make us realistic. With the amount of money likely to be spent on such solutions, it’s probably not realistic to have a same level BC & DR solution for all applications but it can be leveraged with a good architecture design.