Remote cloud function invocation service
Abstract
The present disclosure relates to a framework that provides execution of serverless functions in a cloud environment based on occurrence of events/notifications from services in an entirely different cloud environment. A target agent obtains a notification from a source agent, where the target agent is deployed in a target cloud environment and the source agent is deployed in a source cloud environment that is different than the target cloud environment. The target agent determines a function that is to be invoked based on the notification. Upon successfully verifying whether the target agent is permitted to invoke the function that is deployed in a target customer tenancy of the target cloud environment, the target agent invokes the function in the target customer tenancy of the target cloud environment.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 1.
Claims (15 — 3 Independent, 12 Dependent)
- Claim 1Independent Claim
A method comprising: deploying, by a remote function invocation service provided by a target cloud environment, a target agent in a dataplane of a target service tenancy instantiated in the target cloud environment; deploying, by the remote function invocation service provided by the target cloud environment, a source agent in a corresponding dataplane of a source service tenancy instantiated in a source cloud environment, wherein the target cloud environment is provided by a first cloud service provider and the source cloud environment is provided by a second cloud service provider that is different than the first cloud service provider; obtaining, by the target agent, a notification from the source agent, wherein the source agent receives the notification from a cloud resource that is deployed in a source customer tenancy of the source cloud environment and requests to utilize a function deployed in a target customer tenancy of the target cloud environment, wherein the target agent is configured to: (i) obtain an identifier associated with the notification, and (ii) query a mapping database to obtain the function associated with the identifier, wherein the mapping database is preconfigured with a plurality of mappings, each mapping identifying a particular function that is to be invoked with respect to a particular identifier; determining, by the target agent, the function that is to be invoked based on the notification; verifying whether the target agent that is deployed in the target service tenancy of the target cloud environment is permitted to invoke the function that is deployed in the target customer tenancy of the target cloud environment; and responsive to a successful verification, invoking by the target agent the function in the target customer tenancy of the target cloud environment.
- Claim 2Depends on #1
The method of claim 1, wherein the target agent is communicatively coupled with the source agent by a secure communication channel.
- Claim 3Depends on #1
The method of claim 1, wherein the source agent: (i) registers with the cloud resource deployed in the source customer tenancy of the source cloud environment or polls a queue associated with the cloud resource so as to receive the notification, and (ii) forwards the notification to the target agent upon receiving the notification from the cloud resource.
- Claim 4Depends on #1
The method of claim 1, wherein the step of verifying further comprising: determining whether the target agent is permitted to access the target customer tenancy in the target cloud environment in accordance with a policy associated with the target cloud environment.
- Claim 5Depends on #4
The method of claim 4, further comprising: responsive to a successful determination, obtaining by the target agent a token from an identity management service of the target cloud environment; and forwarding the token to a serverless functions service deployed in the target cloud environment.
- Claim 6Depends on #5
The method of claim 5, further comprising: causing by the serverless functions service, the function deployed in the target customer tenancy of the target cloud environment to be executed.
- Claim 7Depends on #5
The method of claim 5, wherein the serverless functions service communicates with the identity management service of the target cloud environment to determine a set of privileges associated with the token.
- Claim 8Independent Claim
A non-transitory computer readable medium storing specific computer-executable instructions that, when executed by a processor, cause a computer system to perform operations comprising: deploying, by a remote function invocation service provided by a target cloud environment, a target agent in a dataplane of a target service tenancy instantiated in the target cloud environment; deploying, by the remote function invocation service provided by the target cloud environment, a source agent in a corresponding dataplane of a source service tenancy instantiated in a source cloud environment, wherein the target cloud environment is provided by a first cloud service provider and the source cloud environment is provided by a second cloud service provider that is different than the first cloud service provider; obtaining, by the target agent, a notification from the source agent, wherein the source agent receives the notification from a cloud resource that is deployed in a source customer tenancy of the source cloud environment and desires to utilize a function deployed in a target customer tenancy of the target cloud environment, wherein the target agent is configured to: (i) obtain an identifier associated with the notification, and (ii) query a mapping database to obtain the function associated with the identifier, wherein the mapping database is preconfigured with a plurality of mappings, each mapping identifying a particular function that is to be invoked with respect to a particular identifier; determining, by the target agent, the function that is to be invoked based on the notification; verifying whether the target agent that is deployed in the target service tenancy of the target cloud environment is permitted to invoke the function that is deployed in the target customer tenancy of the target cloud environment; and responsive to a successful verification, invoking by the target agent the function in the target customer tenancy of the target cloud environment.
- Claim 9Depends on #8
The non-transitory computer readable medium storing specific computer-executable instructions of claim 8, wherein the target agent being communicatively coupled with the source agent by a secure communication channel.
- Claim 10Depends on #8
The non-transitory computer readable medium storing specific computer-executable instructions of claim 8, wherein the source agent: (i) registers with the cloud resource deployed in the source customer tenancy of the source cloud environment or polls a queue associated with the cloud resource so as to receive the notification, and (ii) forwards the notification to the target agent upon receiving the notification from the cloud resource.
- Claim 11Depends on #8
The non-transitory computer readable medium storing specific computer-executable instructions of claim 8, wherein the step of verifying further comprising: determining whether the target agent is permitted to access the target customer tenancy in the target cloud environment in accordance with a policy associated with the target cloud environment.
- Claim 12Depends on #11
The non-transitory computer readable medium storing specific computer-executable instructions of claim 11, further comprising: responsive to a successful determination, obtaining by the target agent a token from an identity management service of the target cloud environment; and forwarding the token to a serverless functions service deployed in the target cloud environment.
- Claim 13Depends on #12
The non-transitory computer readable medium storing specific computer-executable instructions of claim 12, further comprising: causing by the serverless functions service, the function deployed in the target customer tenancy of the target cloud environment to be executed.
- Claim 14Depends on #13
The non-transitory computer readable medium storing specific computer-executable instructions of claim 13, wherein the serverless functions service communicates with the identity management service of the target cloud environment to determine a set of privileges associated with the token.
- Claim 15Independent Claim
A system comprising: a processor; and a memory including instructions that, when executed with the processor, cause the system to, at least: deploy, by a remote function invocation service provided by a target cloud environment, a target agent in a dataplane of a target service tenancy instantiated in the target cloud environment; deploy, by the remote function invocation service provided by the target cloud environment, a source agent in a corresponding dataplane of a source service tenancy instantiated in a source cloud environment, wherein the target cloud environment is provided by a first cloud service provider and the source cloud environment is provided by a second cloud service provider that is different than the first cloud service provider; obtain, by the target agent, a notification from the source agent, wherein the source agent receives the notification from a resource that is deployed in a source customer tenancy of the source cloud environment and requests to utilize a function deployed in a target customer tenancy of the target cloud environment, wherein the target agent is configured to: (i) obtain an identifier associated with the notification, and (ii) query a mapping database to obtain the function associated with the identifier, wherein the mapping database is preconfigured with a plurality of mappings, each mapping identifying a particular function that is to be invoked with respect to a particular identifier; determine, by the target agent, the function that is to be invoked based on the notification; verify whether the target agent that is deployed in the target service tenancy of the target cloud environment is permitted to invoke the function that is deployed in the target customer tenancy of the target cloud environment; and responsive to a successful verification, invoke by the target agent the function in the target customer tenancy of the target cloud environment.
Technical Overview & Description
CROSS-REFERENCES TO RELATED APPLICATIONS This application is a non-provisional of and claims the benefit of the filing date of U.S. Provisional Application No. 63/339,753, filed on May 9, 2022, the contents of which are incorporated herein by reference in its entirety for all purposes. FIELD The present disclosure relates to a framework that provides execution of serverless functions in a cloud environment based on occurrence of events/notifications from services in an entirely different cloud environment. BACKGROUND A cloud service provider (CSP) offers a suite of services to customers of the cloud environment. One such service is referred to as Function-as-a-Service (FaaS). FaaS is a category of cloud computing services that provides a platform allowing customers to develop, execute, and manage application functionalities without incurring the complexity of building and maintaining the infrastructure typically associated with developing and launching an application. Building an application following this model is one way of achieving a “ serverless ” architecture and is typically used when building microservices applications. Several cloud providers (e.g., Amazon Web Services (AWS), Google Cloud Platform (GCP), and Oracle Cloud Infrastructure) provide a version of this service on their public cloud. Typically, CSPs incentivize local function invocation by tightly integrating the functions with other services provided by the CSP. In other words, as part of a serverless functions offering, the CSP provides functionality to integrate the serverless functions with events/notifications from other native services supported in that cloud. For instance, customers can specify a serverless function to be invoked upon an occurrence of an event in the same cloud (e.g., when an object is added to a storage unit). However, this integration of serverless functions with events/notifications from services in a different cloud is currently not supported by any CSPs. As such, the cu
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 12,811,893 B2 | Cloud computing resource reclamation orchestration | 2026 | 0 |
References Cited — Backward Prior Art (10)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (5)
- PCT/US2023/019284 ,
- “
- International Search Report and Written Opinion
- ”
- , Aug. 10, 2023, 21 pages.