Skip to main content

Posts

Showing posts from March, 2026

How to create a simple Serverless API Using Oracle Cloud Functions

Modern cloud applications are moving toward serverless architectures because they reduce infrastructure management and allow developers to focus on code. Oracle Cloud Infrastructure (OCI) provides a powerful serverless service called “Oracle Functions”. It allows developers to run code without managing servers. In this post, I’ll go through how to create a simple serverless API using Oracle Functions and expose it through an HTTP endpoint. Oracle Functions provides several advantages, No server management Automatic scaling Pay only for execution time Easy integration with other OCI services   The process of flow is as below, User sends an HTTP request OCI API Gateway triggers a Function Function processes the request Response is returned Lets see how to create a simple function. 1.       First create a function using the 'Fn Project CLI' supported by OCI. fn init --runtime python myhello-function cd myhello-function 2. ...