SlideShare a Scribd company logo
Chief Enterprise Architect @ Oracle
March 2020
Johan Louwers
Create application(s) from the CLI with OCI Functions
Serverless computing
2 Confidential – © 2019 Oracle – Johan Louwers
The following is intended to outline our general product direction. It is intended for information purposes
only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code,
or functionality, and should not be relied upon in making purchasing decisions. The development, release,
timing, and pricing of any features or functionality described for Oracle’s products may change and
remains at the sole discretion of Oracle Corporation.
Statements in this presentation relating to Oracle’s future plans, expectations, beliefs, intentions and
prospects are “forward-looking statements” and are subject to material risks and uncertainties. A detailed
discussion of these factors and other risks that affect our business is contained in Oracle’s Securities and
Exchange Commission (SEC) filings, including our most recent reports on Form 10-K and Form 10-Q
under the heading “Risk Factors.” These filings are available on the SEC’s website or on Oracle’s website
at http://www.oracle.com/investor. All information in this presentation is current as of September 2019 and
Oracle undertakes no duty to update any statement in light of new information or future events.
Safe harbor statement
3
Slide-deck Intention :
This presentation is intended to provide a
quick introduction to create a new
application for Oracle Cloud Functions
from the cli of your development
workstation.
This example is a part of a wider
workshop deck and shared as a stand-
alone example for ease of sharing.
The code should only be used as an
educational example and is not intended
to be included in any real-world
application code.
Contact details :
Johan Louwers - Chief Enterprise Architect
@johanlouwers
Johan.louwers@oracle.com
github.com/louwersj
Johanlouwers.blogspot.com
Oracle Functions - Serverless Computing
Create application(s) from the CLI with OCI Functions
Confidential – © 2019 Oracle – Johan Louwers
4
Oracle Functions - Serverless Computing
Create application(s) from the CLI with OCI Functions
F(n)
Oracle cloud – Functions:
• No lock-in
• Built on open-source Fn project and Docker
• Pay Per Use
• Pay for execution, not for idle time
• Autonomous
• Platform auto-scales functions. No servers to provision / manage
• Cloud native
• Fully cloud native and serverless
Confidential – © 2019 Oracle – Johan Louwers
5
Step 0 :
• Ensure you have followed all instruction for configuring functions in Oracle Cloud
• https://docs.cloud.oracle.com/en-us/iaas/Content/Functions/Tasks/functionsconfiguringtenancies.htm
• Ensure you have followed all instructions for configuring your local development environment
• https://docs.cloud.oracle.com/en-us/iaas/Content/Functions/Tasks/functionsconfiguringclient.htm
Oracle Functions - Serverless Computing
Create application(s) from the CLI with OCI Functions
Confidential – © 2019 Oracle – Johan Louwers
6
[root@fnproject neptune]# fn create app neptune --annotation oracle.com/oci/subnetIds='["…ID1…","…ID2…","…ID3…"]'
Successfully created app: neptune
[root@fnproject neptune]#
[root@fnproject neptune]#
Step 1 :
• create the application named “neptune” using “fn create app”
• Ensure to replace …ID1… / …ID2… / …ID3… with the appropriate IDs of the subnets you want to use in OCI
Oracle Functions - Serverless Computing
Create application(s) from the CLI with OCI Functions
Confidential – © 2019 Oracle – Johan Louwers
7
[root@fnproject neptune]# fn list apps
NAME ID
neptune ocid1.fnapp.oc1.eu-frankfurt-1.aaaaaaaaag………
[root@fnproject neptune]#
[root@fnproject neptune]#
Step 2 :
• create the function app using “fun create app”
Oracle Functions - Serverless Computing
Create application(s) from the CLI with OCI Functions
Confidential – © 2019 Oracle – Johan Louwers
8
[root@fnproject neptune]# echo 'name: neptune' > app.yaml
[root@fnproject neptune]#
[root@fnproject neptune]#
[root@fnproject neptune]# cat app.yaml
name: neptune
[root@fnproject neptune]#
[root@fnproject neptune]#
Step 3 :
• Ensure a correct app.yaml file on your development machine.
Oracle Functions - Serverless Computing
Create application(s) from the CLI with OCI Functions
Confidential – © 2019 Oracle – Johan Louwers
9
[root@fnproject neptune]# fn init --runtime python
Function boilerplate generated.
func.yaml created.
[root@fnproject neptune]#
[root@fnproject neptune]#
Step 4 :
• Create a root function
Oracle Functions - Serverless Computing
Create application(s) from the CLI with OCI Functions
Confidential – © 2019 Oracle – Johan Louwers
10
[root@fnproject neptune]# cat func.yaml
schema_version: 20180708
name: neptune
version: 0.0.1
runtime: python
entrypoint: /python/bin/fdk /function/func.py handler
memory: 256
[root@fnproject neptune]#
Step 5 :
• Check the root function
Oracle Functions - Serverless Computing
Create application(s) from the CLI with OCI Functions
Confidential – © 2019 Oracle – Johan Louwers
11
Step 8 :
• Verify the deployment in the Oracle Cloud UI
Oracle Functions - Serverless Computing
Create application(s) from the CLI with OCI Functions
Confidential – © 2019 Oracle – Johan Louwers
[root@fnproject neptune]# fn init --runtime python parseVerifyCode
Creating function at: /parseVerifyCode
Function boilerplate generated.
func.yaml created.
[root@fnproject neptune]#
12
[root@fnproject neptune]# fn -v deploy –all
Step 7 :
• Deploy the entire app
Oracle Functions - Serverless Computing
Create application(s) from the CLI with OCI Functions
Confidential – © 2019 Oracle – Johan Louwers
13
Step 8 :
• Done 
Oracle Functions - Serverless Computing
Create application(s) from the CLI with OCI Functions
Confidential – © 2019 Oracle – Johan Louwers
Oracle Cloud native functions - create application from cli
Ad

Recommended

Install Redis on Oracle Linux
Install Redis on Oracle Linux
Johan Louwers
 
Oracle Fusion Middleware provisioning with Puppet
Oracle Fusion Middleware provisioning with Puppet
Edwin Biemond
 
HTTP/2 in the Java Platform -- Java Champions call February 2016
HTTP/2 in the Java Platform -- Java Champions call February 2016
Ed Burns
 
Provisioning Oracle Fusion Middleware Environments with Chef and Puppet
Provisioning Oracle Fusion Middleware Environments with Chef and Puppet
Edwin Biemond
 
Melhore o Desenvolvimento do Time com DevOps na Nuvem
Melhore o Desenvolvimento do Time com DevOps na Nuvem
Bruno Borges
 
MuleSoft Meetup Charlotte 2 - 2019
MuleSoft Meetup Charlotte 2 - 2019
Subhash Patel
 
Java EE Arquillian Testing with Docker & The Cloud
Java EE Arquillian Testing with Docker & The Cloud
Bruno Borges
 
First Caracas MuleSoft Meetup Slides
First Caracas MuleSoft Meetup Slides
Fernando Silva
 
Tecnologias Oracle em Docker Containers On-premise e na Nuvem
Tecnologias Oracle em Docker Containers On-premise e na Nuvem
Bruno Borges
 
Pivotal spring boot-cloud workshop
Pivotal spring boot-cloud workshop
Sufyaan Kazi
 
Developing Oracle Fusion Middleware Applications in the Cloud
Developing Oracle Fusion Middleware Applications in the Cloud
Matt Wright
 
Java cloud service 발표자료
Java cloud service 발표자료
Mee Nam Lee
 
VMworld 2015 San Francisco - INF5432 - Infrastructure as Code - Ban Snowflake...
VMworld 2015 San Francisco - INF5432 - Infrastructure as Code - Ban Snowflake...
Jonas Rosland
 
OOW15 - Installation, Cloning, and Configuration of Oracle E-Business Suite 12.2
OOW15 - Installation, Cloning, and Configuration of Oracle E-Business Suite 12.2
vasuballa
 
Embracing SOA and the Cloud
Embracing SOA and the Cloud
Heba Fouad
 
Oracle Cloud Integrations Overview
Oracle Cloud Integrations Overview
Abdelrahman Saied
 
Webinar: OpenStack Best Practices for Production
Webinar: OpenStack Best Practices for Production
Platform9
 
Mule ESB- Data Validation- Best Practices
Mule ESB- Data Validation- Best Practices
Coforge (Erstwhile WHISHWORKS)
 
Second Caracas MuleSoft Meetup Slides
Second Caracas MuleSoft Meetup Slides
Fernando Silva
 
AMIS 25: Moving Integration to the Cloud
AMIS 25: Moving Integration to the Cloud
Matt Wright
 
Oracle SOA Suite Everywhere
Oracle SOA Suite Everywhere
Rupesh Das
 
