Networking & Cloud Computing

Chapter 13
Cloud Migration, Reliability and Business Continuity

Advance Diploma in Information Technology
Networking & Cloud Computing   •   Advance Diploma

Cloud Migration, Reliability and Business Continuity

Introduction and Context

Cloud adoption is not simply the transfer of servers from a private data centre to a provider’s data centre. It is a strategic transformation of how an organisation acquires computing capability, manages risk, delivers services and recovers from disruption. A successful cloud programme must therefore connect migration decisions with application architecture, business priorities, security obligations, financial constraints and operational capability.

Cloud migration concerns the movement of applications, data, platforms and operating processes to cloud environments. Reliability concerns the ability of a service to perform correctly and consistently. Business continuity concerns the organisation’s ability to continue critical activities during and after disruptive events. Disaster recovery is a major component of business continuity, concentrating specifically on restoring technology services, data and infrastructure after a failure.

This chapter examines workload assessment, migration strategies, reliability engineering, high availability, fault tolerance, backup, disaster recovery and resilient operations. It uses recovery objectives and architecture frameworks to connect technical design with business impact.

Learning Objectives

After studying this chapter, you should be able to:

  1. Assess workloads for cloud suitability, complexity, risk and business value.
  2. Distinguish rehosting, replatforming, refactoring and related migration strategies.
  3. Explain availability, reliability, resilience, fault tolerance and disaster recovery.
  4. Calculate and interpret availability, downtime and recovery objectives.
  5. Design backup, recovery and high-availability arrangements.
  6. Apply architecture principles and operational practices to resilient cloud systems.
  7. Evaluate governance, security, ethical and regulatory issues in migration planning.

1. Workload Assessment Before Migration

A workload is a complete business or technical unit, including its application code, data, infrastructure, integrations, users, operational procedures and service dependencies. Treating a workload as only a virtual machine often causes migration failures because databases, identity services, network paths, licensing and support processes are overlooked.

A structured assessment should examine the following dimensions.

Business criticality

The organisation should determine what happens if the workload is unavailable, produces incorrect results or loses data. A payroll system, clinical record service or payment platform normally has greater business criticality than a departmental reporting tool. Criticality should be expressed through business impact rather than technical prestige.

Technical characteristics

Important questions include:

  • Is the application monolithic, service-oriented or event-driven?
  • Which operating systems, runtimes and databases are required?
  • Does it depend on fixed IP addresses, specialised hardware or low-latency networks?
  • Can it scale horizontally, or does it require a larger single server?
  • Are its interfaces documented and tested?
  • Is its data portable and supported by the proposed cloud service?

Performance and demand

Collect baseline measurements for CPU, memory, storage, network throughput, transaction rate, response time and peak-to-average demand. A workload with highly variable demand may gain significant value from elasticity. Conversely, a continuously busy workload may not automatically be cheaper in the cloud.

Security and compliance

Data classification, encryption requirements, retention rules, geographic restrictions, audit obligations and privileged-access requirements must be identified before selecting a provider or region. A cloud provider’s certification does not transfer the customer’s accountability for correct configuration and lawful processing.

Financial and contractual factors

Assessment should include licensing, software-support contracts, data-transfer charges, migration tooling, operational staffing, reserved capacity, backup storage and exit costs. Total cost of ownership (TCO) is more meaningful than comparing only virtual-machine prices.

Dependency mapping

A dependency map records upstream and downstream systems, data stores, identity providers, DNS, certificates, monitoring, batch jobs and external partners. Migration waves should be based on dependency and business relationships, not merely on organisational ownership.

A practical workload scorecard can rank each workload from low to high across business criticality, technical complexity, compliance sensitivity, migration effort and cloud value. The scorecard does not replace professional judgement; it makes assumptions visible and supports prioritisation.

2. Migration Strategies

Migration strategy is often described using the “six Rs”. Terminology varies between organisations, but the following distinctions are widely useful.

