# US 2019/0317757 A1 · Deployment of infrastructure in pipelines

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

- Number: US 2019/0317757 A1
- Document ID: US20190317757A1
- Status: Published application
- Kind: A1
- Application number: 16/426,564
- Filed: 2019-05-30
- Published: 2019-10-17
- Earliest claimed: 2017-08-16
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Felix Walter Blue Jodoin; Maxwell Bartholomew Hall; Martin Robert Frank; James William Lewis
- Web page: https://patentgrep.com/patent/US20190317757A1

## CPC

- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F 8/40: Transformation of program code
- G06F 8/60: Software deployment
- G06F 9/5005: {to service a request}
- G06F 11/3612: {by runtime analysis (performance monitoring G06F11/3466)}
- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 8/20: Software design
- G06F 8/36: Software reuse
- G06F 8/38: for implementing user interfaces
- G06F 8/61: Installation
- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 8/77: Software metrics
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/5072: {Grid computing}
- G06F 11/3698: Environments for analysis, debugging or testing of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system, such as a system of a computing resource service provider, detects changes to a pipeline template package that encodes information associated with application code and infrastructure that may be utilized as part of deploying the application code in stages of a pipeline. An infrastructure template that is usable to provision an execution environment may be generated for a corresponding stage of the development, and may be utilized as part of a process for provisioning an execution environment which may, for example, run tests to verify the quality of the application code.

## Claims

### Claim 1

A computer-implemented method, comprising:
detecting a change to code associated with a plurality of infrastructure templates, a template of the plurality corresponding to a stage of a plurality of stages;
assigning, based at least in part on the plurality of infrastructure templates, at least a first subset of a set of resources and a second subset of the set of resources for deploying to respective stages of the plurality of stages, the second subset different from the first subset;
based at least in part on assigning the first subset and second subset, submitting a request to deploy a resource of the respective subset of the set of resources; and
utilizing the resource to execute an application determined based at least in part on the code.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein assigning at least the first subset of the set of resources or the second subset of the set of resources is further based on a detected failure of previously executing the application.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the method further comprises:
determining the application executed with one or more metrics indicative of a passing result; and
assigning, based at least in part on the passing result, a second set of resources to an infrastructure template corresponding to a second stage of the plurality of stages.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the method further comprises:
detecting a plurality of changes to code associated with the plurality of infrastructure templates, the changes occurring within a time period; and
disabling, in response to detecting the plurality of changes within the time period, the assignment of resources associated with the plurality of changes.

### Claim 5

A system, comprising:
one or more processors; and
memory that stores computer-executable instructions that, as a result of execution, cause the one or more processors to:
detect a changed code for a first template corresponding to a stage of a plurality of stages, the first template of a set of templates;
provision, based at least in part on the changed code, a first portion of a set of resources to be associated with the first template; and
transmit a request to deploy the provisioned resources to an execution environment.

### Claim 6 (depends on 5)

The system of claim 5, wherein the instructions to provision the first portion of the set of resources, as a result of execution by the one or more processors, cause the system to run one or more unit tests to determine how the changed code affected how an application executes.

### Claim 7 (depends on 5)

The system of claim 5, wherein the instructions to detect the changed code, as a result of execution by the one or more processors, cause the system to detect that one or more tests failed at a particular stage of the plurality of stages.

### Claim 8 (depends on 5)

The system of claim 5, wherein the instructions further include instructions that, as a result of execution by the one or more processors, further cause the system to:
determine one or more tests based at least in part on a first stage; and
transmit an indication to a separate computer system to run the one or more tests using at least the first portion of the set of resources.

### Claim 9 (depends on 5)

The system of claim 5, wherein the changed code is encoded using a structured markup language.

### Claim 10 (depends on 5)

The system of claim 5, wherein the instructions to provision the first portion of the set of resources, as a result of execution by the one or more processors, cause the system to:
determine whether the resource is dependent on an additional resource; and
assign, when the resource is dependent, the additional resource to the respective stage associated with the resource.

### Claim 11 (depends on 5)

The system of claim 5, wherein the instructions to provision the first portion of the set of resources, as a result of execution by the one or more processors, cause the system to:
determine the first portion of the set of resources comprises a global resource; and
assign the first portion of the set of resources to be utilized before at least the second subset of the set of resources.

### Claim 12 (depends on 5)

The system of claim 5, wherein the instructions to provision the first portion of the set of resources, as a result of execution by the one or more processors, cause the system to:
determine the first template is associated with a region; and
provision the first portion of the set of resources according to the changed code when the resource is not currently utilized within the region.

### Claim 13

A non-transitory computer-readable storage medium comprising executable instructions that, as a result of being executed by one or more processors of a computer system, cause the computer system to at least:
determine a configuration of a set of resources to be deployed at a stage of a plurality of stages of a deployment;
provision, based at least in part on the configuration, a subset of the set of resources to the stage of the deployment; and
transmit a request to deploy the provisioned subset of the set of resources.

### Claim 14 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the executable instructions further comprise instructions that, as a result of execution by the one or more processors of the computer system, further cause the computer system to:
detect a change to a source code including one or more parameters associated with the set of resources, wherein the parameters indicate the subset of the set of resources to be deployed; and
provision, for the stage of the deployment, machine readable code associated with the source code, the machine readable code, as a result of execution, utilizes at least some of the subset of the set of resources.

### Claim 15 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the executable instructions that cause the computer system to determine the configuration of the set of resources include instructions that cause the computer system to order deploying the set of resources based at least in part on dependencies associated with the set of resources.

### Claim 16 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the executable instructions that cause the computer system to transmit a request to deploy the provisioned subset of the set of resources include instructions that cause the computer system to receive, via a graphical user interface, an indication of an approval to provision a second stage of the deployment.

### Claim 17 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the executable instructions that cause the computer system to provision the subset of the set of resources comprise instructions that, as a result of execution by the one or more processors, cause the system to:
determine whether the resource is a global resource or a partitioned resource;
determine, in response to determining that the resource is a global resource, whether the global resource is dependent on one or more partitioned resources; and
provision, in response to determining the global resource is dependent, the global resource after provisioning the one or more partitioned resources.

### Claim 18 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the executable instructions further comprise instructions that, as a result of execution by the one or more processors, further cause the system to determine that one or more changes to a source code are associated with a version change.

### Claim 19 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the executable instructions further comprise instructions that, as a result of execution by the one or more processors, further cause the system to:
determine permissions sufficient to deploy the resource; and
provide the permissions as part of the request.

### Claim 20 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the instructions further comprise instructions that, as a result of execution by the one or more processors, further cause the system to fulfill the request in response to determining that fulfilling the request is allowed by a security policy.