Oracle WebLogic Server 12.2.1 Do More with Less
Oracle WebLogic Server 12.2.1 Do More with Less
Ed Burns
 
Meetup_Bangalore_Rajesh
Meetup_Bangalore_Rajesh
D.Rajesh Kumar
 
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
Julian Douch
 
Getting Started with OpenStack
Getting Started with OpenStack
Cisco DevNet
 
MuleSoft Meetup 3 Charlotte Presentation Slides
MuleSoft Meetup 3 Charlotte Presentation Slides
Subhash Patel
 
MuleSoft Madrid Meetup #3 slides 2nd July 2020
MuleSoft Madrid Meetup #3 slides 2nd July 2020
Ieva Navickaite
 
Is Enterprise Java Still Relevant (JavaOne 2015 session)
Is Enterprise Java Still Relevant (JavaOne 2015 session)
Ian Robinson
 
Building and Deploying Cloud Native Applications
Building and Deploying Cloud Native Applications
Manish Kapur
 
Cloud Native Meetup Santa Clara 07-11-2019 by Manish Kapur
Cloud Native Meetup Santa Clara 07-11-2019 by Manish Kapur
Oracle Developers
 

More Related Content

What's hot (20)

Tecnologias Oracle em Docker Containers On-premise e na Nuvem
Tecnologias Oracle em Docker Containers On-premise e na Nuvem
Bruno Borges
 
Pivotal spring boot-cloud workshop
Pivotal spring boot-cloud workshop
Sufyaan Kazi
 
Developing Oracle Fusion Middleware Applications in the Cloud
Developing Oracle Fusion Middleware Applications in the Cloud
Matt Wright
 
Java cloud service 발표자료
Java cloud service 발표자료
Mee Nam Lee
 
VMworld 2015 San Francisco - INF5432 - Infrastructure as Code - Ban Snowflake...
VMworld 2015 San Francisco - INF5432 - Infrastructure as Code - Ban Snowflake...
Jonas Rosland
 
OOW15 - Installation, Cloning, and Configuration of Oracle E-Business Suite 12.2
OOW15 - Installation, Cloning, and Configuration of Oracle E-Business Suite 12.2
vasuballa
 
Embracing SOA and the Cloud
Embracing SOA and the Cloud
Heba Fouad
 
Oracle Cloud Integrations Overview
Oracle Cloud Integrations Overview
Abdelrahman Saied
 
Webinar: OpenStack Best Practices for Production
Webinar: OpenStack Best Practices for Production
Platform9
 
Mule ESB- Data Validation- Best Practices
Mule ESB- Data Validation- Best Practices
Coforge (Erstwhile WHISHWORKS)
 
Second Caracas MuleSoft Meetup Slides
Second Caracas MuleSoft Meetup Slides
Fernando Silva
 
AMIS 25: Moving Integration to the Cloud
AMIS 25: Moving Integration to the Cloud
Matt Wright
 
Oracle SOA Suite Everywhere
Oracle SOA Suite Everywhere
Rupesh Das
 
Oracle WebLogic Server 12.2.1 Do More with Less
Oracle WebLogic Server 12.2.1 Do More with Less
Ed Burns
 
Meetup_Bangalore_Rajesh
Meetup_Bangalore_Rajesh
D.Rajesh Kumar
 
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
Julian Douch
 
Getting Started with OpenStack
Getting Started with OpenStack
Cisco DevNet
 
MuleSoft Meetup 3 Charlotte Presentation Slides
MuleSoft Meetup 3 Charlotte Presentation Slides
Subhash Patel
 
MuleSoft Madrid Meetup #3 slides 2nd July 2020
MuleSoft Madrid Meetup #3 slides 2nd July 2020
Ieva Navickaite
 
Is Enterprise Java Still Relevant (JavaOne 2015 session)
Is Enterprise Java Still Relevant (JavaOne 2015 session)
Ian Robinson
 
Tecnologias Oracle em Docker Containers On-premise e na Nuvem
Tecnologias Oracle em Docker Containers On-premise e na Nuvem
Bruno Borges
 
Pivotal spring boot-cloud workshop
Pivotal spring boot-cloud workshop
Sufyaan Kazi
 
Developing Oracle Fusion Middleware Applications in the Cloud
Developing Oracle Fusion Middleware Applications in the Cloud
Matt Wright
 
Java cloud service 발표자료
Java cloud service 발표자료
Mee Nam Lee
 