StrategyMeaningSuitable whenMain limitation
RehostMove with minimal code or architecture changeSpeed and risk reduction are prioritiesMay preserve inefficiency
ReplatformMake limited platform improvements without redesigning the applicationManaged databases, containers or managed runtimes provide valueBenefits are bounded by the existing design
Refactor or re-architectModify substantially to exploit cloud-native capabilitiesLong-term agility, resilience or scale is importantHighest effort, testing and change risk
RepurchaseReplace the application with a software-as-a-service productA suitable standard product existsMigration, integration and customisation may be difficult
RetainKeep the workload where it is for nowConstraints, dependencies or economics prevent movementTechnical debt may remain
RetireDecommission an unnecessary workloadFunctionality is duplicated or no longer neededRequires evidence and stakeholder agreement

Rehosting

Rehosting, sometimes called “lift and shift”, transfers an application and its operating environment with minimal modification. It is useful for rapid data-centre exit, disaster-recovery preparation or applications that are stable but poorly understood. However, it may fail to exploit autoscaling, managed services, immutable infrastructure and cloud-native observability. A rehosted system may also retain weak security boundaries and manual deployment practices.

Replatforming

Replatforming introduces selected improvements. Examples include moving a database to a managed database service, placing an application behind a managed load balancer, or packaging a service in containers. The application remains recognisably the same, but operational responsibilities and scalability can improve. Compatibility testing is essential because managed services may differ in version, extensions, backup behaviour or transaction semantics.

Refactoring

Refactoring changes the internal structure while preserving the business capability. Re-architecting may decompose a monolith, introduce asynchronous messaging, externalise sessions, adopt stateless services and use independently scalable components. It is appropriate when the existing architecture prevents required availability, release frequency or elasticity. It should not be chosen merely because cloud-native technology is fashionable: the expected business benefit must justify the complexity.

Migration waves

A migration wave normally includes discovery, design, preparation, pilot, data synchronisation, cutover, validation and post-cutover support. Low-risk workloads can provide learning, but a pilot should be representative enough to test identity, monitoring, network integration, security controls and operational procedures. A rollback plan must define when rollback is permitted, how data divergence is handled and who has authority to decide.

3. Reliability Concepts and Measures

Reliability is the probability that a system performs its required function for a specified period under stated conditions. Availability is the proportion of time that a service is usable, although a service may be “up” while returning errors or unacceptable response times. Resilience is the ability to withstand, adapt to and recover from adverse conditions. Fault tolerance is the ability to continue operating despite specified component failures.

These concepts are related but not interchangeable. A backup may improve recoverability without improving live availability. Replication may improve availability but introduce consistency risks. A highly available system may still be unreliable if it frequently returns incorrect results.

Availability calculation

For a defined observation period, basic availability is:

A = MTBF ÷ (MTBF + MTTR)

where:

  • A is availability, expressed as a fraction or percentage;
  • MTBF is mean time between failures;
  • MTTR is mean time to repair or restore.

The formula assumes that failure and restoration behaviour can reasonably be represented by these averages and that the observation period is sufficiently representative. It is most useful for repairable systems; it does not fully describe correlated failures, planned maintenance, degraded service or partial outages.

If a service has an MTBF of 1,000 hours and an MTTR of 4 hours:

A = 1000 ÷ (1000 + 4) = 0.996016 ≈ 99.602%

This corresponds to approximately 3.48 hours of unavailability per 365-day year, using:

Downtime = (1 − A) × 365 × 24 hours

The calculation is an estimate, not a guarantee. Monitoring definitions, maintenance windows and the distinction between total and partial outage must be specified.

Serial and redundant components

For components arranged in series, the service is available only when every required component is available. If component availability values are independent, then:

Aseries = A₁ × A₂ × … × Aₙ

For two independent components in parallel, the service is available when at least one works:

Aparallel = 1 − (1 − A₁)(1 − A₂)

These equations assume statistical independence and identical service conditions. Real cloud failures may be correlated—for example, a shared region, identity service, software defect or misconfiguration can affect both instances—so simple multiplication can overstate reliability.

For two independent components each with 99% availability:

Aparallel = 1 − (0.01 × 0.01) = 0.9999 = 99.99%

The result is valuable only if the instances truly have independent failure domains and the load balancer, network, storage and operational processes do not remain single points of failure.

