Book Image

Oracle Cloud Infrastructure for Solutions Architects

By : Prasenjit Sarkar
Book Image

Oracle Cloud Infrastructure for Solutions Architects

By: Prasenjit Sarkar

Overview of this book

Oracle Cloud Infrastructure (OCI) is a set of complementary cloud services that enables you to build and run a wide range of applications and services in a highly available hosted environment. This book is a fast-paced practical guide that will help you develop the capabilities to leverage OCI services and effectively manage your cloud infrastructure. Oracle Cloud Infrastructure for Solutions Architects begins by helping you get to grips with the fundamentals of Oracle Cloud Infrastructure, and moves on to cover the building blocks of the layers of Infrastructure as a Service (IaaS), such as Identity and Access Management (IAM), compute, storage, network, and database. As you advance, you’ll delve into the development aspects of OCI, where you’ll learn to build cloud-native applications and perform operations on OCI resources as well as use the CLI, API, and SDK. Finally, you’ll explore the capabilities of building an Oracle hybrid cloud infrastructure. By the end of this book, you’ll have learned how to leverage the OCI and gained a solid understanding of the persona of an architect as well as a developer’s perspective.
Table of Contents (15 chapters)
1
Section 1: Core Concepts of Oracle Cloud Infrastructure
Free Chapter
2
Chapter 1: Introduction to Oracle Cloud Infrastructure
7
Section 2: Understanding the Additional Layers of Oracle Cloud Infrastructure

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...