VMworld 2015 San Francisco - INF5432 - Infrastructure as Code - Ban Snowflake...
VMworld 2015 San Francisco - INF5432 - Infrastructure as Code - Ban Snowflake...
Jonas Rosland
 
OOW15 - Installation, Cloning, and Configuration of Oracle E-Business Suite 12.2
OOW15 - Installation, Cloning, and Configuration of Oracle E-Business Suite 12.2
vasuballa
 
Embracing SOA and the Cloud
Embracing SOA and the Cloud
Heba Fouad
 
Oracle Cloud Integrations Overview
Oracle Cloud Integrations Overview
Abdelrahman Saied
 
Webinar: OpenStack Best Practices for Production
Webinar: OpenStack Best Practices for Production
Platform9
 
Second Caracas MuleSoft Meetup Slides
Second Caracas MuleSoft Meetup Slides
Fernando Silva
 
AMIS 25: Moving Integration to the Cloud
AMIS 25: Moving Integration to the Cloud
Matt Wright
 
Oracle SOA Suite Everywhere
Oracle SOA Suite Everywhere
Rupesh Das
 
Oracle WebLogic Server 12.2.1 Do More with Less
Oracle WebLogic Server 12.2.1 Do More with Less
Ed Burns
 
Meetup_Bangalore_Rajesh
Meetup_Bangalore_Rajesh
D.Rajesh Kumar
 
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
Julian Douch
 
Getting Started with OpenStack
Getting Started with OpenStack
Cisco DevNet
 
MuleSoft Meetup 3 Charlotte Presentation Slides
MuleSoft Meetup 3 Charlotte Presentation Slides
Subhash Patel
 
MuleSoft Madrid Meetup #3 slides 2nd July 2020
MuleSoft Madrid Meetup #3 slides 2nd July 2020
Ieva Navickaite
 
Is Enterprise Java Still Relevant (JavaOne 2015 session)
Is Enterprise Java Still Relevant (JavaOne 2015 session)
Ian Robinson
 

Similar to Oracle Cloud native functions - create application from cli (20)

Building and Deploying Cloud Native Applications
Building and Deploying Cloud Native Applications
Manish Kapur
 
Cloud Native Meetup Santa Clara 07-11-2019 by Manish Kapur
Cloud Native Meetup Santa Clara 07-11-2019 by Manish Kapur
Oracle Developers
 
9thMeetup-20190316-CI/CD 기반의 Microservice 배포
9thMeetup-20190316-CI/CD 기반의 Microservice 배포
DongHee Lee
 
Dev101
Dev101
konnis
 
Oracle CNCF Meetup Malaga - Build CNCF projects in OCI
Oracle CNCF Meetup Malaga - Build CNCF projects in OCI
Oracle
 
Oracle Integration Cloud – Pragmatic approach to integrations
Oracle Integration Cloud – Pragmatic approach to integrations
Jade Global
 
Oracle Cloud With Azure DevOps Pipelines
Oracle Cloud With Azure DevOps Pipelines
Johan Louwers
 
Brisbane MuleSoft Meetup 2023-03-22 - Anypoint Code Builder and Splunk Loggin...
Brisbane MuleSoft Meetup 2023-03-22 - Anypoint Code Builder and Splunk Loggin...
BrianFraser29
 
Building Cloud-Native Applications with Helidon
Building Cloud-Native Applications with Helidon
Dmitry Kornilov
 
Oracle OCI APIs and SDK
Oracle OCI APIs and SDK
Phil Wilkins
 
Oracle Solaris Build and Run Applications Better on 11.3
Oracle Solaris Build and Run Applications Better on 11.3
OTN Systems Hub
 
Con8493 simplified ui 2013 tailoring dubois_evers_teter_o'broin_uob_partner
Con8493 simplified ui 2013 tailoring dubois_evers_teter_o'broin_uob_partner
Berry Clemens
 
Slidedeck MCS Demo eines Anwendungsfalles - DOAG2015
Slidedeck MCS Demo eines Anwendungsfalles - DOAG2015
Nadine Schoene
 
Oracle soar project integration framework.pdf
Oracle soar project integration framework.pdf
kauserimam679
 
ECAD 231 Functional Overview
ECAD 231 Functional Overview
Zero Wait-State
 
Primavera p6 eppm r8 enhancements you don't want to miss apr8
Primavera p6 eppm r8 enhancements you don't want to miss apr8
p6academy
 