4. High Availability and Fault-Tolerant Architecture

High availability is achieved through a combination of redundancy, failure detection, automated recovery, appropriate capacity and disciplined operations. Common design principles include:

  • Remove single points of failure in compute, network, storage and identity paths.
  • Distribute instances across independent availability zones or facilities.
  • Use load balancing and health checks that test meaningful application behaviour.
  • Make services stateless where practical, externalising sessions to a resilient store.
  • Use autoscaling with safe limits, cooldown periods and protection against runaway demand.
  • Design retries with exponential backoff and jitter; uncontrolled retries can create a retry storm.
  • Use timeouts, circuit breakers and bulkheads to prevent one dependency from exhausting all resources.
  • Prefer idempotent operations so that safely repeated requests do not duplicate business effects.
  • Deploy gradually using blue-green, canary or rolling techniques.
  • Monitor symptoms, causes and user impact rather than infrastructure metrics alone.

A fault-tolerant architecture must also define what happens when dependencies fail. Graceful degradation may allow read-only access, cached content or queued transactions instead of complete service loss. Such behaviour must be agreed with business owners because degraded operation can create safety, compliance or financial risks.

Multi-zone highly available cloud architecture UsersRequests Global DNS /load balancer Availability Zone AApp instancesHealth checks Availability Zone BApp instancesHealth checks Resilient datastorereplication
Multi-zone highly available cloud architecture
Figure: Multi-zone highly available cloud architecture

Figure: A simplified multi-zone architecture that avoids dependence on one application zone, while recognising that shared services must also be made resilient.

5. Recovery Objectives and Disaster Recovery

Recovery planning begins with business impact analysis (BIA). The BIA identifies critical processes, maximum tolerable disruption, dependencies, legal obligations and the consequences of data loss.

Recovery time objective

The recovery time objective (RTO) is the target maximum elapsed time between service interruption and restoration of an acceptable service level. RTO is a target, not a measurement of actual performance.

Recovery point objective

The recovery point objective (RPO) is the target maximum age of data that may be lost, measured backward from the disruption. An RPO of 15 minutes implies that the organisation designs for no more than approximately 15 minutes of recoverable transaction loss under the stated scenario.

RTO and RPO are independent. A system can restore quickly from a backup but lose many hours of data, or preserve data continuously while requiring substantial time to rebuild the service.

Recovery strategies

StrategyTypical characteristicRelative cost and complexity
Backup and restoreInfrastructure is rebuilt or recovered after an eventLower cost; slower recovery
Pilot lightCore data and minimal services remain available; capacity expands during recoveryModerate
Warm standbyA reduced but functioning environment is continuously maintainedHigher
Hot standby / active-activeMultiple environments serve traffic or are ready immediatelyHighest; complex consistency and operations

A useful planning relationship is:

RTOactual = Tdetect + Tdecide + Trecover + Tvalidate

The terms represent detection, decision and authorisation, technical recovery, and validation. This is a planning decomposition rather than a universal physical law. If RTO is specified without including decision and validation time, the target will be unrealistic.

Backup principles

A robust backup system should address:

  • Coverage: all required data, configurations, secrets and infrastructure definitions are included.
  • Consistency: application-aware snapshots are used where crash consistency is insufficient.
  • Retention: schedules reflect legal, operational and recovery requirements.
  • Isolation: backups are protected from ransomware, accidental deletion and compromised administrator accounts.
  • Encryption: data is encrypted in transit and at rest, with carefully governed keys.
  • Testing: restoration is periodically performed and measured.
  • Immutability: write-once or locked retention can prevent alteration during the retention period.
  • Geographic separation: a second failure domain is used when local disasters are in scope.

The “3-2-1” principle—three copies, on two media or platforms, with one copy off-site—is a useful baseline, not a complete design. Modern environments may extend it with immutable and offline copies. Replication is not automatically backup: corruption or deletion can be replicated to every replica.

6. Resilient Operations and Architecture Frameworks

Architecture frameworks provide structured ways to evaluate systems. Cloud-provider well-architected frameworks commonly organise guidance around operational excellence, security, reliability, performance efficiency, cost optimisation and sustainability. Although terminology differs, the underlying principle is consistent: resilience is a system property spanning technology, people and processes.

