Oracle Functions in a Local Dev Environment
Set up, creation, and deployment

A. Set up your tenancy

1. Create groups and users

If suitable users and groups don't exist already, log in to the Console as a tenancy administrator and under Governance and Administration, go to Identity and then:

See documentation for more details.

2. Create compartment

If a suitable compartment in which to create network resources and Oracle Functions resources doesn't exist already, log in to the Console as a tenancy administrator and under Governance and Administration, go to Identity and then:

See documentation for more details.

3. Create VCN and subnets

If a suitable VCN in which to create network resources doesn't exist already, log in to the Console as a tenancy administrator and under Core Infrastructure, go to Networking and then:

See documentation for more details.

4. Create policy for group

Log in to the Console as a tenancy administrator and under Governance and Administration, go to Identity and click Policies and then:

See documentation for more details.

B. Set up your local dev environment

1. Install and start Docker

Log in to your development environment as a functions developer and:

See documentation for more details.

2. Generate auth token

Log in to the Console as a functions developer and:

See documentation for more details.

3. Log in to Registry

Log in to your development environment as a functions developer and:

See documentation for more details.

4. Install Fn Project CLI

Log in to your development environment as a functions developer and:

See documentation for more details.

C. Set up Fn Project CLI in local dev environment

1. Set up signing key

Log in to your local machine development environment as a functions developer and:

See documentation for more details.

2. Set up OCI profile

Log in to your local machine development environment as a functions developer and:

See documentation for more details.

3. Set up Fn Project CLI context --provider oracle

Log in to your local machine development environment as a functions developer and:

See documentation for more details.

4. Complete Fn Project CLI context configuration

Log in to your development environment as a functions developer and:

You're now ready to start creating, deploying, and invoking functions.

See documentation for more details.

D. Create, deploy, and invoke your function

1. Create your first application

Log in to the Console as a functions developer and under Solutions and Platform, go to Developer Services and click Functions, and:

See documentation for more details.

2. Create your first function

Log in to your development environment as a functions developer and:

See documentation for more details.

3. Deploy your first function

Log in to your development environment as a functions developer and:

See documentation for more details.

4. Invoke your first function

Log in to your development environment as a functions developer and:

See documentation for more details.

5. Next steps

Now that you've created, deployed, and invoked a function, read the documentation to find out how to:


You're done!

Find out more about Oracle Cloud Infrastructure and Oracle Functions

Product Information

User Guide (HTML and PDF), docs.cloud.oracle.com, Fn Project

Attend Oracle Cloud Events

See events.oracle.com, blogs.oracle.com

Join the Community

See Customer Community, Forums

Follow Oracle Cloud

Facebook | Twitter | YouTube

About Oracle | Contact Us | Legal Notices | Terms of Use | Your Privacy Rights | Sustainability


Copyright © 2018, 2021, Oracle and/or its affiliates. All rights reserved.