Knolidge - Discover What You Have
Knolidge - Discover What You Have
knolidge
 
Migrating Oracle Forms Using Oracle Application Express
Migrating Oracle Forms Using Oracle Application Express
DavidPeake15
 
UiPath Community Dubai: Discover Unified Apps
UiPath Community Dubai: Discover Unified Apps
UiPathCommunity
 
201505 beena v0
201505 beena v0
Mohamedcpcbma
 
Building and Deploying Cloud Native Applications
Building and Deploying Cloud Native Applications
Manish Kapur
 
Cloud Native Meetup Santa Clara 07-11-2019 by Manish Kapur
Cloud Native Meetup Santa Clara 07-11-2019 by Manish Kapur
Oracle Developers
 
9thMeetup-20190316-CI/CD 기반의 Microservice 배포
9thMeetup-20190316-CI/CD 기반의 Microservice 배포
DongHee Lee
 
Dev101
Dev101
konnis
 
Oracle CNCF Meetup Malaga - Build CNCF projects in OCI
Oracle CNCF Meetup Malaga - Build CNCF projects in OCI
Oracle
 
Oracle Integration Cloud – Pragmatic approach to integrations
Oracle Integration Cloud – Pragmatic approach to integrations
Jade Global
 
Oracle Cloud With Azure DevOps Pipelines
Oracle Cloud With Azure DevOps Pipelines
Johan Louwers
 
Brisbane MuleSoft Meetup 2023-03-22 - Anypoint Code Builder and Splunk Loggin...
Brisbane MuleSoft Meetup 2023-03-22 - Anypoint Code Builder and Splunk Loggin...
BrianFraser29
 
Building Cloud-Native Applications with Helidon
Building Cloud-Native Applications with Helidon
Dmitry Kornilov
 
Oracle OCI APIs and SDK
Oracle OCI APIs and SDK
Phil Wilkins
 
Oracle Solaris Build and Run Applications Better on 11.3
Oracle Solaris Build and Run Applications Better on 11.3
OTN Systems Hub
 
Con8493 simplified ui 2013 tailoring dubois_evers_teter_o'broin_uob_partner
Con8493 simplified ui 2013 tailoring dubois_evers_teter_o'broin_uob_partner
Berry Clemens
 
Slidedeck MCS Demo eines Anwendungsfalles - DOAG2015
Slidedeck MCS Demo eines Anwendungsfalles - DOAG2015
Nadine Schoene
 
Oracle soar project integration framework.pdf
Oracle soar project integration framework.pdf
kauserimam679
 
ECAD 231 Functional Overview
ECAD 231 Functional Overview
Zero Wait-State
 
Primavera p6 eppm r8 enhancements you don't want to miss apr8
Primavera p6 eppm r8 enhancements you don't want to miss apr8
p6academy
 
Knolidge - Discover What You Have
Knolidge - Discover What You Have
knolidge
 
Migrating Oracle Forms Using Oracle Application Express
Migrating Oracle Forms Using Oracle Application Express
DavidPeake15
 
UiPath Community Dubai: Discover Unified Apps
UiPath Community Dubai: Discover Unified Apps
UiPathCommunity
 
Ad

More from Johan Louwers (20)

Multi Domain REST API routing for Data Mesh based Data Products
Multi Domain REST API routing for Data Mesh based Data Products
Johan Louwers
 
TClab Dynamic Solar Panel Positioning Systems
TClab Dynamic Solar Panel Positioning Systems
Johan Louwers
 
Oracle Labs - research mission & project potfolio
Oracle Labs - research mission & project potfolio
Johan Louwers
 
Fn project quick installation guide
Fn project quick installation guide
Johan Louwers
 
Oracle python pandas merge DataFrames
Oracle python pandas merge DataFrames
Johan Louwers
 
import data from Oracle Database into Python Pandas Dataframe
import data from Oracle Database into Python Pandas Dataframe
Johan Louwers
 
Voice assistants for the insurance industry
Voice assistants for the insurance industry
Johan Louwers
 
Enterprise wide publish subscribe with Apache Kafka
Enterprise wide publish subscribe with Apache Kafka
Johan Louwers
 
Industry 4.0 and Oracle Cloud
Industry 4.0 and Oracle Cloud
Johan Louwers
 
Docker and microservices - moving from a monolith to microservices
Docker and microservices - moving from a monolith to microservices
Johan Louwers
 
