Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Oracle Cloud Infrastructure for Solutions Architects

You're reading from   Oracle Cloud Infrastructure for Solutions Architects A practical guide to effectively designing enterprise-grade solutions with OCI services

Arrow left icon
Product type Paperback
Published in Oct 2021
Publisher Packt
ISBN-13 9781800566460
Length 336 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Prasenjit Sarkar Prasenjit Sarkar
Author Profile Icon Prasenjit Sarkar
Prasenjit Sarkar
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Section 1: Core Concepts of Oracle Cloud Infrastructure
2. Chapter 1: Introduction to Oracle Cloud Infrastructure FREE CHAPTER 3. Chapter 2: Understanding Identity and Access Management 4. Chapter 3: Designing a Network on Oracle Cloud Infrastructure 5. Chapter 4: Compute Choices on Oracle Cloud Infrastructure 6. Chapter 5: Understanding Oracle Cloud Infrastructure Storage Options 7. Section 2: Understanding the Additional Layers of Oracle Cloud Infrastructure
8. Chapter 6: Understanding Database Choices on Oracle Cloud Infrastructure 9. Chapter 7: Building a Cloud-Native Application on Oracle Cloud Infrastructure 10. Chapter 8: Running a Serverless Application on Oracle Cloud Infrastructure 11. Chapter 9: Managing Infrastructure as Code on Oracle Cloud Infrastructure 12. Chapter 10: Interacting with Oracle Cloud Infrastructure Using the CLI/API/SDK 13. Chapter 11: Building a Hybrid Cloud on Oracle Cloud Infrastructure using Oracle Cloud VMware Solution 14. Other Books You May Enjoy

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 chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime