Functions

Oracle Cloud Infrastructure (OCI) Functions is a serverless compute service that lets you create, run, and scale code without managing infrastructure. With native integrations across Oracle Cloud services and SaaS applications, Functions makes it easy to automate business processes, trigger actions from cloud events, and power API-driven workloads.

Use Oracle Cloud Native services to deliver amazing software: Learn more about building cloud native applications (1:14)

Explore OCI Functions

Focus stays on code, not servers

Write and deploy your functions—OCI will automatically provision and scale the resources you need. No infrastructure management required.

Consistent, low-latency execution

Provisioned Concurrency keeps your functions “warm,” helping you achieve subsecond response times—even during unpredictable spikes in traffic.

Prebuilt functions to jumpstart deployment

Quickly deploy from a catalog of prebuilt functions for common use cases across OCI services. No need to write, build, or maintain code from scratch—just select, configure, and go.

Productivity for new and experienced developers

OCI Functions automatically packages your code as Docker images for you. Prefer more customization? Use your own Dockerfile, install native libraries, and tune the runtime to your needs.

Flexible language support

OCI Functions natively supports Python, Go, Java, Node.js, and C#. Want to use a different language? Simply bring your own Dockerfile and run any language you need.

Open standards for optimal portability

OCI Functions is built on the Apache 2.0-licensed Fn Project, Docker, and CloudEvents—making it portable and open, so you’re never locked in and can run your workloads anywhere.

Editing in-console

Use the integrated Code Editor right in the Functions Console to edit, deploy, and save changes—no context switching required.


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.


Integrations

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

Functions work with all the Oracle Cloud services that generate events including storage and Autonomous AI 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 OCI Functions

OCI 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
Metric
First 2 million per month
Free
Function invocation
Over 2 million per month
US$0.0000002
Function invocation

Execution Time Pricing

Pay as You Go
Metric
First 400,000 per month
Free
Gigabyte memory-seconds
Over 400,000 per month
US$0.00001417
Gigabyte memory-seconds
September 4, 2024

Introducing Support for Scheduling OCI Functions

Kay Singh, Principal Product Manager

We're excited to announce the launch of our new Functions scheduling feature, designed to give you unprecedented control and flexibility over when to trigger your Functions. Scheduling a Function has been one of the top customer asks for use cases such as periodic ops, tasks such as backups, and security checks, as well as file processing and batch jobs.

Read the complete post

Related cloud products

API Gateway

Oracle-managed API front-end

Kubernetes Engine

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.