Cloud native applications for banking
Cloud native applications for banking
Johan Louwers
 
Conversational retail
Conversational retail
Johan Louwers
 
Oracle Cloudday security
Oracle Cloudday security
Johan Louwers
 
Oracle Cloudday - the future of retail
Oracle Cloudday - the future of retail
Johan Louwers
 
Capgemini Oracle Cloud Access Security Broker
Capgemini Oracle Cloud Access Security Broker
Johan Louwers
 
Microservices in the oracle cloud
Microservices in the oracle cloud
Johan Louwers
 
Oracle cloud, private, public and hybrid
Oracle cloud, private, public and hybrid
Johan Louwers
 
RethinkDB on Oracle Linux
RethinkDB on Oracle Linux
Johan Louwers
 
Oracle Cloud Hybrid Storage Tiering
Oracle Cloud Hybrid Storage Tiering
Johan Louwers
 
The top 5 issues for CFO's in 2016
The top 5 issues for CFO's in 2016
Johan Louwers
 
Multi Domain REST API routing for Data Mesh based Data Products
Multi Domain REST API routing for Data Mesh based Data Products
Johan Louwers
 
TClab Dynamic Solar Panel Positioning Systems
TClab Dynamic Solar Panel Positioning Systems
Johan Louwers
 
Oracle Labs - research mission & project potfolio
Oracle Labs - research mission & project potfolio
Johan Louwers
 
Fn project quick installation guide
Fn project quick installation guide
Johan Louwers
 
Oracle python pandas merge DataFrames
Oracle python pandas merge DataFrames
Johan Louwers
 
import data from Oracle Database into Python Pandas Dataframe
import data from Oracle Database into Python Pandas Dataframe
Johan Louwers
 
Voice assistants for the insurance industry
Voice assistants for the insurance industry
Johan Louwers
 
Enterprise wide publish subscribe with Apache Kafka
Enterprise wide publish subscribe with Apache Kafka
Johan Louwers
 
Industry 4.0 and Oracle Cloud
Industry 4.0 and Oracle Cloud
Johan Louwers
 
Docker and microservices - moving from a monolith to microservices
Docker and microservices - moving from a monolith to microservices
Johan Louwers
 
Cloud native applications for banking
Cloud native applications for banking
Johan Louwers
 
Conversational retail
Conversational retail
Johan Louwers
 
Oracle Cloudday security
Oracle Cloudday security
Johan Louwers
 
Oracle Cloudday - the future of retail
Oracle Cloudday - the future of retail
Johan Louwers
 
Capgemini Oracle Cloud Access Security Broker
Capgemini Oracle Cloud Access Security Broker
Johan Louwers
 
Microservices in the oracle cloud
Microservices in the oracle cloud
Johan Louwers
 
Oracle cloud, private, public and hybrid
Oracle cloud, private, public and hybrid
Johan Louwers
 
RethinkDB on Oracle Linux
RethinkDB on Oracle Linux
Johan Louwers
 
Oracle Cloud Hybrid Storage Tiering
Oracle Cloud Hybrid Storage Tiering
Johan Louwers
 
The top 5 issues for CFO's in 2016
The top 5 issues for CFO's in 2016
Johan Louwers
 
Ad

Recently uploaded (20)

The Future of Product Management in AI ERA.pdf
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
 
Lessons Learned from Developing Secure AI Workflows.pdf
Lessons Learned from Developing Secure AI Workflows.pdf
Priyanka Aash
 
PyCon SG 25 - Firecracker Made Easy with Python.pdf
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
 
Database Benchmarking for Performance Masterclass: Session 2 - Data Modeling ...
Database Benchmarking for Performance Masterclass: Session 2 - Data Modeling ...
ScyllaDB
 
10 Key Challenges for AI within the EU Data Protection Framework.pdf
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
 
AI vs Human Writing: Can You Tell the Difference?
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
 
Agentic AI for Developers and Data Scientists Build an AI Agent in 10 Lines o...
Agentic AI for Developers and Data Scientists Build an AI Agent in 10 Lines o...
All Things Open
 
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Priyanka Aash
 
9-1-1 Addressing: End-to-End Automation Using FME
9-1-1 Addressing: End-to-End Automation Using FME
Safe Software
 
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Safe Software
 
You are not excused! How to avoid security blind spots on the way to production
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
 
Quantum AI: Where Impossible Becomes Probable
Quantum AI: Where Impossible Becomes Probable
Saikat Basu
 
From Manual to Auto Searching- FME in the Driver's Seat
From Manual to Auto Searching- FME in the Driver's Seat
Safe Software
 
Wenn alles versagt - IBM Tape schützt, was zählt! Und besonders mit dem neust...
Wenn alles versagt - IBM Tape schützt, was zählt! Und besonders mit dem neust...
Josef Weingand
 
cnc-processing-centers-centateq-p-110-en.pdf
cnc-processing-centers-centateq-p-110-en.pdf
AmirStern2
 
The Growing Value and Application of FME & GenAI
The Growing Value and Application of FME & GenAI
Safe Software
 
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
Priyanka Aash
 
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
Edge AI and Vision Alliance
 
Curietech AI in action - Accelerate MuleSoft development
Curietech AI in action - Accelerate MuleSoft development
shyamraj55
 
The Future of Product Management in AI ERA.pdf
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
 
Lessons Learned from Developing Secure AI Workflows.pdf
Lessons Learned from Developing Secure AI Workflows.pdf
Priyanka Aash
 
PyCon SG 25 - Firecracker Made Easy with Python.pdf
PyCon SG 25 - Firecracker Made Easy with Python.pdf
Muhammad Yuga Nugraha
 
Database Benchmarking for Performance Masterclass: Session 2 - Data Modeling ...
Database Benchmarking for Performance Masterclass: Session 2 - Data Modeling ...
ScyllaDB
 
10 Key Challenges for AI within the EU Data Protection Framework.pdf
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
 
AI vs Human Writing: Can You Tell the Difference?
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
 
Agentic AI for Developers and Data Scientists Build an AI Agent in 10 Lines o...
Agentic AI for Developers and Data Scientists Build an AI Agent in 10 Lines o...
All Things Open
 
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Oh, the Possibilities - Balancing Innovation and Risk with Generative AI.pdf
Priyanka Aash
 
9-1-1 Addressing: End-to-End Automation Using FME
9-1-1 Addressing: End-to-End Automation Using FME
Safe Software
 
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Using the SQLExecutor for Data Quality Management: aka One man's love for the...
Safe Software
 
You are not excused! How to avoid security blind spots on the way to production
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
 
Quantum AI: Where Impossible Becomes Probable
Quantum AI: Where Impossible Becomes Probable
Saikat Basu
 
From Manual to Auto Searching- FME in the Driver's Seat
From Manual to Auto Searching- FME in the Driver's Seat
Safe Software
 
Wenn alles versagt - IBM Tape schützt, was zählt! Und besonders mit dem neust...
Wenn alles versagt - IBM Tape schützt, was zählt! Und besonders mit dem neust...
Josef Weingand
 
cnc-processing-centers-centateq-p-110-en.pdf
cnc-processing-centers-centateq-p-110-en.pdf
AmirStern2
 
The Growing Value and Application of FME & GenAI
The Growing Value and Application of FME & GenAI
Safe Software
 
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
A Constitutional Quagmire - Ethical Minefields of AI, Cyber, and Privacy.pdf
Priyanka Aash
 
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
Edge AI and Vision Alliance
 
Curietech AI in action - Accelerate MuleSoft development
Curietech AI in action - Accelerate MuleSoft development
shyamraj55
 

