Functions: Get Started using Cloud Shell

In this tutorial, you use an Oracle Cloud Infrastructure account to set up Oracle Functions development using Cloud Shell. Then, you create a function application and a function.

Key tasks include how to:

  • Set up an authentication token.
  • Gather required information.
  • Set up a VCN.
  • Log in to OCI Registry (OCIR).
  • Configure Cloud Shell to deploy functions.
  • Configure your Fn context.
  • Create an app for your Oracle function.
  • Create a function.
  • Deploy your function.
  • Test your function.
The images shows OCI components used to run Oracle functions.

For additional information, see:

1. Gather Required Information

Collect all the information needed to complete the tutorial.

2. Create your Virtual Cloud Network (VCN)

Set up a VCN to connect your Linux instance to the internet.

3. Log into the OCI Registry

Next, you log Docker into the OCI Registry (OCIR).

4. Configure Functions

To use Oracle Functions, you must configure the Fn application context. The context stores the values needed to connect to the Oracle Functions service. Fn client commands are used to add the required configuration data.

5. Create and Deploy a Function

With your configuration complete, create and deploy a function.

Choose a Language

Select one of the following languages to create and deploy a function. If you want, you can do all three.

6. Review Function Information

After your functions run, information about your functions is available in the OCI Console.