Preparing for Functions
Find out about the high-level tasks to perform before you create and deploy functions in OCI Functions.
Before you create or deploy functions to OCI Functions, configure the resources required for the function workflow that you plan to use:
-
Your Oracle Cloud Infrastructure tenancy for function development.
When your tenancy is configured, you have access, through a suitable policy and user account, to a compartment that has a VCN with at least one public subnet and an internet gateway, or at least one private subnet and a service gateway. For more information about these network components, see Networking.
-
Your client environment for functions development.
For image-based functions that you create and deploy using the Fn Project CLI, configure a client environment with access to the Fn Project CLI and a Docker registry in which to store images. This documentation assumes that you use Oracle Cloud Infrastructure Registry as your Docker registry and provides instructions accordingly.
For code-only functions, you create functions from archives and do not have to build, push, or manage container images.
Use the Functions QuickStart Guides to complete the configuration tasks for code-only or image-based functions using the Fn Project CLI.
For additional information about configuration tasks for function development, see Appendix: Configuration Notes for OCI Functions.
For more information specifically about setting up VCN and subnet CIDR blocks for use with OCI Functions, see CIDR Blocks and OCI Functions.
Availability by Region
OCI Functions is available in the Oracle Cloud Infrastructure regions listed at Regions and Availability Domains. Refer to that topic to see region identifiers, region keys, and availability domain names.