Module 13 - Backup and Recovery Flashcards
What are some disasters you can prepare for?
hardware or software failure, a network outage, a power outage, physical damage to a building, human error, or natural disasters
What are the key components of a DR plan?
Testing - make sure your needs are being met
Resources - run your recovery path in prod and verify your resources are sufficient
Planning - establish recovery patterns and regularly test them
What are the concepts related to availability?
High availability - minimizing downtime
Fault-tolerance - built-in redundancy of components
Backup
Disaster recovery - plan for instances, AZs, and Regions failing
What is RPO?
Recovery Point Objective: the acceptable amount of data loss measured in time. E.g. 12 hours. The maximum acceptable amount of time since the last data recovery point.
What is RTO?
Recovery time objective: the time it takes after a disruption to restore a business process to its service level, as defined by the operational level agreement (OLA)
What do you need to consider in case of disaster?
Not just code and content (instances and storage) but also DNS entries, network firewall rules, and virtual machines or instances.
What are the data backup options?
S3, S3 Glacier, EBS, Snowball, DataSync to EFS.
How does auto-recovery of an EC2 instance work?
The instance will be rebooted (on new hardware if necessary), but it will retain its Instance ID, IP address, Elastic IP addresses, EBS volume attachments, and other configuration details. For the recovery to be complete, you’ll need to make sure that the instance automatically starts up any services or applications as part of its initialization process
What should you do with your AMIs to prepare for disaster?
Configure and identify your own AMIs so that they can launch as part of your recovery procedure. They should be preconfigured with your OS of choice, plus the appropriate pieces of the application stack.
How can you quickly modify network settings in a disaster?
Route 53 - includes global load balancing
ELB - You can pre-allocate your load balancer to identify its DNS name and simplify running your DR plan
Ho can you back up your databases?
Global tables with DynamoDB are cross-region and have replicas.
RDS - share snapshots,
What services speed up your recovery?
CloudFormation templates
implement an Image Builder pipeline that creates the AMIs you need.
Use scripts to start instances or provision other resources
What is AWS Backup?
A fully-managed backup service. Helps you meet regulatory compliance obligations and meet business continuity goals.
Works with AWS Organizations across accounts and regions. Centrally deploys data protection policies to configure, manage, and govern your backup activity.
What kinds of environments does AWS Backup support?
Hybrid - with Storage Gateway (compatible with EBS)
Cloud-native - via a console. Supports Amazon EBS, Amazon RDS, DynamoDB, Amazon EFS, Amazon FSx, Amazon EC2, and Storage Gateway
What is in an AWS Backup plan?
A set of rules that define your backup. The rules include when to start the backups, the duration of the backup window, and the retention period.
Automated backup scheduling.
Uses tags to affect certain resources.