Creating and using Oracle functions
Oracle's serverless platform is pretty simple and due to its adoption of open source Fn as the base underline platform, it avoids any vendor lock-in as well. It runs in five different steps:
- Developing a function either locally or on an OCI cloud shell
- Building and packaging the code using a container
- Pushing the function image to the OCI registry
- Configuring how this function will be triggered, either based on HTTP calling or an Event, Stream, or Timer
- Paying for the code execution time only
The preceding workflow can be seen in the following diagram:
Once you've created the function and uploaded the image to the OCIR, you can invoke it in four ways:
- Developers can use the Fn CLI to invoke a function.
- Developers can use OCI SDKs to invoke a function.
- Developers can send a signed HTTP request to the invoking point...