My Quick Start with Oracle Functions in Fresh OCI Tenancy image 40

My Quick Start with Oracle Functions in Fresh OCI Tenancy

This article is fairly rough log of the steps I went through to get going on Oracle Cloud Serverless Functions. It is mainly intended to provide a note to myself, for future reference. However, my description could prove useful to you – the reader.

My steps to get going are based on Another very useful resource with step by step descriptions:

Using a fresh OCI Cloud Tenancy and a local VM: Ubuntu 18.04 with Docker 19.03.5. In this VM, I run a Docker Container that contains the OCI CLI (as described in this article: . A small configuration file lives outside the container and is mounted into the container contains tenancy details and the private key. This same file is used in the FN context that I use when deploying and invoking functions.


After deploying a function to the designated compartment in my OCI tenant, I will have the function’s container image in the Oracle Container Image Registry and the Function itself in the Application in the compartment.


Here end the first steps: the first function is running and can be invoked. Next steps include creating more exciting functions, exposing functions through the API Gateway, calling functions from Oracle Integration Cloud integrations and scheduling function execution (for now using either OKE CronJob or with IFTTT and API Gateway.


Oracle Functions – Quick Start Guide:

Running OCI CLI in Docker Container (to keep the development environment ‘clean’):