×

On-demand network code execution with cross-account aliases

  • US 10,277,708 B2
  • Filed: 06/30/2016
  • Issued: 04/30/2019
  • Est. Priority Date: 06/30/2016
  • Status: Active Grant
First Claim
Patent Images

1. A system to enable cross-account execution of tasks on an on-demand code execution environment, the system comprising:

  • a non-transitory data store configured to store tasks, wherein individual tasks are owned by accounts of the on-demand code execution environment and are associated with user-submitted source code executable to implement functionality corresponding to the individual tasks; and

    one or more processors configured with computer-executable instructions to;

    receive a request from a user computing device associated with a first account to enable execution of a task owned by a second account, wherein the request comprises one or more parameters for the on-demand code execution environment to pass to the user-submitted source code associated with the task in response to a user of the first account requesting execution of the task, and wherein the one or more parameters include authentication information for a network resource of the first account to be passed to the user-submitted source code associated with the task;

    generate an alias corresponding to the first account, wherein the alias references the task owned by the second account, and wherein a call to the alias causes the on-demand code execution environment to pass the one or more parameters to an execution of the user-submitted source code without requiring that the one or more parameters be included within the call to the alias;

    return, to the user computing device associated with the first account, access information enabling the user computing device to call the alias corresponding to the first account in order to execute the task owned by the second account, including causing the on-demand code execution environment to pass the one or more parameters to the execution of the user-submitted source code associated with the task;

    receive the call to the alias corresponding to the first account;

    select a virtual machine instance within the on-demand code execution environment on which to execute the user-submitted source code corresponding to the task owned by the second account, wherein the virtual machine instance is dedicated to at least one of execution of tasks of the first account or execution of tasks of the second account; and

    execute within the virtual machine instance the user-submitted source code corresponding to the task owned by the second account on behalf of the first account, wherein execution of the code comprises passing, by the on-demand code execution environment and to the user-submitted source code, the one or more parameters including the authentication information for the network resource of the first account.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×