OCI Serverless Functions with Terraform (2024 Edition)

TeacherMartin Linxfeld
Categoriesterraform/opentofu
Review5.0 ★★★★★

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

6 Sections · 9 Lessons · Lifetime

1.3 Two Functions under one Application11 minutes
1.4 Two Functions and API Gateway13 minutes
1.5 Two Functions, API Gateway and ONS16 minutes
1.6 Three Functions, API Gateway, ONS, Streaming and ADB-S24 minutes
1.7 Three Functions, API Gateway, Service Connector Hub, Streaming and ADB-S13 minutes
1.8 Four Functions, API Gateway with JWT Token Auth, SCH, Streaming and ADB-S14 minutes
1.9 Five Fns, API GW+JWT TokenAuth, SCH, Stream, ADB-S, OSS Bucket and Event Service14 minutes

INSTRUCTOR

Martin Linxfeld

Martin Linxfeld

Reviews

5.0★★★★★

1 rating

51
40
30
20
10
Hong Yeow
★★★★★

Hong Yeow

If you would like an automation cloud function(platform for your application or Ai application )

Your OCI Function with Terraform course is a game-changer! Thank you for making complex topics so accessible . Therefore i highly recommended OCI Function with Terraform course to anyone looking to master the automated way of OCI Serverless Deployment, also for generative AI practitioner to leverage this serverless approach to build an innovative Ai Application : )

Available Bundles

Terraform and OCI Fusion: The All-in-One Training Package (2025 Edition)
7 courses included

Terraform and OCI Fusion: The All-in-One Training Package (2025 Edition)

How to automate Oracle Cloud Infrastructure with Terraform/OpenTofu (2025 Edition), OCI Container Instances with Terraform (2023 Edition), OCI DevOps Terraform Course – Learn CI/CD Automation on Oracle Cloud (2023), OCI Autonomous Database Serverless with Terraform (2024 Edition), OCI Resource Manager Fundamentals (2024 Edition), OCI Serverless Functions with Terraform (2024 Edition), OCI Kubernetes Engine with Terraform/OpenTofu (2025 Edition)

🎓 OCI + Azure IaC Fusion: The All-in-One Training Package (2025 Edition)
10 courses included

🎓 OCI + Azure IaC Fusion: The All-in-One Training Package (2025 Edition)

OCI Kubernetes Engine with Terraform/OpenTofu (2025 Edition), OCI MySQL Heatwave with Terraform (2025 Edition), OCI Serverless Functions with Terraform (2024 Edition), OCI Resource Manager Fundamentals (2024 Edition), OCI Autonomous Database Serverless with Terraform (2024 Edition), OCI DevOps Terraform Course – Learn CI/CD Automation on Oracle Cloud (2023), OCI Container Instances with Terraform (2023 Edition), How to automate Oracle Cloud Infrastructure with Terraform/OpenTofu (2025 Edition), 🆕 Multicloud Advanced Networking: Azure & OCI deployed with Terraform/OpenTofu, 🆕 Multicloud Foundations: Azure & OCI deployed with Terraform/OpenTofu

YOU MAY LIKE