Operational excellence

Operations should be treated as engineering. Infrastructure as code, version-controlled configuration, automated testing, runbooks, change review and post-incident learning reduce dependence on individual memory. Teams should practise failure scenarios rather than assuming that documented procedures work.

Observability

Monitoring should include metrics, logs and traces, correlated with deployment events and user journeys. Service-level indicators (SLIs) measure behaviour such as successful requests, latency and freshness. A service-level objective (SLO) defines a desired level of performance over a period. An error budget is the permitted amount of unreliability implied by the SLO and can guide the balance between feature delivery and reliability work.

For an availability SLO of 99.9% over a 30-day month, the nominal unavailability budget is:

(1 − 0.999) × 30 × 24 × 60 = 43.2 minutes

This assumes a 30-day month and that all downtime is counted under the SLO. Exclusions must be explicit and must not be used to conceal user impact.

Security and reliability together

Least privilege, multi-factor authentication, separation of duties, network segmentation, secure defaults and continuous vulnerability management reduce both security and operational risks. Secrets should not be embedded in images or source code. Recovery accounts and break-glass procedures must be protected but usable during identity-system failure.

Capacity and dependency management

Reliability requires sufficient capacity during both normal and recovery conditions. Recovery environments are often under-sized because they are rarely exercised. Dependency budgets should identify provider-managed services, external APIs, certificates, DNS, time synchronisation and software supply chains. A resilient design must define alternatives or acceptable degradation for critical dependencies.

7. Applied Case: Illustrative Retail Migration

Background

A fictional regional retailer operates an online ordering platform in a private data centre. The platform consists of a monolithic application, a relational database, a payment gateway integration and nightly backups. It experiences heavy seasonal peaks and has an availability target of 99.9%. The business requires an RTO of two hours and an RPO of 15 minutes.

Problem

The existing system scales vertically and becomes slow during promotions. Backups are stored in the same facility as production, restoration has not been tested for 18 months, and deployment is manual. The organisation wants to reduce data-centre dependency without creating unacceptable payment or data-protection risks.

Analysis

The workload is business-critical, has variable demand and contains personal and transaction data. A full refactor before the next sales season would create excessive delivery risk. The dependency map identifies the payment gateway, customer identity, inventory system, database, DNS and monitoring as essential components.

Approach and solution

The organisation adopts a staged strategy:

  1. Rehost initially: move the application to two cloud availability zones behind a managed load balancer.
  2. Replatform the database: use a managed relational database with automated backups, encryption and cross-zone failover.
  3. Improve operations: implement infrastructure as code, central logging, tracing, health checks and automated deployment.
  4. Protect data: retain encrypted, immutable backups in a separate account and region, with a 15-minute transaction-log objective where supported.
  5. Test recovery: perform a full restoration exercise and measure detection, approval, rebuild, data validation and DNS switching.
  6. Refactor selectively: externalise sessions, introduce a queue for non-critical fulfilment tasks and separate the catalogue-read path from checkout.
  7. Validate payments: use idempotency keys and reconciliation procedures so retrying a payment request does not create duplicate charges.

Outcome

The platform gains zone-level redundancy and improved peak handling without requiring an immediate rewrite. Recovery testing exposes an undocumented inventory dependency, which is added to the recovery plan. The business then approves a later refactoring programme based on measured bottlenecks rather than assumptions.

Learning points

The case demonstrates that migration is a portfolio of decisions, not a single technology choice. A staged combination of rehosting, replatforming and selective refactoring can reduce risk. Recovery objectives must be tested in practice. Finally, payment correctness and data integrity are as important as infrastructure availability.

8. Governance, Ethics and Regulation

Cloud migration changes control boundaries and therefore requires governance. Contracts should address service commitments, incident notification, data location, subcontractors, audit rights, deletion, portability, exit assistance and responsibilities under the shared-responsibility model.

Data protection requires purpose limitation, minimisation, lawful processing, appropriate retention and protection against unauthorised access. Sensitive workloads may require regional controls, customer-managed keys or dedicated environments. Regulatory obligations differ by sector and jurisdiction; technical teams should involve legal, risk and compliance specialists rather than interpreting regulations alone.

