Planned Maintenance
Planned maintenance refers to scheduled periods when cloud providers perform infrastructure updates, security patches, or hardware replacements, typically announced in advance to allow customers to prepare their workloads.
What is Planned Maintenance in cloud hosting?
Planned maintenance refers to scheduled periods when a cloud provider performs work on its infrastructure. This work includes software updates, security patches, firmware upgrades, hardware replacements, and network configuration changes. Cloud providers announce planned maintenance in advance so customers can prepare their workloads for potential service interruptions.
Unlike unplanned outages caused by failures, planned maintenance follows a predictable schedule. Providers notify customers through email, dashboard alerts, or status page announcements before maintenance begins. This advance notice allows teams to adjust workloads, enable redundancy, or schedule their own maintenance activities around the provider's window.
Related Terms
- High Availability: A system design approach that minimizes downtime by distributing workloads across multiple components, such as running instances in different availability zones so maintenance on one zone does not affect all services.
- Instance: A virtual machine running on cloud infrastructure, such as a web server or database server, that may need to be migrated or restarted during planned maintenance.
- Control Plane: The management layer of a cloud platform, such as the APIs and services that provision resources, which may experience reduced availability during maintenance windows.
- Monitoring: Tools and services that track system health and performance, such as metrics dashboards and alerting systems, used to verify services return to normal after maintenance completes.
Why Planned Maintenance Exists
Cloud infrastructure consists of physical servers, network switches, storage arrays, and software systems that require regular updates. Without maintenance, security vulnerabilities remain unpatched, hardware degrades over time, and software falls behind on bug fixes and performance improvements.
Planned maintenance exists to perform this essential work in a controlled, predictable manner. If providers never scheduled maintenance, they would have two options: allow infrastructure to degrade until failures occur, or perform updates without warning. Neither option serves customers well. Scheduled maintenance windows give customers the opportunity to prepare for brief service interruptions while keeping the underlying infrastructure secure and reliable.
What Does Planned Maintenance Actually Do?
- Applies security patches to hypervisors, operating systems, and control plane services to close vulnerabilities before attackers can exploit them
- Updates firmware on physical servers, network equipment, and storage controllers to fix bugs and improve stability
- Replaces failing hardware before complete failure occurs, moving workloads off servers showing early warning signs
- Upgrades platform software to add new features, improve performance, or maintain compatibility with upstream projects
- Reconfigures network infrastructure to improve routing, add capacity, or implement new security controls
- Performs database maintenance on control plane databases, including backups, index optimization, and schema migrations
When Would I Use Planned Maintenance?
You do not initiate planned maintenance yourself. Instead, you receive notifications about maintenance your cloud provider has scheduled. However, you use these notifications to take action.
When you receive a maintenance notification, review which services will be affected and when. If the maintenance window overlaps with a critical business period, contact your provider to request rescheduling if possible. Before the maintenance window begins, verify that your applications can handle brief interruptions. If you run stateful services, ensure recent backups exist. If you use load balancers or multiple instances, confirm that failover mechanisms work correctly.
Some cloud platforms let you select preferred maintenance windows for your project or instances. Use this feature to align provider maintenance with your lowest-traffic periods.
When Would I NOT Use Planned Maintenance?
You cannot avoid all planned maintenance. Cloud providers must update their infrastructure, and refusing maintenance would leave your workloads running on outdated, potentially insecure systems.
However, you can minimize the impact of planned maintenance on your applications. If your application runs on a single instance with no redundancy, planned maintenance will cause downtime. In this case, you should implement high availability before relying on maintenance windows alone. Running identical services across multiple availability zones means maintenance in one zone does not affect your overall service availability.
If your application cannot tolerate any interruption, even brief ones, cloud hosting may not meet your requirements without significant architectural investment in redundancy.
Real-World Example
Company A runs an e-commerce platform on cloud infrastructure with three web servers behind a load balancer and a database with a replica. Their cloud provider sends a maintenance notification: servers in Availability Zone 1 will undergo hypervisor updates next Tuesday from 02:00 to 04:00 UTC.
Company A reviews their infrastructure. One web server and the primary database run in Zone 1. They take the following steps: First, they verify the database replica in Zone 2 is synchronized and can be promoted to primary. Second, they confirm the load balancer will route traffic to the two web servers in Zone 2 when the Zone 1 server becomes unavailable. Third, they schedule their weekly backup job to complete before the maintenance window.
During the maintenance window, the Zone 1 web server and database go offline briefly. The load balancer routes all traffic to Zone 2 servers, and the database replica handles read queries. When maintenance completes, the Zone 1 resources return to service automatically. Customers experience no downtime because Company A designed their architecture to survive single-zone maintenance.
Frequently Asked Questions
Will my data be lost during planned maintenance?
No. Planned maintenance does not delete your data. Your volumes, object storage, and databases remain intact. The maintenance affects compute and network resources, not storage. However, you should maintain regular backups regardless of maintenance schedules to protect against other failure scenarios.
Can I reschedule planned maintenance?
Some cloud providers allow you to request alternative maintenance windows or opt out of specific maintenance events temporarily. Contact your provider before the scheduled window if the timing conflicts with critical business operations. Keep in mind that security patches often cannot be delayed indefinitely.
How long does planned maintenance typically last?
Maintenance duration varies based on the type of work. Simple hypervisor updates may complete in minutes per server. Larger infrastructure upgrades might require several hours. Your provider's maintenance notification will include the expected duration. Build your preparation around the full window, not the minimum expected time.
Will I be charged during planned maintenance downtime?
Billing policies vary by provider. Some providers do not charge for instances that are stopped due to provider-initiated maintenance. Others continue billing because your resources remain allocated. Check your provider's terms or contact support for clarification on billing during maintenance windows.
How do I know when my specific instances will be affected?
Maintenance notifications typically include the affected availability zones, regions, or specific resource types. Log into your cloud dashboard or check the provider's status page for details. Some providers send notifications only to projects with resources in the affected zone, so receiving a notification means your resources are likely impacted.
Summary
- Planned maintenance consists of scheduled periods when cloud providers update infrastructure, apply security patches, and replace hardware
- Providers announce maintenance in advance through email, dashboard notifications, or status pages so customers can prepare
- Applications designed with high availability across multiple availability zones can survive maintenance windows without customer-facing downtime
- Customers should review maintenance notifications, verify redundancy mechanisms, and ensure recent backups exist before scheduled windows
- Planned maintenance keeps cloud infrastructure secure and reliable, preventing the alternative of unplanned failures from deferred updates
