UPLOAD

    3.5K

    8 Disaster Recovery on AWS

    Published: February 16, 2019

    AWS Çözümpark Workshop

    Comments

    8 Disaster Recovery on AWS

    • 1. Slide22 © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. Serdar Nevruzoglu Solutions Architect, AWS Disaster recovery (DR) with AWS & Use Cases
    • 2. Disaster recovery – a few concepts © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. Recovery point Disaster recovery – a few concepts
    • 3. Disaster recovery – a few concepts © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. Disaster Recovery point Data loss Disaster recovery – a few concepts
    • 4. Disaster recovery – a few conceptsRTO / RPO © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. Disaster Recovery point Data loss Disaster recovery – a few concepts RTO / RPO Recovery time Down time
    • 5. Disaster recovery methods: Pilot light © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. Disaster recovery methods: Pilot light Not running Subordinate database server www.example.com Mirroring/ replication Reverse proxy/ caching server Data volume Application server Corporate data center Reverse proxy/ caching server Application server Master Database server Prep Restore Start in minutes Add additional capacity if needed
    • 6. Disaster recovery methods – WARM STANDBY © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. Disaster recovery methods – WARM STANDBY Subordinate database server Mirroring/ replication Reverse proxy/ caching server Data volume Application server Corporate data center Reverse proxy/ caching server Application server Master Database server Amazon Route 53 Active Not active Application data source cut over Elastic Load Balancing www.example.com Scaled down standby Prep Restore Scaled-up production Active
    • 7. Disaster recovery methods – Hot site © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. Disaster recovery methods – Hot site Subordinate database server Mirroring/ replication Reverse proxy/ caching server Data volume Application server Corporate data center Reverse proxy/ caching server Application server Master Database server Amazon Route 53 Active Application data source cut over Elastic Load Balancing www.example.com Prep Restore Active Scaled-up production
    • 8. Use case 1: Backup & restore © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. Use case 1: Backup & restore Amazon S3 Amazon Glacier S3 bucket Remote location /mybucket Amazon S3 Standard IA 1 2 Lifecycle policy Prep Restore $ aws s3 sync /backups s3://mybucket ;Back up and sync the backup folder $ aws s3 sync /backups s3://mybucket --delete ;Like the preceding, but now delete files not present $ aws s3 sync /backups s3://mybucket --delete –storage- class STANDARD_IA ;Like the preceding, but now leverages Infrequent access AWS CLI-based backup, manual DR failover 2 AWS DR Region Amazon EC2 1
    • 9. Use case 2: Large data archive & recovery (1/3) © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. Use case 2: Large data archive & recovery (1/3) Migrate data to AWS via AWS CLI, AWS Snow family, or AWS Storage Gateway Corporate data center AWS CLI AWS Snow AWS Storage Gateway Use Amazon S3, S3 buckets, and Amazon Glacier to store and archive data. Automate your lifecycle policies for optimal data management NFS
    • 10. Massive data move © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Massive data move
    • 11. Use case 2: Large data archive & recovery (2/3) © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. Use case 2: Large data archive & recovery (2/3) (cont.) Create Disaster Recovery targets with AWS services you need
    • 12. Use case 2: Large data archive & recovery (3/3) © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. Use case 2: Large data archive & recovery (3/3) restore to AWS or on-premises from DR site In the case of a disaster, DR site AWS CLI AWS Snow* AWS Storage Gateway
    • 13. Use case 3: Onsite virtualization replication, backup, & failover © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. Use case 3: Onsite virtualization replication, backup, & failover Corporate data center Storage Gateway iSCSI from Storage Gateway to ESX Hosts Replication Appliance Stored volume Onsite VM replication / conversion Restore VMFS VMware ESX VMware ESXi EBS AMI VM Import S3 Storage Gateway
    • 14. Use case 3a High availability windows server storage © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Use case 3a High availability windows server storage
    • 15. Data center SMB server with SGW backend SMB hosted onsite, blocks stored durably in Amazon S3 © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Data center SMB server with SGW backend SMB hosted onsite, blocks stored durably in Amazon S3 Private Datacenter Storage Gateway VM HTTPS iSCSI SMB us-west-2 Storage Gateway Volume Windows Clients Windows Server
    • 16. High availability Windows server storageLocal HA with remote DR © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. High availability Windows server storage Local HA with remote DR Storage Gateway Service us-east-1 Data Center Windows Clients Storage Gateway VM Microsoft DFS HTTPS iSCSI HTTPS iSCSI SMB us-west-1 Microsoft DFS HTTPS iSCSI Storage Gateway Service
    • 17. Use case 4: Multi-site replication and failover © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. Use case 4: Multi-site replication and failover AWS Direct Connect VPN us-east-1 Server Failback Customer gateway users Equinix DA1 AWS CloudFormation Corporate data center us-west-2 Server Availability Zone Availability Zone Server Server Availability Zone Availability Zone Server
    • 18. Use case 5: Knowledge worker DR site © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. Use case 5: Knowledge worker DR site Customer VPC Customer corporate network Customer data center Active Directory RO/Replica EC2 corporate servers Active Directory Corp servers AWS Direct Connect or VPN MFA (RADIUS) (Optional) Archives Amazon S3 Amazon WorkSpaces (network entry point) Users Standalone Network Public AWS endpoint Streaming Gateway Internet
    • 19. Use case xbAll in on AWS: EC2 instance crashed! © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Use case xb All in on AWS: EC2 instance crashed!
    • 20. Slide70 © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon EC2 Auto Recovery Set your failed check threshold Choose 1-minute period and statistic minimum Choose recover action Metric = StatusCheckFailed_System
    • 21. Slide71 © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon EC2 Auto Reboot Choose reboot action Metric = StatusCheckFailed_Instance
    • 22. Cloud-native disaster recovery tools © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. Cloud-native disaster recovery tools •AWS security assurance programs and AWS Quick Starts •Backup of Amazon EC2 instances with Amazon EBS snapshot feature •Recover crashed instances with Amazon EC2 instance recovery and Auto Reboot •Amazon S3 – most durable and secure object storage service: •11 9’s of durability •Cross-region replication •Versioning •MFA delete •IAM tools to manage account access to data •Database backup features with •Amazon Relational Database Service (Amazon RDS) •AWS Database Migration Service
    • 23. The AWS Partner Network (APN) supports the largest ecosystem of technology and consulting partners so that you can take advantage of existing resources and seamlessly integrate AWS services into your IT environment. APN also recognizes select partners who have demonstrated solution deployment in the following areas: business continuance / disaster recovery (BC/DR), data migration, backup & recovery, archive,band primary storage. Our network also includes consulting partners who can design and implement the migration and storage solutions that best support your organization. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. The AWS Partner Network (APN) supports the largest ecosystem of technology and consulting partners so that you can take advantage of existing resources and seamlessly integrate AWS services into your IT environment. APN also recognizes select partners who have demonstrated solution deployment in the following areas: business continuance / disaster recovery (BC/DR), data migration, backup & recovery, archive,band primary storage. Our network also includes consulting partners who can design and implement the migration and storage solutions that best support your organization. AWS Partner Network: Migration & storage Backup & Restore Archive Primary Storage Data Migration BC/DR
    • 24. Malibu Boats/CloudEndure case study © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Malibu Boats/CloudEndure case study Challenges •Prevent downtime, which would shut down factories and be very costly •Achieve near-zero RPO and RTO •Ability to recover to previous points in time •Multi-regional resilience in order to prevent weather-related outages •Failback to primary data center without disruption or data loss “[We] quickly noticed that the performance of the server on the AWS environment was at least twice as fast as it was on our current data center environment, using the same hardware specifications, the same memory, and CPU, which was quite eye-opening, and helped us to move forward our plans to a fuller presence in AWS and the cloud.” -Greg Ward, VP of IS & Technology Why AWS, CloudEndure, and Rackspace •Fast recovery, near-zero RPO and RTO •Cost of cold-standby with performance of warm-standby •Multiple checkpoints for point-in-time recovery •Automated failback to source machines •Unlimited, non-disruptive DR testing
    • 25. CloudEndure © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. CloudEndure
    • 26. Putting it all together © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Putting it all together
    • 27. Lessons from history © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lessons from history Plan for more than just what you expect to happen
    • 28. Lessons from history © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lessons from history Test your execution plan before you think you can implement it
    • 29. Lessons from history © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lessons from history Knowledge is critical. Know how to interpret an alarm on events.
    • 30. Words of advice © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Words of advice People generally don’t do well under pressure •Automate as much as you can •Table top exercises can really help you understand roles and responsibility •Not all services have to require the same RTO/RPO •Seriously, automate as much as you can ahead of time •If you don’t have a run book, it’s time to make one •If you have one, have you tested it?
    • 31. Slide116 Questions?
    • 32. Slide23 Thank You!