Ethically, continuity planning should consider people who depend on services during emergencies, including customers with disabilities, low connectivity or limited alternatives. Automated failover can preserve a technically functioning service while producing harmful outcomes if data is stale or decisions are incorrect. AI-assisted operations can help detect anomalies and summarise incidents, but models may generate misleading recommendations, expose sensitive logs or automate unsafe changes. Human approval, auditability, access controls and testing remain necessary.

9. Challenges and Limitations

Cloud migration does not eliminate failure; it changes failure modes. Common challenges include:

  • hidden dependencies and undocumented operational knowledge;
  • optimistic cost estimates that exclude data transfer and support;
  • vendor lock-in through proprietary databases, identity or event services;
  • correlated failures across supposedly redundant components;
  • inconsistent data during active-active operation;
  • poorly tested backups and recovery procedures;
  • excessive permissions and insecure defaults;
  • alert fatigue and inadequate incident ownership;
  • migration-induced downtime or data corruption;
  • skills shortages and resistance to changed operating practices.

No availability figure should be accepted without asking what is measured, over what period, under which failure scenarios and with what exclusions. Architecture diagrams should show trust boundaries, failure domains, data flows and operational responsibilities, not only boxes representing products.

10. Best-Practice Checklist

Before approving a migration or resilience design, confirm that:

  1. Business owners have defined criticality, RTO, RPO and acceptable degradation.
  2. Dependencies and data classifications are documented.
  3. The selected migration strategy has a quantified business rationale.
  4. A tested rollback or recovery path exists.
  5. Production and recovery environments use independent failure domains where required.
  6. Backups are encrypted, isolated, retained appropriately and regularly restored in tests.
  7. Identity, secrets, logging and monitoring remain available during incidents.
  8. SLOs and error budgets are connected to operational decisions.
  9. Infrastructure and configuration are reproducible through controlled automation.
  10. Incident exercises, post-incident reviews and continuous improvement are scheduled.
  11. Provider contracts, compliance duties and exit plans are understood.
  12. Reliability claims have been validated through evidence rather than diagrams alone.

Chapter Summary

Cloud migration is a strategic transformation requiring workload assessment, dependency analysis and alignment with business outcomes. Rehosting provides speed, replatforming provides selected operational improvements, and refactoring enables deeper cloud-native benefits at greater cost and risk. Retaining, repurchasing or retiring workloads may also be rational decisions.

Reliability, availability, resilience and fault tolerance describe different properties. Availability can be estimated using MTBF and MTTR, but independence assumptions and correlated failures must be considered. High availability depends on redundancy across genuine failure domains, health-aware routing, safe automation, observability and graceful degradation.

Business continuity is guided by business impact analysis. RTO specifies how quickly acceptable service must return, while RPO specifies the acceptable age of recovered data. Backup, replication and disaster recovery are related but not equivalent; recovery procedures must be tested. Well-architected principles, security governance, infrastructure as code, incident learning and ethical consideration provide the foundation for resilient operations.

Key Terms

Availability: The proportion of time a service is usable according to a defined measurement.

Business continuity: The capability to continue critical activities during and after disruption.

Business impact analysis: A structured assessment of disruption consequences, dependencies and recovery priorities.

Disaster recovery: Processes and technology for restoring services and data after a disruptive event.

Error budget: The permitted unreliability implied by a service-level objective.

Fault tolerance: Continued operation despite specified component failures.

High availability: Architecture and operations intended to minimise service interruption.

Infrastructure as code: Declarative or programmable management of infrastructure through version-controlled files.

Migration wave: A planned group of workloads moved through preparation, cutover and validation together.

MTBF: Mean time between failures for a repairable system.

MTTR: Mean time to repair or restore service.

RPO: Recovery point objective; the target maximum amount of data loss measured in time.

RTO: Recovery time objective; the target maximum time to restore acceptable service.

Rehosting: Moving a workload with minimal modification.

Replatforming: Moving a workload while making limited platform improvements.

