2. AGENDA
What is Disaster Recovery
Terminologies
Demo
2022
Disaster Recovery Strategies - AWS Siklab
2022
2
3. WHAT IS DISASTER
RECOVERY?
It is the process of maintaining or reestablishing the
infrastructure following a natural or human-induced
disaster.
2022 Disaster Recovery Strategies - AWS Siklab 2022 3
4. WHAT IS A DISASTER?
• NATURAL DISASTER (ex. FIRE, FLOOD, STORM,
EARTHQUAKE)
• DDOS ATTACK
• HUMAN ERROR
• SABOTAGE
• POWER OUTAGE
• EQUIPMENT FAILURE
2022 Disaster Recovery Strategies - AWS Siklab 2022 4
5. TERMINOLOGIES
RPO (Recovery Time Objective)
• Maximum amount of time that can be lost after a recovery from a disaster.
• How far back?
• Acceptable Data Loss
RTO (Recovery Point Objective)
• Maximum acceptable time that an application, computer, network, or system
can be down after an unexpected disaster.
• How long to recover?
• Total Downtime
2022 Disaster Recovery Strategies - AWS Siklab 2022 5
6. 2022 Disaster Recovery Strategies - AWS Siklab 2022 6
Acceptable Data Loss Application Down Time
RPO
Last Backup Operations Resume
RTO
8. 2022 Disaster Recovery Strategies - AWS Siklab 2022 8
PRIMARY
us-east-1 (N.Virginia)
DR REGION
ap-southeast-1 (Singapore)
ADD this Data to Application and it will write it in the database.
{
"title": "JL AWS Siklab 3",
"published": "false",
"description": "test 3",
"updatedAt": "2022-01-01T01:00:01.028Z",
"createdAt": "2022-01-01T01:00:01.028Z"
}
Go to EC2
* Create an AMI and copy it to DR Region
Go to RDS
* Take a snapshot and copy it to DR Region
9. 2022 Disaster Recovery Strategies - AWS Siklab 2022 9
ACTIVE/ACTIVE
• Traffic is load-shared between interfaces based on flow. If one connection becomes
unavailable, then all traffic is routed through the other connection..
ACTIVE/PASSIVE
• One connection handles traffic, and the other is on standby. If the active connection
becomes unavailable, then all traffic is routed through the passive connection.
DISASTER RECOVERY
OPTIONS
10. • Backup and Restore
• Deploy data, infrastructure, configuration and application code.
• Pilot Light
• Resources for data replication such as database and server storage are always on.
Other resources such as servers are “switched off” and are only used during a
disaster recovery.
• Warm Standby
• Infrastructure is scaled down but is fully functional. During a disaster, application is
scaled up.
• Multi-site / Active-Active
• Your workload simultaneously in multiple Regions.
2022 Disaster Recovery Strategies - AWS Siklab 2022 10
14. MULTI-SITE / ACTIVE -
ACTIVE
2022 Disaster Recovery Strategies - AWS Siklab 2022 14
15. HOW CAN WE ACHIEVE THIS IN
AWS?
• Use Infrastructure As Code (IAC). Deploy the infrastructure with data pulled from replication.
• Use AWS BACKUP for data replication of database and server storage
• Use AWS Cloudendure / AWS Elastic Disaster Recovery
• Use AWS Route 53
• Design your DR with Multi Account or Multi Region
2022 Disaster Recovery Strategies - AWS Siklab 2022 15
17. 2022 Disaster Recovery Strategies - AWS Siklab 2022 17
Go to DR Region, Singapore
Go to EC2, create ec2 from ami backup
Go to RDS, restore the database from snapshot
Get the Database Endpoint
Go to EC2, change the DB Endpoint to DR Database
18. THANK YOU
John Louis Garcia
johnlouisgarcia@gmail.com
2022 Disaster Recovery Strategies - AWS Siklab 2022 18