# US 2022/0283788 A1 · Method and system for packaging infrastructure as code

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0283788 A1
- Document ID: US20220283788A1
- Status: Published application
- Kind: A1
- Application number: 17/826,681
- Filed: 2022-05-27
- Published: 2022-09-08
- Earliest claimed: 2019-08-07
- Assignees: JPMorgan Chase Bank, N.A.
- Applicants: JPMorgan Chase Bank, N.A.
- Inventors: James P WHITE, III; Neil AITKEN; Esa LAINE; Paul Richard MCDOWELL; Roy M MPANJU; Trupti Anant GAIKWAD; Nick SUTTLE
- Web page: https://patentgrep.com/patent/US20220283788A1

## CPC

- G06F 8/35: model driven
- G06F 8/60: Software deployment
- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F 11/3604: Analysis of software for verifying properties of programs (testing of software G06F11/3668)
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/34: {involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416)}
- G06F 11/3668: Testing of software
- G06F 11/368: {for test version control, e.g. updating test cases to a new software version}
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/3698: Environments for analysis, debugging or testing of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Various methods, apparatuses/systems, and media for providing IaC templates in a cloud environment are provided. A processor creates a plurality of IaC templates. Each of the plurality of IaC templates includes instructions to build at least a portion of an infrastructure. The plurality of IaC templates is stored in a central repository. The processor collects one or more of the plurality of the created IaC templates from the central repository in order to build a desired infrastructure package. The processor also executes at least one of updating, removing, upgrading, downgrading, and verifying the infrastructure package in the central repository. Each of the plurality of IaC templates also includes metadata identifying at least one of a package, installation instructions of the package, at least one dependency of the package, a version of the package, and a size of the package.

## Claims

### Claim 1

A method for providing Infrastructure as Code (“IaC”) templates in a cloud environment, the method being implemented by a processor on a computing device, the method comprising:
storing, by the processor, a plurality of IaC templates in a central repository including versioning the plurality of IaC template, each of the plurality of IaC templates including instructions to build at least a portion of an infrastructure package; and
executing at least one of updating, removing, upgrading, and verifying, by the processor, the infrastructure package in the central repository,
wherein each of the plurality of IaC templates comprises metadata identifying at least one of an infrastructure package, installation instructions of the infrastructure package, at least one dependency of the infrastructure package, a version of the infrastructure package, and a size of the infrastructure package, and the method further comprising:
defining an infrastructure package for IaC;
building the infrastructure package by collecting one or more of the plurality of the created IaC templates from the central repository;
deploying the infrastructure package; and
managing the infrastructure package.

### Claim 2 (depends on 1)

The method of claim 1, wherein defining the infrastructure package further comprising:
creating a configuration of the infrastructure package; and
validating the configuration of the infrastructure package.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
executing a user-defined code within the infrastructure package.

### Claim 4 (depends on 3)

The method of claim 3, wherein building the infrastructure package further comprising:
collecting specific files;
processing the collected specific files to create at least one package artifact; and
executing the user defined code on the collected specific files after at least one of the collecting, the processing and the creating.

### Claim 5 (depends on 4)

The method of claim 4, wherein deploying the infrastructure package further comprising:
copying the package artifact to the central repository;
registering the infrastructure package in the central repository; and
executing the user defined code on the package artifact after at least one of the copying and the registering.

### Claim 6 (depends on 5)

The method of claim 5, wherein managing the infrastructure package further comprising:
downloading the infrastructure package from the central repository;
validating the infrastructure package; and
performing a management action.

### Claim 7 (depends on 6)

The method according to claim 6, further comprising:
executing the user defined code on the downloaded infrastructure package after at least one of the validating and the performing the management action.

### Claim 8

