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.
Just write and deploy your code. Oracle will automatically provision and scale resources.
Functions offers Provisioned Concurrency, enabling developers to keep the runtime ready to accept calls and execute with subsecond latencies.
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.
Functions automatically packages code as Docker images. Advanced developers can use Dockerfiles, install native libraries, and customize the function runtime environment.
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.
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.
Launch Code Editor directly from the Functions Console to easily edit and deploy Functions code and automatically save code changes.
Administrators can provide fine-grained access control for managing, invoking, and securely accessing Functions using Oracle Identity and Access Management policies.
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.
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.
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.
Use Functions with logs, metrics and traces to monitor, troubleshoot, and get insights into your code.
Pay based on invocations and execution time, at a consistent rate across all regions. Get two million free invocations per month.
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.
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.
Automate operations by using Notifications to trigger Functions when resource utilization is high, or when a resource becomes unavailable.
Process streams of data by using Service Connectors with Streaming as a source and Functions as a task or destination.
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.
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.
Use OCI DevOps service to deploy functions as part of your CI/CD pipeline.
Meet the changing business needs of SaaS applications using containers, serverless functions, and APIs.
Use API Gateway and Functions to process incoming API requests for applications.
View the ecommerce demo for Functions and API Gateway (2:49)
Automate infrastructure operations, such as provisioning, scaling, terminating, securing, and tagging.
Use object storage for network flow and audit logs. Trigger Functions to parse and transfer new logs to your SIM system.
Explore the Oracle Cloud Infrastructure Architecture Center for a wide selection of architectures and solution playbooks on serverless technology.
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.
Pay as You Go |
Metric |
|
First 2 million per month |
Free |
Function invocation |
Over 2 million per month |
US$0.0000002 | Function invocation |
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 |
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 postGet 30 days of access to CI/CD tools, managed Terraform, telemetry, and more.
Explore deployable reference architectures and solutions playbooks.
Reach our associates for sales, support, and other questions.