US 11,706,082 B1
Reconciliation of cloud service state
Volodymyr Ivanov, Bellevue, WA (US); and Bert Casper, Redmond, WA (US)
Assigned to Microsoft Technology Licensing, LLC, Redmond, WA (US)
Filed by Microsoft Technology Licensing, LLC, Redmond, WA (US)
Filed on Feb. 2, 2022, as Appl. No. 17/591,325.
Int. Cl. H04L 41/0654 (2022.01); H04L 43/045 (2022.01); H04L 67/10 (2022.01)
CPC H04L 41/0654 (2013.01) [H04L 43/045 (2013.01); H04L 67/10 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A computer system comprising:
one or more processors; and
one or more computer-readable media having stored thereon computer-executable instructions that are structured such that, when the computer-executable instructions are executed by the one or more processors, the computer system is configured to:
perform a reconciliation process with respect to a current state of a cloud service and a goal state of the cloud service, performing the reconciliation process comprising:
obtaining the current state of the cloud service, the current state containing one or more first resources that have been deployed at the cloud service;
obtaining the goal state of the cloud service, the goal state containing one or more second resources that are required to set up and run the cloud service;
evaluating the current state against the goal state to generate a reconciliation plan that comprises a plurality of operations;
starting execution of the reconciliation plan at the cloud service including performing at least one of the plurality of operations in the reconciliation plan; and
after starting execution of the reconciliation plan at the cloud service:
obtaining a first set of operations that are executing at the cloud service;
obtaining a second set of operations that are contained in the reconciliation plan;
identifying a third set of operations that are in the first set of operations but not in the second set of operations; and
cancelling the third set of operations at the cloud service; and
in response to detecting an event, reperform the reconciliation process again such that one or more of the current state of the cloud service, the goal state of the cloud service, or the reconciliation plan changes, wherein by repeatedly performing the reconciliation process, the cloud service moves step by step towards the goal state.