Deploy an OCI Function to an Application and Invoke It
Intermediate · 30 minutes · 5 tasks, checked automatically · 100 points
In this hands-on lab you will use the OCI Functions service running inside a local emulator to create a Functions application, deploy a function into it, and invoke the function via the OCI CLI. You will work entirely inside the toolbox container against the local floci-oci emulator — no real cloud account or credentials are needed.
What you’ll learn
- Create an OCI Functions application to act as the logical container for your functions
- Deploy (create) a function inside the application with a defined image and memory configuration
- Invoke the deployed function using the OCI CLI and verify the response
How this lab works
- Start the lab: One click starts an emulated cloud on your computer, with the cloud’s own CLI ready: no account and no bill.
- Work through 5 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work reads the emulated cloud’s resources and says, task by task, what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: An emulated cloud on your computer: no cloud account, no bill
- Cloud: OCI
- Services: functions, identity
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop (or Podman / Rancher Desktop) installed and running
- A OCI sandbox created in the Local Cloud Playground
Topics: oci, functions, serverless, faas, oci-cli, floci
Create a free account to start this lab.
Keep going
- Trigger a Lambda from an SQS Queue with an Event Source Mapping
- Ship a New Lambda Safely with Versions and an Alias
- Deploy a Cloud Function Triggered by Pub/Sub
- Deploy and Invoke a Cloud Run Service with Environment Variables
- Deploy an Azure Function Triggered by a Storage Queue
- Build a REST Endpoint with API Gateway and Lambda Proxy Integration