A system for providing Infrastructure as Code (“IaC”) templates in a cloud environment, comprising:
a memory and a processor operatively connected to the memory via a communication network,
wherein the processor is configured to:
store a plurality of IaC templates in a central repository including versioning the plurality of IaC template, each of the plurality of IaC templates including instructions to build at least a portion of an infrastructure package; and
execute at least one of updating, removing, upgrading, and verifying the infrastructure package in the central repository,
wherein each of the plurality of IaC templates comprises metadata identifying at least one of an infrastructure package, installation instructions of the infrastructure package, at least one dependency of the infrastructure package, a version of the infrastructure package, and a size of the infrastructure package and
wherein the processor is further configured to:
define the desired infrastructure package for IaC;
build the desired infrastructure package by collecting one or more of the plurality of the created IaC templates from the central repository;
deploy the desired infrastructure package; and
manage the desired infrastructure package.

### Claim 9 (depends on 8)

The system of claim 8, wherein in defining the infrastructure package, the processor is further configured to:
create a configuration of the infrastructure package; and
validate the configuration of the infrastructure package.

### Claim 10 (depends on 9)

The system of claim 9, wherein the processor is further configured to:
execute a user-defined code within the infrastructure package.

### Claim 11 (depends on 10)

The system of claim 10, wherein in building the infrastructure package, the processor is further configured to:
collect specific files;
process the collected specific files to create at least one package artifact; and
execute the user defined code on the collected specific files after at least one of the collecting, the processing and the creating.

### Claim 12 (depends on 11)

The system of claim 11, wherein in deploying the infrastructure package, the processor is further configured to:
copy the package artifact to the central repository;
register the infrastructure package in the central repository; and
execute the user defined code on the package artifact after at least one of the copying and the registering.

### Claim 13 (depends on 12)

The system of claim 12, wherein in managing the infrastructure package, the processor is further configured to:
download the infrastructure package from the central repository;
validate the infrastructure package; and
perform a management action.

### Claim 14 (depends on 13)

The system of claim 13, wherein the processor is further configured to:
execute the user defined code on the downloaded infrastructure package after at least one of the validating and the performing the management action.

### Claim 15

A non-transitory computer readable medium configured to store instructions for creating Infrastructure as Code (“IaC”) templates in a cloud environment, wherein when executed, the instructions cause a processor to perform the following:
storing a plurality of IaC templates in a central repository including versioning the plurality of IaC template, each of the plurality of IaC templates including instructions to build at least a portion of an infrastructure package; and
executing at least one of updating, removing, upgrading, and verifying the infrastructure package in the central repository,
wherein each of the plurality of IaC templates comprises metadata identifying at least one of an infrastructure package, installation instructions of the infrastructure package, at least one dependency of the infrastructure package, a version of the infrastructure package, and a size of the infrastructure package, and
wherein when executed, the instructions further cause the processor to perform the following:
defining an infrastructure package for IaC;
building the infrastructure package by collecting one or more of the plurality of the created IaC templates from the central repository;
deploying the infrastructure package; and
managing the infrastructure package.

### Claim 16 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein in defining the infrastructure package, the instructions, when executed, further cause the processor to perform the following:
creating a configuration of the infrastructure package; and
validating the configuration of the infrastructure package.

### Claim 17 (depends on 16)

The non-transitory computer readable medium of claim 16, wherein the instructions, when executed, further cause the processor to perform the following:
executing a user-defined code within the infrastructure package.

### Claim 18 (depends on 17)

The non-transitory computer readable medium of claim 17, wherein in building the infrastructure package, the instructions, when executed, further cause the processor to perform the following:
collecting specific files;
processing the collected specific files to create at least one package artifact; and
executing the user defined code on the collected specific files after at least one of the collecting, the processing and the creating.

### Claim 19 (depends on 18)

The non-transitory computer readable medium of claim 18, wherein in deploying the infrastructure package, the instructions, when executed, further cause the processor to perform the following:
copying the package artifact to the central repository;
registering the infrastructure package in the central repository; and
executing the user defined code on the package artifact after at least one of the copying and the registering.

### Claim 20 (depends on 19)

The non-transitory computer readable medium of claim 19, wherein in managing the infrastructure package, the instructions, when executed, further cause the processor to perform the following:
downloading the infrastructure package from the central repository;
validating the infrastructure package;
performing a management action; and
executing the user defined code on the downloaded infrastructure package after at least one of the validating and the performing the management action.
