US 10552193
Security protocols for low latency execution of program code
Granted 2020-02-04 · Filed 2017-08-14 · Application 15/676,777 · Utility · Kind B2 · Prior publication US 2018/0203717 A1, 2018-07-19
- Assignee as printed
- Amazon Technologies, Inc., Seattle, WA (US)
- Inventors
- Timothy Allen Wagner, Seattle, WA (US); Dylan Chandler Thomas, Seattle, WA (US); Ajay Nair, Seattle, WA (US)
- CPC, current
- G06F9/45558; G06F2009/4557
Abstract
A system for providing security mechanisms for secure execution of program code is described. The system may be configured to maintain a plurality of virtual machine instances. The system may be further configured to receive a request to execute a program code and allocate computing resources for executing the program code on one of the virtual machine instances. One mechanism involves executing program code according to a user-specified security policy. Another mechanism involves executing program code that may be configured to communicate or interface with an auxiliary service. Another mechanism involves splitting and executing program code in a plurality of portions, where some portions of the program code are executed in association with a first level of trust and some portions of the program code are executed with different levels of trust.
The claims as the USPTO long-text file prints them (text data version 20261117.3), split by PatentRef's claim parser (structure version 2): each claim's opening words, then one row for each element with its character offsets in the claim text, and the dependent claims under the claim they refer to. The split describes the text; it is not a reading of it. Each claim and each element has a link of its own. How the links are made.
Claim 1
Independent claim.
1. A system, comprising:
- Claim 1, element e1one or more processors; and 25–47
- Claim 1, element e2one or more memories, the one or more memories having stored thereon instructions, which, when executed by the one or more processors, configure the one or more processors to: 53–227
- Claim 1, element e3receive a request to execute a program code, the request including data usable to modify a policy according to which the program code is to be executed; 229–380
- Claim 1, element e4identify a container created on one of a plurality of virtual machine instances implemented on one or more physical computing devices, 382–515
- Claim 1, element e5wherein the container is usable to execute the program code; 517–576
- Claim 1, element e6determine that the identified container satisfies one or more criteria defined by the data included in the request, 578–692
- Claim 1, element e7wherein the container is on a first virtual machine instance of the plurality of virtual machine instances; and 694–800
- Claim 1, element e8cause the program code to be executed in the container on the first virtual machine instance according to the policy modified based on the data included in the request.806–973
6 dependent claims: 2 to 7 (2, 3, 4, 5, 6, 7 on claim 1)
Claim 2
Depends on claim 1.
2. The system of claim 1 , wherein
- Claim 2, element e1the instructions, when executed by the one or more processors, further configure the one or more processors to identify the container based at least on a determination that the container has the program code loaded thereon at the time of receiving the request to execute the program code and is configured according to the modified policy.35–373
Claim 3
Depends on claim 1.
3. The system of claim 1 , wherein
- Claim 3, element e1the data included in the request specify an execution duration within which the execution of the program code is to be completed, the instructions, when executed by the one or more processors, further configuring the one or more processors to acquire the container for at least the execution duration.35–335
Claim 4
Depends on claim 1.
4. The system of claim 1 , wherein
- Claim 4, element e1the data included in the request specify a resource usage limit, the instructions, when executed by the one or more processors, further configuring the one or more processors to cause, based at least on the resource usage limit, the program code to be executed using an amount of computing resource that is less than or equal to the resource usage limit.35–388
Claim 5
Depends on claim 1.
5. The system of claim 1 , wherein
- Claim 5, element e1the data included in the request specify access information associated with an auxiliary service, the instructions, when executed by the one or more processors, further configuring the one or more processors to cause, based at least on the access information, the program code to communicate with the auxiliary service during the execution of the program code.35–394
Claim 6
Depends on claim 1.
6. The system of claim 1 , wherein
- Claim 6, element e1the data included in the request specify container communication information usable to enable inter-container communication, the instructions, when executed by the one or more processors, further configuring the one or more processors to cause, based at least on the container communication information, the container to communicate with another container on the first virtual machine instance.35–428
Claim 7
Depends on claim 1.
7. The system of claim 1 , wherein
- Claim 7, element e1the data included in the request specify container communication information usable to enable inter-container communication, the instructions, when executed by the one or more processors, further configuring the one or more processors to cause, based at least on the container communication information, the container to communicate with another container on a second virtual machine instance of the plurality of virtual machine instances that is different from the first virtual machine instance.35–531
Claim 8
Independent claim.
8. A computer-implemented method comprising:
- Claim 8, element e1as implemented by one or more computing devices configured with specific executable instructions, receiving a request to execute a program code, the request including data usable to modify a policy according to which the program code is to be executed; 45–296
- Claim 8, element e2identifying a container created on one of a plurality of virtual machine instances implemented on one or more physical computing devices, 298–434
- Claim 8, element e3wherein the container is usable to execute the program code; 436–495
- Claim 8, element e4determining that the identified container satisfies one or more criteria defined by the data included in the request, 497–613
- Claim 8, element e5wherein the container is on a first virtual machine instance of the plurality of virtual machine instances; and 615–721
- Claim 8, element e6executing the program code in the container on the first virtual machine instance according to the policy modified based on the data included in the request.727–883
7 dependent claims: 9 to 15 (9, 10, 11, 12, 13, 14, 15 on claim 8)
Claim 9
Depends on claim 8.
9. The computer-implemented method of claim 8 , further comprising:
- Claim 9, element e1determining that the request is associated with a user account in a first group of user accounts, 68–164
- Claim 9, element e2wherein the user accounts in the first group share a set of execution parameters; and 166–246
- Claim 9, element e3in response to determining that the request is associated with the user account in the first group, determining one or more additional execution parameters associated with the request based at least on the set of execution parameters shared by the first group.252–511
Claim 10
Depends on claim 8.
10. The computer-implemented method of claim 8 , wherein
- Claim 10, element e1the data included in the request specify a trusted credential usable to execute the program code, the method further comprising executing a first portion of the program code without using the trusted credential and executing a second portion of the program code using the trusted credential.57–347
Claim 11
Depends on claim 8.
11. The computer-implemented method of claim 8 , further comprising
- Claim 11, element e1modifying the policy based on the data included in the request.68–130
Claim 12
Depends on claim 8.
12. The computer-implemented method of claim 8 , further comprising
- Claim 12, element e1receiving a request to register the program code different from the request to execute the program code.68–171
Claim 13
Depends on claim 8.
13. The computer-implemented method of claim 8 , further comprising:
- Claim 13, element e1determining that a first execution parameter having a first value is causing one or more security issues; and 69–173
- Claim 13, element e2outputting a suggestion to set the first execution parameter to a second value different from the first value.179–288
Claim 14
Depends on claim 8.
14. The computer-implemented method of claim 8 , wherein
- Claim 14, element e1the data included in the request specify that the program code is permitted to establish a transmission control protocol (“TCP”) socket connection, the method further comprising identifying the container that allows the program code to establish a TCP socket connection.57–326
Claim 15
Depends on claim 8.
15. The computer-implemented method of claim 8 , wherein
- Claim 15, element e1the data included in the request specify connection information usable to establish a transmission control protocol (“TCP”) socket connection, the method further comprising establishing, based at least on the connection information, a TCP socket connection during the execution of the program code.57–354
Claim 16
Independent claim.
16. Non-transitory physical computer storage storing instructions that, when executed by one or more computing devices having one or more processors, configure the one or more computing devices to: receive a request to execute a program code, the request including
- Claim 16, element e1data usable to modify a policy according to which the program code is to be executed; 265–349
- Claim 16, element e2identify a container created on one of a plurality of virtual machine instances implemented on one or more physical computing devices, 351–484
- Claim 16, element e3wherein the container is usable to execute the program code; 486–545
- Claim 16, element e4determine that the identified container satisfies one or more criteria defined by the data included in the request, 547–661
- Claim 16, element e5wherein the container is on a first virtual machine instance of the plurality of virtual machine instances; and 663–769
- Claim 16, element e6cause the program code to be executed in the container on the first virtual machine instance according to the policy modified based on the data included in the request.775–942
4 dependent claims: 17 to 20 (17, 18 on claim 16; 19 on 18; 20 on 19)
Claim 17
Depends on claim 16.
17. The non-transitory physical computer storage of claim 16 , wherein
- Claim 17, element e1the data included in the request specify mode information indicative of a mode in which the program code is to be executed, the instructions, when executed by the one or more computing devices, further configuring the one or more computing devices to generate, based at least on the mode information, a log associated with the execution of the program code.71–427
Claim 18
Depends on claim 16.
18. The non-transitory physical computer storage of claim 16 , wherein
- Claim 18, element e1the instructions, when executed by the one or more computing devices, further configure the one or more computing devices to interface with a logging service to log security-related activity performed during the execution of the program code.71–312
Claim 19
Depends on claim 18.
19. The non-transitory physical computer storage of claim 18 , wherein
- Claim 19, element e1the security-related activity comprises one or more of inbound or outbound network connections established by the program code, external services contacted by the program code, or trusted credentials utilized by the program code.71–299
Claim 20
Depends on claim 19.
20. The non-transitory physical computer storage of claim 19 , wherein
- Claim 20, element e1the instructions, when executed by the one or more computing devices, further configure the one or more computing devices to: 71–195
- Claim 20, element e2determine that at least some of the security-related activity is unauthorized; and 197–274
- Claim 20, element e3output an indication that the at least some of the security-related activity is unauthorized.280–372
1. A system, comprising: one or more processors; and one or more memories, the one or more memories having stored thereon instructions, which, when executed by the one or more processors, configure the one or more processors to: receive a request to execute a program code, the request including data usable to modify a policy according to which the program code is to be executed; identify a container created on one of a plurality of virtual machine instances implemented on one or more physical computing devices, wherein the container is usable to execute the program code; determine that the identified container satisfies one or more criteria defined by the data included in the request, wherein the container is on a first virtual machine instance of the plurality of virtual machine instances; and cause the program code to be executed in the container on the first virtual machine instance according to the policy modified based on the data included in the request.
2. The system of claim 1 , wherein the instructions, when executed by the one or more processors, further configure the one or more processors to identify the container based at least on a determination that the container has the program code loaded thereon at the time of receiving the request to execute the program code and is configured according to the modified policy.
3. The system of claim 1 , wherein the data included in the request specify an execution duration within which the execution of the program code is to be completed, the instructions, when executed by the one or more processors, further configuring the one or more processors to acquire the container for at least the execution duration.
4. The system of claim 1 , wherein the data included in the request specify a resource usage limit, the instructions, when executed by the one or more processors, further configuring the one or more processors to cause, based at least on the resource usage limit, the program code to be executed using an amount of computing resource that is less than or equal to the resource usage limit.
5. The system of claim 1 , wherein the data included in the request specify access information associated with an auxiliary service, the instructions, when executed by the one or more processors, further configuring the one or more processors to cause, based at least on the access information, the program code to communicate with the auxiliary service during the execution of the program code.
6. The system of claim 1 , wherein the data included in the request specify container communication information usable to enable inter-container communication, the instructions, when executed by the one or more processors, further configuring the one or more processors to cause, based at least on the container communication information, the container to communicate with another container on the first virtual machine instance.
7. The system of claim 1 , wherein the data included in the request specify container communication information usable to enable inter-container communication, the instructions, when executed by the one or more processors, further configuring the one or more processors to cause, based at least on the container communication information, the container to communicate with another container on a second virtual machine instance of the plurality of virtual machine instances that is different from the first virtual machine instance.
8. A computer-implemented method comprising: as implemented by one or more computing devices configured with specific executable instructions, receiving a request to execute a program code, the request including data usable to modify a policy according to which the program code is to be executed; identifying a container created on one of a plurality of virtual machine instances implemented on one or more physical computing devices, wherein the container is usable to execute the program code; determining that the identified container satisfies one or more criteria defined by the data included in the request, wherein the container is on a first virtual machine instance of the plurality of virtual machine instances; and executing the program code in the container on the first virtual machine instance according to the policy modified based on the data included in the request.
9. The computer-implemented method of claim 8 , further comprising: determining that the request is associated with a user account in a first group of user accounts, wherein the user accounts in the first group share a set of execution parameters; and in response to determining that the request is associated with the user account in the first group, determining one or more additional execution parameters associated with the request based at least on the set of execution parameters shared by the first group.
10. The computer-implemented method of claim 8 , wherein the data included in the request specify a trusted credential usable to execute the program code, the method further comprising executing a first portion of the program code without using the trusted credential and executing a second portion of the program code using the trusted credential.
11. The computer-implemented method of claim 8 , further comprising modifying the policy based on the data included in the request.
12. The computer-implemented method of claim 8 , further comprising receiving a request to register the program code different from the request to execute the program code.
13. The computer-implemented method of claim 8 , further comprising: determining that a first execution parameter having a first value is causing one or more security issues; and outputting a suggestion to set the first execution parameter to a second value different from the first value.
14. The computer-implemented method of claim 8 , wherein the data included in the request specify that the program code is permitted to establish a transmission control protocol (“TCP”) socket connection, the method further comprising identifying the container that allows the program code to establish a TCP socket connection.
15. The computer-implemented method of claim 8 , wherein the data included in the request specify connection information usable to establish a transmission control protocol (“TCP”) socket connection, the method further comprising establishing, based at least on the connection information, a TCP socket connection during the execution of the program code.
16. Non-transitory physical computer storage storing instructions that, when executed by one or more computing devices having one or more processors, configure the one or more computing devices to: receive a request to execute a program code, the request including data usable to modify a policy according to which the program code is to be executed; identify a container created on one of a plurality of virtual machine instances implemented on one or more physical computing devices, wherein the container is usable to execute the program code; determine that the identified container satisfies one or more criteria defined by the data included in the request, wherein the container is on a first virtual machine instance of the plurality of virtual machine instances; and cause the program code to be executed in the container on the first virtual machine instance according to the policy modified based on the data included in the request.
17. The non-transitory physical computer storage of claim 16 , wherein the data included in the request specify mode information indicative of a mode in which the program code is to be executed, the instructions, when executed by the one or more computing devices, further configuring the one or more computing devices to generate, based at least on the mode information, a log associated with the execution of the program code.
18. The non-transitory physical computer storage of claim 16 , wherein the instructions, when executed by the one or more computing devices, further configure the one or more computing devices to interface with a logging service to log security-related activity performed during the execution of the program code.
19. The non-transitory physical computer storage of claim 18 , wherein the security-related activity comprises one or more of inbound or outbound network connections established by the program code, external services contacted by the program code, or trusted credentials utilized by the program code.
20. The non-transitory physical computer storage of claim 19 , wherein the instructions, when executed by the one or more computing devices, further configure the one or more computing devices to: determine that at least some of the security-related activity is unauthorized; and output an indication that the at least some of the security-related activity is unauthorized.
The text of each claim as printed, for pasting a claim word for word. The links in the tree view name the same claims and elements.
Status
active
As of 2026-11-17, the USPTO record for US 10552193 shows no unresolved maintenance-fee lapse, and the term end computed from the dates in that record is 2035-02-04 (20 years from the filing of a parent application on 2015-02-04), a date not yet passed (data version 20261117.2).
- Basis
- term_20y (20 years from the filing of a parent application on 2015-02-04)
- Term end
- 2035-02-04 Computed from the dates in the USPTO record
- Fee lapse
- none on record
- Reinstatement
- none on record; reinstatement_possible: false, not lapsed
- As of
- 2026-11-17
- Data version
- 20261117.2
A fact about the record with its basis and its as-of date, not legal advice.
Citations
References cited on the grant: 141 US patent documents · Cited by: 68 US patents in this data · Lists through the API: /api/v1/patent/us_patent_citation/10552193/ (needs a free key, as the links under Get this as data)
Family outside the US
Google Patents Public Datasets lists no publication outside the US in this patent's family (read 2026-10-15).
This patent's family on USPTO Global Dossier
Family data from Google Patents Public Datasets, used under CC BY 4.0.
Record JSON
{
"patent_id": "10552193",
"status": "active",
"basis": [
"term_20y"
],
"reinstatement_possible": false,
"reinstatement_basis": "not lapsed",
"expiry_date_estimated": "2035-02-04",
"lapse_date": null,
"reinstated_date": null,
"as_of": "2026-11-17",
"data_version": "20261117.2",
"catalog_data_version": "20261117.2",
"permalink": "https://patentref.io/p/10552193?v=20261117.2",
"next_steps": [
{
"kind": "record",
"url": "https://patentref.io/p/10552193?v=20261117.2",
"audience": "human"
},
{
"kind": "patent",
"url": "https://patentref.io/api/v1/patent/10552193/",
"audience": "agent"
},
{
"kind": "fee_events",
"tool": "uspto_patent_center",
"url": "https://patentcenter.uspto.gov/applications?patentNumber=10552193",
"audience": "agent"
}
]
}
Get this as data
- Full record
/api/v1/patent/10552193/ - Status record
/api/v1/lapse/status/10552193/ - Claim tree
/api/v1/structure/claims/10552193/ - Brief
/api/v1/structure/brief/10552193/
These four links need a free key (1,000 requests a month). Opened in a browser, which sends no key, they answer 403. Get a free key on the sign-up page, then send it in the X-Api-Key header. To see the shape of an answer without a key, open Try it.