Oracle Cloud Serverless Functions unleashed: exposing OCI Functions through API Gateway

  • create dynamic group with matching rule (that ensures that the API Gateway is a member of the dynamic group)
  • create a policy with three statements (that grant privileges to the dynamic group)
  • create an API deployment and a route with Oracle Function as backend type; select the target Function
  • optional: add additional log and request policies on the API deployment or the routes
  • invoke the Function through the new public endpoint on the API Gateway (once all changes have been processed)

Create dynamic group with matching rule (that ensures that the API Gateway is a member of the dynamic group)

Create a policy with three statements (that grant privileges to the dynamic group)

  • allow dynamic-group [your dynamic group] to use virtual-network-family in compartment [compartment name]
  • allow dynamic-group [your dynamic group] to manage public-ips in compartment [compartment name]
  • allow dynamic-group [your dynamic group] to use functions-family in compartment [compartment name]

Create an API deployment and a route with Oracle Function as backend type; select the target Function

Invoke the Function through the new public endpoint on the API Gateway (once all changes have been processed)

Resources

--

--

--

Lucas Jellema is solution architect and CTO at AMIS, The Netherlands. He is Oracle ACE Director, Groundbreaker Ambassador, JavaOne Rockstar and programmer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Cleaning Out a Compartment on Oracle Cloud using Terraform provider

The Name of the Game

The value of Business Architecture

How to Create macOS Catalina USB Installer on Windows — Hackintosh

Inheritance and Composition in Python

Taming state in Android with Elm Architecture and Kotlin, Part 1

Why The First Job that You get After College Doesn’t Matter

Building a Mobile App in 2020

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Lucas Jellema

Lucas Jellema

Lucas Jellema is solution architect and CTO at AMIS, The Netherlands. He is Oracle ACE Director, Groundbreaker Ambassador, JavaOne Rockstar and programmer

More from Medium

Google Cloud Storage — Setup dynamic robots.txt file in NUXT with public Google Cloud Storage

Monitoring Lambdas using AWS Powertools

K3s HA running in AWS

How to deploy microservice to Google Kubernetes (GKE) with sed in Github matrix