Refactoring: Substantially changing application structure to improve qualities such as scalability or resilience.

Resilience: The ability to withstand, adapt to and recover from adverse conditions.

Service-level objective: A target level of service performance over a specified period.

Shared responsibility: The division of security and operational responsibilities between cloud provider and customer.

Workload: An application or business capability together with its data, dependencies and operating requirements.

Review Questions

Short Answer Questions

  1. What is the difference between rehosting and replatforming?
  2. Define RTO and RPO.
  3. Why is replication not necessarily a substitute for backup?
  4. State two assumptions behind a simple parallel-availability calculation.
  5. What is the purpose of a business impact analysis?

Long Answer Questions

  1. Explain how an organisation should assess a workload before selecting a migration strategy.
  2. Compare rehosting, replatforming and refactoring, including appropriate use cases and limitations.
  3. Explain how high availability, fault tolerance and resilience are related but distinct.
  4. Describe a comprehensive backup and disaster-recovery design for a critical cloud workload.
  5. Discuss how architecture frameworks and operational excellence practices support reliable cloud services.

Analytical / Application Questions

  1. A service has an MTBF of 2,000 hours and an MTTR of 5 hours. Calculate its estimated availability and discuss why the result may not represent real-world user availability.
  2. Design a migration plan for a monolithic application with seasonal demand, sensitive customer data, an RTO of four hours and an RPO of 30 minutes. Justify the migration strategy and recovery architecture.
  3. Two application instances each have an availability of 99.5%. Calculate the ideal independent parallel availability, then identify at least three shared dependencies that could make the actual result lower.

Multiple Choice Questions with Answers

Question 1

Which migration strategy moves an application with minimal code and architecture changes?

A. Rehosting

B. Refactoring

C. Repurchasing

D. Retiring

Correct Answer: A. Rehosting

Question 2

What does an RPO primarily specify?

A. The maximum acceptable service restoration time

B. The maximum acceptable age of recovered data

C. The number of application instances required

D. The percentage of monthly uptime

Correct Answer: B. The maximum acceptable age of recovered data

Question 3

A system has an MTBF of 1,000 hours and an MTTR of 4 hours. What is its approximate availability?

A. 96.04%

B. 99.60%

C. 99.96%

D. 100.40%

Correct Answer: B. 99.60%

Question 4

Which condition is required for the simple parallel-availability formula to be reliable?

A. All components must be in one failure domain

B. Failures must be statistically independent

C. The system must have no monitoring

D. Recovery must always be manual

Correct Answer: B. Failures must be statistically independent

Question 5

Which statement best distinguishes replication from backup?

A. Replication always prevents data deletion

B. Backup cannot be encrypted

C. Replication may copy corruption or deletion to replicas

D. Backup is only useful for virtual machines

Correct Answer: C. Replication may copy corruption or deletion to replicas

Question 6

Which recovery strategy normally maintains a reduced but functioning environment ready for expansion?

A. Cold archive

B. Warm standby

C. Retirement

D. Manual rehosting

Correct Answer: B. Warm standby

Question 7

Which practice helps prevent uncontrolled repeated requests from overwhelming a failing dependency?

A. Retry storms

B. Circuit breakers and bounded retries

C. Removing health checks

D. Using one large server only

Correct Answer: B. Circuit breakers and bounded retries

Question 8

What is the principal purpose of a business impact analysis?

A. To select programming languages

B. To identify disruption consequences and recovery priorities

C. To eliminate all cloud costs

D. To replace security testing

Correct Answer: B. To identify disruption consequences and recovery priorities

Question 9

An availability SLO is 99.9% over a 30-day month. What is the nominal downtime budget?

A. 4.32 minutes

B. 43.2 minutes

C. 432 minutes

D. 0.432 minutes

Correct Answer: B. 43.2 minutes

Question 10

Which design most directly reduces dependence on a single application failure domain?

A. Deploying all instances in one availability zone

B. Using multiple zones with health-aware load balancing

C. Disabling automated recovery

D. Storing all backups on the production host

Correct Answer: B. Using multiple zones with health-aware load balancing

Networking & Cloud Computing
Chapter 13 of 15