# US 9,356,883 B1 · Allocating cloud-hosted application resources using end-user metrics

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

- Number: US 9,356,883 B1
- Document ID: US9356883B1
- Status: Granted
- Kind: B1
- Application number: 14/290,670
- Filed: 2014-05-29
- Granted: 2016-05-31
- Earliest claimed: 2014-05-29
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Apolak Borthakur
- Web page: https://patentgrep.com/patent/US9356883B1

## CPC

- H04L 41/5025: by proactively reacting to service quality change, e.g. by reconfiguration after service quality degradation or upgrade
- G06F 8/60: Software deployment
- G06F 9/5011: {the resources being hardware resources other than CPUs, Servers and Terminals}
- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- H04L 41/122: of virtualised topologies, e.g. software-defined networks [SDN] or network function virtualisation [NFV]
- H04L 41/5051: Service on demand, e.g. definition and deployment of services in real time
- H04L 41/5096: {wherein the managed service relates to distributed or central networked applications}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

At least one workflow comprising end-user interactions with an application implemented using provider network resources is identified by a resource allocation service of the provider network. The service collects performance metrics associated with the end-user workflow. If a performance metric meets a threshold criterion, a re-evaluation of the resources assigned to the application is initiated. Configuration changes to modify the set of provider network resources assigned to the application are implemented in accordance with a result of the resource re-evaluation.

## Claims

### Claim 1

A system, comprising:
one or more computing devices configured to:
allocate a set of provider network resources to an application deployed on behalf of a particular customer, wherein a virtual computing service of the provider network supports a plurality of compute instance categories that differ from each other in one or more performance capabilities, and wherein the set of provider network resources comprises a particular compute instance of a first compute instance category of the plurality of compute instance categories;
receive, from the particular customer via a programmatic interface, an indication of one or more end-user workflows associated with the application;
collect respective sets of performance metrics associated with each end-user workflow of the one or more end-user workflows;
initiate, based at least in part on a determination that a particular performance metric of a particular end-user workflow of the one or more end-user workflows meets a threshold criterion, a resource re-evaluation analysis associated with the application;
determine, during the resource re-evaluation analysis, that the set of provider network resources is to be modified; and
implement one or more configuration changes to modify the set of provider network resources, wherein the one or more configuration changes include a replacement of the particular compute instance by a different compute instance of a second compute instance category of the plurality of compute instance categories.

### Claim 2 (depends on 1)

The system as recited in claim 1, wherein the one or more end-user workflows comprise a generation of a response to at least one request received at the application via a variant of HTTP.

### Claim 3 (depends on 1)

The system as recited in claim 1, wherein the one or more computing devices are configured to:
receive, from the particular customer, an indication of the threshold criterion.

### Claim 4 (depends on 1)

The system as recited in claim 1, wherein the one or more computing devices are further configured to:
initiate a submission, to the application from a selected request source, of one or more requests emulating at least a portion of the particular end-user workflow; and
determine that the particular performance metric meets the threshold criterion based at least in part on values of respective performance metrics collected for the one or more requests.

### Claim 5 (depends on 1)

The system as recited in claim 1, wherein the one or more computing devices are further configured to:
instrument a networking component used for a request of the particular end-user workflow to determine whether the particular performance metric meets the threshold criterion.

### Claim 6

A method, comprising:
performing, by one or more computing devices:
allocating a set of provider network resources to an application deployed on behalf of a particular customer;
identifying one or more end-user workflows associated with the application;
collecting respective sets of performance metrics associated with each end-user workflow of the one or more end-user workflows;
initiating, based at least in part on a determination that a particular performance metric of a particular end-user workflow of the one or more end-user workflows meets a threshold criterion, a resource re-evaluation analysis associated with the application; and
implementing one or more configuration changes to modify the set of provider network resources in accordance with a result of the resource re-evaluation analysis.

### Claim 7 (depends on 6)

The method as recited in claim 6, wherein said identifying the one or more end-user workflows comprises receiving, from the customer via a programmatic interface, an indication of the one or more end-user workflows.

### Claim 8 (depends on 6)

The method as recited in claim 6, wherein the one or more end-user workflows comprise a generation of a response to at least one request received at the application via a variant of HTTP.

### Claim 9 (depends on 6)

The method as recited in claim 6, further comprising performing, by the one or more computing devices:
receiving, from the customer, an indication of the threshold criterion.

### Claim 10 (depends on 6)

The method as recited in claim 6, further comprising performing, by the one or more computing devices:
submitting, to the application from a selected test device, one or more work requests emulating at least a portion of the particular end-user workflow; and
determining that the particular performance metric meets the threshold criterion based at least in part on values of respective performance metrics collected for the one or more work requests.

### Claim 11 (depends on 6)

The method as recited in claim 6, further comprising performing, by the one or more computing devices:
instrumenting a networking component used by the application to determine whether the particular performance metric meets the threshold criterion.

### Claim 12 (depends on 6)

The method as recited in claim 6, further comprising:
measuring respective response times of a plurality of end-user interactions with the application;
determining that the particular performance metric meets the threshold criterion based at least in part on a statistical analysis of the respective response times.

### Claim 13 (depends on 6)

The method as recited in claim 6, further comprising performing, by the one or more computing devices:
configuring a set of alerts at respective resources associated with the particular performance metric, wherein an alert record corresponding to at least one alert of the set of alerts is stored in a log in response to a determination that the particular performance metric meets the threshold criterion; and
selecting a particular alert record from the log for inclusion in the resource re-evaluation analysis based at least in part on a relevance time window determined for the particular performance metric.

### Claim 14 (depends on 13)

The method as recited in claim 13, further comprising performing, by the one or more computing devices:
storing a representation of a network topology of the application; and
selecting the particular alert record from the alert log for inclusion in the resource re-evaluation analysis based at least in part on a location within the topology of a source of the particular alert record.

### Claim 15 (depends on 6)

The method as recited in claim 6, further comprising performing, by the one or more computing devices:
utilizing a machine learning technique to select a particular configuration change of the one or more configuration changes.

### Claim 16 (depends on 6)

The method as recited in claim 6, wherein the set of provider network resources includes a first resource with first performance capacity and a first billing rate, wherein the one or more configuration changes includes replacing the first resource with a second resource with a lower performance capacity and a lower billing rate.

### Claim 17

A non-transitory computer-accessible storage medium storing program instructions that when executed on one or more processors:
identify one or more end-user workflows associated with an application deployed at a set of provider network resources on behalf of a customer;
collect respective sets of performance metrics associated with each end-user workflow of the one or more end-user workflows;
initiate, based at least in part on a determination that a particular performance metric of a particular end-user workflow of the one or more end-user workflows meets a threshold criterion, a resource re-evaluation analysis associated with the application; and
implement one or more configuration changes to modify the set of provider network resources in accordance with a result of the resource re-evaluation analysis.

### Claim 18 (depends on 17)

The non-transitory computer-accessible storage medium as recited in claim 17, wherein the instructions when executed on the one or more processors:
receive, from the customer via a programmatic interface, an indication of the one or more end-user workflows.

### Claim 19 (depends on 17)

The non-transitory computer-accessible storage medium as recited in claim 17, wherein the instructions when executed on the one or more processors:
receive, from the customer, an indication of the threshold criterion.

### Claim 20 (depends on 17)

The non-transitory computer-accessible storage medium as recited in claim 17, wherein the instructions when executed on the one or more processors:
initiate a submission, to the application from a selected test device, of one or more requests emulating at least a portion of the particular end-user workflow; and
determine that the particular performance metric meets the threshold criterion based at least in part on values of respective performance metrics collected for the one or more requests.
