Idempotent Cloud Configuration Management via API Meta-Model

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Developing a configuration management module for cloud infrastructure resources that ensures idempotency for all actions without requiring users to follow restricted rules is challenging, as existing solutions often necessitate specifying specific resource attributes, are unfriendly to users, and can be time-consuming to enforce, especially in multi-user environments.

Innovation Solution

The method employs the Resource's API to derive a meta-model of the cloud Resource type, determining configuration attributes, merging user inputs with the meta-model to compute a desired state, and matching this against existing resources to ensure idempotency, supporting all actions (create, update, delete) without requiring users to write tasks in a particular manner.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Extent of automation

If existing configuration management solutions are used, then resource provisioning can be automated, but users must follow restricted rules and specify specific resource attributes, making the system unfriendly and complex to operate

Engineering Contradiction:
Improveautomation of resource provisioningVSAvoiduser-friendliness
Core Design Contradiction:
Extent of automationVSEase of operation

Solution Approach 1:

The system performs self-service by automatically deriving the meta-model from the Resource's API and computing the desired state without requiring users to manually specify resource attributes or follow restricted rules. The configuration management module autonomously handles idempotency checks and resource state computation, eliminating the need for users to understand complex provisioning rules.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The solution creates a universal configuration management approach that works with any cloud resource type by deriving the meta-model dynamically from the Resource's API. This multi-functional system can handle different resource types (compute, storage, networking) without requiring type-specific configuration rules, making it adaptable and user-friendly across diverse cloud infrastructure.

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Extent of automation

If existing configuration management solutions are used, then resource provisioning can be automated, but the system requires users to follow restricted rules and specify specific attributes, increasing device complexity

Engineering Contradiction:
Improveautomation of configuration managementVSAvoidsystem complexity
Core Design Contradiction:
Extent of automationVSDevice complexity

Solution Approach 1:

The system extracts the complexity of resource attribute specification and validation rules from the user interface by automatically deriving the meta-model from the Resource's API. The complex logic for determining required attributes, valid values, and idempotency checks is extracted into the backend computation engine, leaving a simple user interface that only requires high-level resource declarations.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system performs preliminary action by pre-computing the desired state and performing idempotency checks before actual resource provisioning. The configuration management module derives the meta-model and computes the desired state in advance, allowing users to submit simple resource declarations without worrying about attribute specifications or rule compliance.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If existing configuration management solutions are used, then resource provisioning can be performed, but enforcing idempotency requires users to follow restricted rules, consuming additional time

Engineering Contradiction:
Improveidempotency guaranteeVSAvoidtime to enforce idempotency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system implements feedback by automatically computing the desired state and comparing it with the current resource state to enforce idempotency. The configuration management module continuously monitors resource state and adjusts provisioning actions to maintain idempotency without requiring users to manually track or specify idempotency rules, reducing time consumption while maintaining reliability.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system performs self-service by autonomously handling all idempotency enforcement logic without user intervention. The configuration management module automatically derives the meta-model, computes the desired state, performs idempotency checks, and adjusts provisioning actions as needed, eliminating the time users would otherwise spend following restricted rules and manually ensuring idempotency.

Inventive Principle:
Principle #25Self-service

4Reliability

If users are required to specify specific resource attributes for idempotency, then idempotency can be enforced, but the user interface becomes unfriendly and complex

Engineering Contradiction:
Improveidempotency enforcementVSAvoiduser interface simplicity
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The system performs self-service by automatically deriving the meta-model from the Resource's API and computing the desired state without requiring users to manually specify resource attributes. The configuration management module autonomously handles all attribute specifications, validation, and idempotency checks, presenting a simple user interface that only requires high-level resource declarations while maintaining strict idempotency enforcement in the background.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS11848818B2System and method for building idempotent configuration management modules for a cloud infrastructure service
Publication Date: 2023.12.19 ORACLE INT CORP
  • US11848818B2 patent drawing
  • US11848818B2 patent drawing
  • US11848818B2 patent drawing

AI summary

Embodiments provide a system and method for building idempotent configuration management modules for cloud infrastructure services. Idempotency of a configuration management (CM) task in a CM plan is one of the mechanisms used to achieve repeatable and reliable automations of configuration management tasks. This helps DevOps and operations personnel reliably apply and maintain configuration of their systems.