OCI Serverless Functions with Terraform (2024 Edition)
Master Serverless Architecture with Our OCI Serverless Functions Course This OCI Serverless Functions course is a deep-dive, hands-on experience built entirely around real Terraform code and automation scenarios. It teaches you to build scalable, secure, and production-ready serverless applications on Oracle Cloud Infrastructure (OCI), with a strong emphasis on modular …
Overview
Master Serverless Architecture with Our OCI Serverless Functions Course
This OCI Serverless Functions course is a deep-dive, hands-on experience built entirely around real Terraform code and automation scenarios. It teaches you to build scalable, secure, and production-ready serverless applications on Oracle Cloud Infrastructure (OCI), with a strong emphasis on modular infrastructure using Terraform.
You’ll also explore function orchestration, asynchronous processing, and security patterns like JWT token validation. Whether you’re integrating real-time IoT data pipelines or triggering functions via Object Storage events, this course equips you with everything needed to confidently build production-grade OCI serverless solutions with Terraform.
You will work directly with a public GitHub repository that includes real-world Terraform modules for OCI Functions, API Gateway, Streaming, and Autonomous Database (ADB-S).
🔧 What You’ll Build in This Course
✅ Lesson 1: Hello World Function
Create your first OCI Function (fkfn) using the terraform-oci-fk-module. You’ll set up a complete VCN, subnet, security lists, and expose your function via OCI Container Registry. Everything is automated and invoked from Terraform.
✅ Lesson 2: Custom Python Function
Define a new function (fncustom) from scratch with Dockerfile, Python source (func.py), manifest (func.yaml), and requirements.txt. You’ll inject a custom environment variable and invoke the function via Terraform.
✅ Lesson 3: Two Functions, One Application
Create fncustom1 and fncustom2 under the same OCI Application, managing shared networking. You’ll reuse Terraform modules and outputs to inject the shared Application OCID. Both functions are deployed and triggered via Terraform.
✅ Lesson 4: Functions Behind API Gateway
Deploy fncustom1 and fncustom2 in a private subnet and expose them securely via API Gateway. You’ll add IAM policies to authorize Gateway access, simulate real-world production exposure, and unify endpoints.
✅ Lesson 5: Functions with OCI Notification Service (ONS)
Create fninitiator and fncollector to simulate asynchronous processing. You’ll trigger fninitiator via API Gateway, which pushes a message to ONS. The subscribed fncollector reacts automatically – showcasing event-driven architecture.
✅ Lesson 6: Streaming + ADB-S Integration
Add OCI Streaming and Autonomous Database Serverless (ADB-S) to your architecture. Messages go from fninitiator to both ONS and Streaming. The fncollector reads from the stream and inserts records into IOT_TABLE. You’ll also deploy fnadbsetup to prepare the database and user.
✅ Lesson 7: Service Connector Hub (SCH)
Swap ONS for OCI Service Connector Hub, connecting Streaming to fncollector directly. This reduces complexity, improves observability, and decouples your processing logic. Learn how to automate connector creation via Terraform.
✅ Lesson 8: JWT Authentication
Introduce a new function fnjwtauth to validate JSON Web Tokens in the API Gateway. You’ll secure fninitiator so only requests with valid JWT tokens are accepted. The API Gateway policy and deployment will enforce this in production.
✅ Lesson 9: Bulk Upload via Object Storage and Events
Automate file-driven data ingestion with OCI Event Service and Object Storage. The fnbulkload function is triggered when a JSON file (e.g., devices.json) is uploaded. Records are parsed and injected into the stream, then routed to ADB-S by fncollector.
👨💻 Who Is This Course For?
Cloud Engineers: looking to deploy event-driven systems with OCI
DevOps Professionals: automating with Terraform and modular code
Backend Developers: building serverless APIs and data pipelines
Architects: designing secure, scalable microservices
🚀 Related Training on FoggyKitchen
By the end of this OCI Serverless Functions course, you’ll have a reusable, production-grade setup, complete with function deployments, security, API Gateway, JWT auth, streaming, and autonomous database integration. This OCI Serverless Functions course goes beyond basic deployments – you’ll gain practical skills in building advanced, event-driven cloud-native architectures. Each lesson builds on the previous, introducing components like API Gateway, Notification Service (ONS), Streaming, Service Connector Hub, and Autonomous Database (ADB-S).
Whether you’re preparing for a certification or simply expanding your cloud skills, this OCI Serverless Functions course offers structured, real-world experience with automated deployments and secure infrastructure.
You’ll walk away from this OCI Serverless Functions course with the ability to confidently design, deploy, and troubleshoot event-driven architectures in Oracle Cloud.
👉 Enroll now and build real serverless solutions – from idea to architecture.
🔗 Want to Learn More?
If you’re enjoying this OCI Serverless Functions course, be sure to check out our related trainings like the OCI DevOps Terraform course or our flagship Terraform/OpenTofu course for complete infrastructure automation in Oracle Cloud. Combine serverless compute with CI/CD pipelines and reusable infrastructure modules to take your OCI skills to the next level.
This OCI Serverless Functions course is also a valuable step in preparing for the Oracle Cloud Infrastructure 2025 Certified Architect Professional certification. By mastering serverless architectures and automation patterns, you’ll gain skills aligned with Oracle’s most advanced cloud certification path.
Curriculum
Curriculum
- 1 Section
- 9 Lessons
- Lifetime
- OCI Functions with Terraform9
- 1.1Creating Hello World Function15 Minutes
- 1.2Creating Custom Function12 Minutes
- 1.3Two Functions under one Application11 Minutes
- 1.4Two Functions and API Gateway13 Minutes
- 1.5Two Functions, API Gateway and ONS16 Minutes
- 1.6Three Functions, API Gateway, ONS, Streaming and ADB-S24 Minutes
- 1.7Three Functions, API Gateway, Service Connector Hub, Streaming and ADB-S13 Minutes
- 1.8Four Functions, API Gateway with JWT Token Auth, SCH, Streaming and ADB-S14 Minutes
- 1.9Five Fns, API GW+JWT TokenAuth, SCH, Stream, ADB-S, OSS Bucket and Event Service14 Minutes










