Updating Inactive Compute Instance OS Images via Secondary Storage
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Inactive compute instances in data centers face significant delays when transitioning to an active state due to the accumulation of multiple operating system updates, which can lead to user dissatisfaction in cloud computing environments.
Innovation Solution
A method is implemented to update operating system images of inactive compute instances by copying the image to a secondary storage, applying updates, and then replacing the original image, thereby eliminating the need for consecutive installation upon activation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of energy
If compute instances are kept inactive to reduce resource consumption, then energy efficiency is improved, but update delays accumulate when they are activated
Solution Approach 1:
The system performs operating system updates on inactive compute instances before they are activated. A management system detects inactive instances, copies their operating system images to a separate system, applies pending updates to the copies, and replaces the original images with updated versions. This preliminary action ensures that when compute instances are activated, they are already updated and can immediately provide services without experiencing update delays.
2Reliability
If multiple operating system updates are installed consecutively upon activation, then system reliability is improved, but service availability deteriorates
Solution Approach 1:
The system creates a copy of the operating system image from the compute instance's storage device to a separate system's storage device. Updates are applied to the copied image rather than the original, allowing the update process to occur independently without affecting the compute instance's operational status. Once updated, the modified image replaces the original, ensuring reliability improvements are achieved without service interruption.
3Reliability
If operating system updates are applied immediately upon activation, then system security is improved, but user satisfaction deteriorates due to delays
Solution Approach 1:
The management system proactively identifies inactive compute instances and applies operating system updates to their images before the instances are activated. By performing updates in advance during the inactive period, the system ensures security patches are applied while the compute instance is not providing services, thereby eliminating delays that would otherwise occur upon activation and maintaining user satisfaction.
Data Source
AI summary
Updating inactive compute instances is disclosed. It is determined that a first compute instance that boots from an operating system image on a first storage device is in an inactive state. It is determined that updates to the operating system image on the first storage device exist. The operating system image is copied from the first storage device to a second storage device. The operating system image on the second storage device is updated with the updates to generate an updated operating system image on the second storage device. The updated operating system image is copied form the second storage device to the first storage device in place of the operating system image.


