Skip to main content

Overview

At Aptible, we are committed to providing a managed infrastructure solution that empowers you to focus on your applications while we handle the essential maintenance tasks, ensuring the continued reliability and security of your services. To this extent, Aptible may schedule maintenance on your resources for several reasons, including but not limited to:
  • EC2 Hardware: Aptible hardware is hosted on AWS EC2 (See: Architecture). Hardware can occasionally fail or require replacement. Aptible ensures that these issues are promptly addressed without disrupting your services.
  • Platform Security Upgrades: Security is a top priority. Aptible handles security upgrades to protect your infrastructure from vulnerabilities and threats.
  • Platform Feature Upgrades: Aptible continuously improves the platform to provide enhanced features and capabilities. Some upgrades may result in scheduled maintenance on various resources.
  • Database-Specific Security Upgrades: Critical patches and security updates for supported database types are essential to keep your data secure. Aptible ensures that these updates are applied promptly.
Aptible will notify you of upcoming maintenance ahead of time, including the maintenance window, expectations for automated maintenance, and instructions for self-serve maintenance (if applicable).

Maintenance Windows

A maintenance window is the block of time during which Aptible performs normal, scheduled maintenance on an App or Database. Maintenance performed in this window may restart the affected resource, which can cause downtime. See Minimal downtime operations for how Aptible limits that impact. Each App and Database has its own maintenance window. If you don’t configure one, Aptible defaults to Sunday at 22:00 UTC for 5 hours (Sunday 22:00 UTC to Monday 03:00 UTC). You can set a custom day, start time, and duration for an App with aptible apps:settings:set, or for a Database with aptible db:settings:set. Windows must be at least 2 hours long. Most scheduled maintenance can be completed as self-service. See Self-service Maintenance below for how to check whether maintenance is pending for an App or Database. Each scheduled maintenance item has a deadline. If a resource hasn’t gone through its maintenance window by that deadline, Aptible may apply the maintenance anyway. Maintenance on stack-level resources, such as networking, is applied at a scheduled time rather than within each App or Database’s own window. Apps and Databases on that stack may see brief downtime or network interruptions during stack-level maintenance, even outside their individual maintenance window.
If an App or Database fails to restart during its maintenance window, for example because a container fails to start or a database doesn’t have enough free memory to start up, the resource may scale to zero, causing downtime beyond the window.
Maintenance windows only govern normal maintenance. Emergency maintenance, such as a fix for an active incident or a critical vulnerability, may occur outside the configured window.

Maintenance Notifications

Our commitment to transparency ensures that you are always aware of scheduled maintenance windows and the reasons behind each maintenance type. To notify you of upcoming maintenance, we will update our status page and/or use your Ops Alert contact settings on your organization to notify you, providing you with the information you need to manage your resources effectively. Read more about Ops Alert Notifications →

Performing Maintenance

Scheduled maintenance can be handled in one of two ways
  • Automated Maintenance: Aptible will automatically execute maintenance during your scheduled maintenance windows, eliminating the need for manual intervention. You can trust us to manage these tasks efficiently and be monitored by our SRE team. During this time, Aptible will perform a restart operation on all impacted resources, as identified in the maintenance notifications.
  • Self-Service Maintenance (if applicable): For maintenance impacting apps and databases, Aptible may provide a self-service option for performing the maintenance yourself. This lets you perform the maintenance at the best time for you, even outside your scheduled maintenance window.

Self-service Maintenance

Aptible may provide instructions for self-service maintenance for apps and databases. When available, you can perform maintenance by restarting the affected app or database before the scheduled window. Many operations, such as deploying an app, scaling a database, or creating a new Release, will also complete scheduled maintenance. To identify which apps or databases require maintenance and view the scheduled maintenance window for each resource, you can use the following Aptible CLI commands:
Please note that you need at least “read” permissions to see the apps and databases requiring a restart. To ensure you are viewing information for all environments, its best this is reviewed by an Account Owner, Aptible Deploy Owner, or any user with privileges to all environments.