Cloud Functions

Oracle Cloud Infrastructure (OCI) Functions is a serverless compute service that lets developers create, run, and scale applications without managing any infrastructure. Functions have native integrations with other Oracle Cloud Infrastructure services and SaaS applications. Because Functions is based on the open source Fn Project, developers can create applications that can be easily ported to other cloud and on-premises environments. Code based on Functions typically runs for short durations, stateless and run for a single purpose of logic. Customers pay only for the resources they use.

Explore Oracle Cloud Functions

Developer features

No infrastructure to manage

Just write and deploy your code. Oracle will automatically provision and scale resources.

Predictable low latencies

Functions offers Provisioned Concurrency, enabling developers to keep the runtime ready to accept calls and execute with subsecond latencies.

Prebuilt Functions

Functions will provide a catalog of pre-built functions with use cases performed across OCI services. Developers can simply choose to deploy such pre-built as OCI Functions without having to write code from scratch. With pre-built functions developers don't need to write, build, package, deploy, and maintain the code.

Productivity for new and experienced developers

Functions automatically packages code as Docker images. Advanced developers can use Dockerfiles, install native libraries, and customize the function runtime environment.

Support for all programming languages

OCI Functions have native support for Python, Go, Java, Node and C#. Customers can also to customize the container runtime with their own Dockerfile so any programming language can be used with OCI Functions.

Built on open standards

Functions is an open platform built on the Apache 2.0 licensed Fn Project, Docker, and CloudEvents which allows developers to create applications that can be easily ported to other cloud and on-premises environments.

Edit code without leaving Functions

Launch Code Editor directly from the Functions Console to easily edit and deploy Functions code and automatically save code changes.

Security and management

Fine-grained access control

Administrators can provide fine-grained access control for managing, invoking, and securely accessing Functions using Oracle Identity and Access Management policies.

Code isolation

Functions can run your code in a secure and isolated manner. By using distinct compute and networking resources, the service provides strict separation of code execution across customers.

Verify software is from a trusted source

Functions can be configured to use only signed container images from OCI Registry to validate that the container image comes from a trusted source and has not been modified since it was published.

Secure authentication and secrets management

Use Vault to store sensitive configuration data, such as passwords and API keys, as secrets. Write functions using these secrets to securely authenticate against databases, storage, and other services.

Troubleshooting capabilities

Use Functions with logs, metrics and traces to monitor, troubleshoot, and get insights into your code.

Simple pricing

Pay based on invocations and execution time, at a consistent rate across all regions. Get two million free invocations per month.


Out-of-the-box support for the CloudEvents standard

Functions work with all the Oracle Cloud services that generate events including storage and Autonomous Database. Compatibility with CloudEvents provides interoperability with the cloud native ecosystem.

Serverless APIs

Use API Gateway to expose Functions as APIs. API Gateway provides RESTful endpoints with security and rate-limiting for API calls, while Functions provides a fully managed backend service to serve APIs.

Notifications triggers

Automate operations by using Notifications to trigger Functions when resource utilization is high, or when a resource becomes unavailable.

Data streaming triggers

Process streams of data by using Service Connectors with Streaming as a source and Functions as a task or destination.

Logging triggers

Automatically trigger Functions to analyze logs, update tickets in systems like Jira and Service Cloud, and export logs to third-party security analysis and monitoring tools.

Extend business processes

Connect and extend Oracle SaaS applications, such as Enterprise Resource Planning (ERP) and Human Capital Management (HCM), to easily deliver capabilities that uniquely meet your requirements.

Continuous integration and delivery (CI/CD) with Functions

Use OCI DevOps service to deploy functions as part of your CI/CD pipeline.

Customer and partner successes for Functions

Organizations across the globe trust Oracle Cloud Infrastructure to run their serverless workloads.

Use cases for Oracle Cloud Functions

Cloud Functions pricing

Serverless functions change the economic model—customers only pay for resources used while a function is running and don't pay for idle time. Elastic pricing makes Oracle Functions an ideal platform for intermittent workloads or workloads with spiky usage patterns.

Unused Provisioned Concurrency is priced at 25% of the rates for Execution Time. This discount is applied in addition to other discounts, such as UCM negotiated rates. There is no additional charge for Provisioned Concurrency that is used to execute Functions.

Invocation Pricing

Pay as You Go
First 2 million per month
Function invocation
Over 2 million per month
Function invocation

Execution Time Pricing

Pay as You Go
First 400,000 per month
Gigabyte memory-seconds
Over 400,000 per month
Gigabyte memory-seconds
Sept 20, 2023

Ultrafast serverless Functions powered by GraalOS

Rishikesh Palve, Principal Product Manager, Oracle

At Oracle CloudWorld 2023, we announced GraalOS—a new cloud native runtime technology, and our plans to bolster Oracle Cloud Infrastructure (OCI) Functions using this technology. This will make serverless functions start up with subsecond latency and use up to 50% less memory. The ultrafast Functions invocations will eliminate the need to enable provisioned concurrency and pay even when Functions are not running. Initially, the acceleration capabilities provided by GraalOS would be available for Java-based Functions, with support for more languages to be added in the future.

Register to be notified to join beta program when available.

Read the complete post

Related cloud products

API Gateway

Oracle-managed API front-end

Container Engine for Kubernetes

Highly available container orchestration with automatic updates

Cloud Native services

Containers, serverless, APIs, and Kafka

DevOps services

CI/CD, Terraform, monitoring, and logging

Get started with Cloud Functions

Oracle Cloud Free Tier

Get 30 days of access to CI/CD tools, managed Terraform, telemetry, and more.

Architecture Center

Explore deployable reference architectures and solutions playbooks.

Contact us

Reach our associates for sales, support, and other questions.