Oracle Cloud native functions - create application from cli

  • 1. Chief Enterprise Architect @ Oracle March 2020 Johan Louwers Create application(s) from the CLI with OCI Functions Serverless computing
  • 2. 2 Confidential – © 2019 Oracle – Johan Louwers The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, timing, and pricing of any features or functionality described for Oracle’s products may change and remains at the sole discretion of Oracle Corporation. Statements in this presentation relating to Oracle’s future plans, expectations, beliefs, intentions and prospects are “forward-looking statements” and are subject to material risks and uncertainties. A detailed discussion of these factors and other risks that affect our business is contained in Oracle’s Securities and Exchange Commission (SEC) filings, including our most recent reports on Form 10-K and Form 10-Q under the heading “Risk Factors.” These filings are available on the SEC’s website or on Oracle’s website at http://www.oracle.com/investor. All information in this presentation is current as of September 2019 and Oracle undertakes no duty to update any statement in light of new information or future events. Safe harbor statement
  • 3. 3 Slide-deck Intention : This presentation is intended to provide a quick introduction to create a new application for Oracle Cloud Functions from the cli of your development workstation. This example is a part of a wider workshop deck and shared as a stand- alone example for ease of sharing. The code should only be used as an educational example and is not intended to be included in any real-world application code. Contact details : Johan Louwers - Chief Enterprise Architect @johanlouwers [email protected] github.com/louwersj Johanlouwers.blogspot.com Oracle Functions - Serverless Computing Create application(s) from the CLI with OCI Functions Confidential – © 2019 Oracle – Johan Louwers
  • 4. 4 Oracle Functions - Serverless Computing Create application(s) from the CLI with OCI Functions F(n) Oracle cloud – Functions: • No lock-in • Built on open-source Fn project and Docker • Pay Per Use • Pay for execution, not for idle time • Autonomous • Platform auto-scales functions. No servers to provision / manage • Cloud native • Fully cloud native and serverless Confidential – © 2019 Oracle – Johan Louwers
  • 5. 5 Step 0 : • Ensure you have followed all instruction for configuring functions in Oracle Cloud • https://docs.cloud.oracle.com/en-us/iaas/Content/Functions/Tasks/functionsconfiguringtenancies.htm • Ensure you have followed all instructions for configuring your local development environment • https://docs.cloud.oracle.com/en-us/iaas/Content/Functions/Tasks/functionsconfiguringclient.htm Oracle Functions - Serverless Computing Create application(s) from the CLI with OCI Functions Confidential – © 2019 Oracle – Johan Louwers
  • 6. 6 [root@fnproject neptune]# fn create app neptune --annotation oracle.com/oci/subnetIds='["…ID1…","…ID2…","…ID3…"]' Successfully created app: neptune [root@fnproject neptune]# [root@fnproject neptune]# Step 1 : • create the application named “neptune” using “fn create app” • Ensure to replace …ID1… / …ID2… / …ID3… with the appropriate IDs of the subnets you want to use in OCI Oracle Functions - Serverless Computing Create application(s) from the CLI with OCI Functions Confidential – © 2019 Oracle – Johan Louwers
  • 7. 7 [root@fnproject neptune]# fn list apps NAME ID neptune ocid1.fnapp.oc1.eu-frankfurt-1.aaaaaaaaag……… [root@fnproject neptune]# [root@fnproject neptune]# Step 2 : • create the function app using “fun create app” Oracle Functions - Serverless Computing Create application(s) from the CLI with OCI Functions Confidential – © 2019 Oracle – Johan Louwers
  • 8. 8 [root@fnproject neptune]# echo 'name: neptune' > app.yaml [root@fnproject neptune]# [root@fnproject neptune]# [root@fnproject neptune]# cat app.yaml name: neptune [root@fnproject neptune]# [root@fnproject neptune]# Step 3 : • Ensure a correct app.yaml file on your development machine. Oracle Functions - Serverless Computing Create application(s) from the CLI with OCI Functions Confidential – © 2019 Oracle – Johan Louwers
  • 9. 9 [root@fnproject neptune]# fn init --runtime python Function boilerplate generated. func.yaml created. [root@fnproject neptune]# [root@fnproject neptune]# Step 4 : • Create a root function Oracle Functions - Serverless Computing Create application(s) from the CLI with OCI Functions Confidential – © 2019 Oracle – Johan Louwers
  • 10. 10 [root@fnproject neptune]# cat func.yaml schema_version: 20180708 name: neptune version: 0.0.1 runtime: python entrypoint: /python/bin/fdk /function/func.py handler memory: 256 [root@fnproject neptune]# Step 5 : • Check the root function Oracle Functions - Serverless Computing Create application(s) from the CLI with OCI Functions Confidential – © 2019 Oracle – Johan Louwers
  • 11. 11 Step 8 : • Verify the deployment in the Oracle Cloud UI Oracle Functions - Serverless Computing Create application(s) from the CLI with OCI Functions Confidential – © 2019 Oracle – Johan Louwers [root@fnproject neptune]# fn init --runtime python parseVerifyCode Creating function at: /parseVerifyCode Function boilerplate generated. func.yaml created. [root@fnproject neptune]#
  • 12. 12 [root@fnproject neptune]# fn -v deploy –all Step 7 : • Deploy the entire app Oracle Functions - Serverless Computing Create application(s) from the CLI with OCI Functions Confidential – © 2019 Oracle – Johan Louwers
  • 13. 13 Step 8 : • Done  Oracle Functions - Serverless Computing Create application(s) from the CLI with OCI Functions Confidential – © 2019 Oracle – Johan Louwers