Reader small image

You're reading from  Oracle Cloud Infrastructure for Solutions Architects

Product typeBook
Published inOct 2021
PublisherPackt
ISBN-139781800566460
Edition1st Edition
Right arrow
Author (1)
Prasenjit Sarkar
Prasenjit Sarkar
author image
Prasenjit Sarkar

Prasenjit Sarkar is a product manager at Oracle for their public cloud, with a focus on cloud strategy, Oracle Ravello, cloud-native applications, and the API platform. His primary focus is driving Oracle's cloud computing business with commercial and public sector customers, helping to shape and deliver a strategy to build broad use of Oracle's Infrastructure as a Service offerings, such as Compute, Storage, and Database as a Service. He is also responsible for developing public/private cloud integration strategies, customers' cloud computing architecture visions, future state architectures, and implementable architecture roadmaps in the context of the public, private, and hybrid cloud computing solutions that Oracle can offer. He has also authored six industry-leading books on virtualization, SDN, and physical compute, among others. He has six successful patents and six more patents pending at the US PTO. He has also authored numerous research articles.
Read more about Prasenjit Sarkar

Right arrow

Creating and using Oracle functions

Oracle's serverless platform is pretty simple and due to its adoption of open source Fn as the base underline platform, it avoids any vendor lock-in as well. It runs in five different steps:

  1. Developing a function either locally or on an OCI cloud shell
  2. Building and packaging the code using a container
  3. Pushing the function image to the OCI registry
  4. Configuring how this function will be triggered, either based on HTTP calling or an Event, Stream, or Timer
  5. Paying for the code execution time only

The preceding workflow can be seen in the following diagram:

Figure 8.3 – Life cycle of Oracle Function

Figure 8.3 – Life cycle of Oracle Function

Once you've created the function and uploaded the image to the OCIR, you can invoke it in four ways:

  • Developers can use the Fn CLI to invoke a function.
  • Developers can use OCI SDKs to invoke a function.
  • Developers can send a signed HTTP request to the invoking point...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Oracle Cloud Infrastructure for Solutions Architects
Published in: Oct 2021Publisher: PacktISBN-13: 9781800566460

Author (1)

author image
Prasenjit Sarkar

Prasenjit Sarkar is a product manager at Oracle for their public cloud, with a focus on cloud strategy, Oracle Ravello, cloud-native applications, and the API platform. His primary focus is driving Oracle's cloud computing business with commercial and public sector customers, helping to shape and deliver a strategy to build broad use of Oracle's Infrastructure as a Service offerings, such as Compute, Storage, and Database as a Service. He is also responsible for developing public/private cloud integration strategies, customers' cloud computing architecture visions, future state architectures, and implementable architecture roadmaps in the context of the public, private, and hybrid cloud computing solutions that Oracle can offer. He has also authored six industry-leading books on virtualization, SDN, and physical compute, among others. He has six successful patents and six more patents pending at the US PTO. He has also authored numerous research articles.
Read more about Prasenjit Sarkar