# US 2020/0004590 A1 · Customer resource monitoring for versatile scaling service scaling policy recommendations

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

- Number: US 2020/0004590 A1
- Document ID: US20200004590A1
- Status: Published application
- Kind: A1
- Application number: 16/565,051
- Filed: 2019-09-09
- Published: 2020-01-02
- Earliest claimed: 2016-11-22
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Kai Fan Tang; Ahmed Usman Khalid
- Web page: https://patentgrep.com/patent/US20200004590A1

## CPC

- G06F 9/5005: {to service a request}
- G06F 9/5061: {Partitioning or combining of resources}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A notification for an application stack is received, where the application stack includes a plurality of resource types. At least one policy associated with the notification is obtained, with the first policy being a policy for scaling a first resource of a first resource type and a second resource of a second resource type of the application stack. A first capacity for the first resource and a second capacity for the second resource is determined based at least in part on the at least one policy. The first resource and the second resource are caused to be scaled according to the first capacity and the second capacity respectively.

## Claims

### Claim 1

A computer-implemented method, comprising:
identifying, based at least in part on historical usage of a first resource type of an application stack, a utilization pattern of the first resource type;
determining that the utilization pattern of the first resource type satisfies a first criteria associated with a scaling policy, wherein the scaling policy comprises information indicative of a relationship between the first resource type and a second resource type;
scaling the first resource type in accordance with the scaling policy; and
scaling the second resource type, in accordance with the scaling policy, based at least in part on the scaling of the first resource type.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein determining that the utilization pattern of the first resource type satisfies the first criteria comprises analyzing historic traffic volume associated with the first resource type to determine a statistical trend.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, further comprising:
receiving a selection of one or more load metrics indicative of historic resource usage associated with the first resource type and the second resource type, wherein determining that the utilization pattern of the first resource type satisfies the first criteria is based at least in part on the one or more load metrics.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, further comprising scaling the first resource type in accordance with a target utilization policy.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, further comprising:
verifying that scaling the first resource type and second resource type in accordance with the scaling policy would not cause a loss of data.

### Claim 6

A system, comprising:
one or more processors; and
memory comprising instructions that, as a result of execution by the one or more processors, cause the system to at least:
obtain a utilization pattern of a first resource type, the utilization pattern based at least in part on historical usage of the first resource type by an application stack;
determine that the utilization pattern of the first resource type satisfies a first criteria associated with a scaling policy, wherein the scaling policy comprises information indicative of a relationship between the first resource type and a second resource type;
cause the first resource type to scale in accordance with the scaling policy; and
cause the second resource type to scale, in accordance with the scaling policy, based at least in part on scaling of the first resource type.

### Claim 7 (depends on 6)

The system of claim 6, wherein the instructions, as a result of execution by the one or more processors, further cause the system to determine that the utilization pattern of the first resource type satisfies the first criteria associated with the scaling policy based at least in part on a load metric and a resource consumption metric.

### Claim 8 (depends on 6)

The system of claim 6, wherein the instructions, as a result of execution by the one or more processors, further cause the system to determine the scaling policy based at least in part on correlation between a change of a first resource type usage and a change of a second resource type usage.

### Claim 9 (depends on 6)

The system of claim 6, wherein first and second resource types are associated with an identifier common to both the first and second resource types.

### Claim 10 (depends on 6)

The system of claim 6, wherein the instructions, as a result of execution by the one or more processors, further cause the system to at least:
receive a selection of one or more load metrics associated with historical usage of the first resource type by the application stack;
determine a load metric pattern based at least in part on the received selection of the one or more load metrics; and
select, based at least in part on the load metric pattern, a different scaling policy.

### Claim 11 (depends on 10)

The system of claim 10, wherein the instructions, as a result of execution by the one or more processors, further cause the system to at least:
determine that a current load metric is not consistent with the determined load metric pattern; and
select the scaling policy in response to determining the current load metric is not consistent with the determined load metric pattern.

### Claim 12 (depends on 6)

The system of claim 6, wherein the information indicative of the relationship between the first resource type and the second resource type comprises a common identifier shared by the first resource type and the second resource type.

### Claim 13

A non-transitory computer-readable storage medium that stores executable instructions that, as a result of execution by one or more processors of a computer system, cause the computer system to at least:
identify, based at least in part on historical usage of a first resource type of an application stack, a utilization pattern of the first resource type;
determine that the utilization pattern of the first resource type satisfies a first criteria associated with a scaling policy, wherein the scaling policy comprises information indicative of a relationship between the first resource type and a second resource type;
scale the first resource type in accordance with the scaling policy; and
scale the second resource type, in accordance with the scaling policy, based at least in part on scaling of the first resource type.

### Claim 14 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the executable instructions, as a result of execution by the one or more processors of the computer system, cause the computer system to at least determine that the utilization pattern of the first resource type satisfies the first criteria based at least in part on a statistical trend.

### Claim 15 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, the executable instructions, as a result of execution by the one or more processors of the computer system, cause the computer system to scale the second resource type based at least in part on at least one of a step policy or a target utilization policy.

### Claim 16 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the executable instructions, as a result of execution by the one or more processors of the computer system, cause the computer system to at least receive a selection of one or more load metrics indicative of historic resource usage associated with the first resource type and the second resource type.

### Claim 17 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the executable instructions, as a result of execution by the one or more processors of the computer system, further cause the computer system to at least:
receive a selection of one or more load metrics associated with historical usage of a first resource type by the application stack;
determine a load metric pattern based at least in part on the received selection of one or more load metrics; and
select, based at least in part on the load metric pattern, a second scaling policy.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein the executable instructions, as a result of execution by the one or more processors of the computer system, cause the computer system to at least:
determine that a current load metric pattern is not consistent with the determined load metric pattern; and
select the scaling policy in response to determining the current load metric is not consistent with the determined load pattern.

### Claim 19 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the executable instructions, as a result of execution by the one or more processors of the computer system, cause the computer system to at least limit dimensions by which the second resource type is scaled.

### Claim 20 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the executable instructions, as a result of execution by the one or more processors of the computer system, cause the computer system to at least scale the first resource type in accordance with a schedule.
