SlideShare a Scribd company logo
1 of 14
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

More Related Content

What's hot

Tecnologias Oracle em Docker Containers On-premise e na Nuvem
Tecnologias Oracle em Docker Containers On-premise e na NuvemTecnologias Oracle em Docker Containers On-premise e na Nuvem
Tecnologias Oracle em Docker Containers On-premise e na NuvemBruno Borges
 
Pivotal spring boot-cloud workshop
Pivotal   spring boot-cloud workshopPivotal   spring boot-cloud workshop
Pivotal spring boot-cloud workshopSufyaan Kazi
 
Developing Oracle Fusion Middleware Applications in the Cloud
Developing Oracle Fusion Middleware Applications in the CloudDeveloping Oracle Fusion Middleware Applications in the Cloud
Developing Oracle Fusion Middleware Applications in the CloudMatt Wright
 
Java cloud service 발표자료
Java cloud service 발표자료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...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.2OOW15 - Installation, Cloning, and Configuration of Oracle E-Business Suite 12.2
OOW15 - Installation, Cloning, and Configuration of Oracle E-Business Suite 12.2vasuballa
 
Embracing SOA and the Cloud
Embracing SOA and the CloudEmbracing SOA and the Cloud
Embracing SOA and the CloudHeba Fouad
 
Oracle Cloud Integrations Overview
Oracle Cloud Integrations OverviewOracle Cloud Integrations Overview
Oracle Cloud Integrations OverviewAbdelrahman Saied
 
Webinar: OpenStack Best Practices for Production
Webinar: OpenStack Best Practices for ProductionWebinar: OpenStack Best Practices for Production
Webinar: OpenStack Best Practices for ProductionPlatform9
 
Second Caracas MuleSoft Meetup Slides
Second Caracas MuleSoft Meetup SlidesSecond Caracas MuleSoft Meetup Slides
Second Caracas MuleSoft Meetup SlidesFernando Silva
 
AMIS 25: Moving Integration to the Cloud
AMIS 25: Moving Integration to the CloudAMIS 25: Moving Integration to the Cloud
AMIS 25: Moving Integration to the CloudMatt Wright
 
Oracle SOA Suite Everywhere
Oracle SOA Suite EverywhereOracle SOA Suite Everywhere
Oracle SOA Suite EverywhereRupesh Das
 
Oracle WebLogic Server 12.2.1 Do More with Less
Oracle WebLogic Server 12.2.1 Do More with LessOracle WebLogic Server 12.2.1 Do More with Less
Oracle WebLogic Server 12.2.1 Do More with LessEd Burns
 
Meetup_Bangalore_Rajesh
Meetup_Bangalore_RajeshMeetup_Bangalore_Rajesh
Meetup_Bangalore_RajeshD.Rajesh Kumar
 
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF OperationsMuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF OperationsJulian Douch
 
Getting Started with OpenStack
Getting Started with OpenStackGetting Started with OpenStack
Getting Started with OpenStackCisco DevNet
 
MuleSoft Meetup 3 Charlotte Presentation Slides
MuleSoft Meetup 3 Charlotte Presentation SlidesMuleSoft Meetup 3 Charlotte Presentation Slides
MuleSoft Meetup 3 Charlotte Presentation SlidesSubhash Patel
 
MuleSoft Madrid Meetup #3 slides 2nd July 2020
MuleSoft Madrid Meetup #3 slides 2nd July 2020MuleSoft Madrid Meetup #3 slides 2nd July 2020
MuleSoft Madrid Meetup #3 slides 2nd July 2020Ieva Navickaite
 
Is Enterprise Java Still Relevant (JavaOne 2015 session)
Is Enterprise Java Still Relevant (JavaOne 2015 session)Is Enterprise Java Still Relevant (JavaOne 2015 session)
Is Enterprise Java Still Relevant (JavaOne 2015 session)Ian Robinson
 

What's hot (20)

Tecnologias Oracle em Docker Containers On-premise e na Nuvem
Tecnologias Oracle em Docker Containers On-premise e na NuvemTecnologias Oracle em Docker Containers On-premise e na Nuvem
Tecnologias Oracle em Docker Containers On-premise e na Nuvem
 
Pivotal spring boot-cloud workshop
Pivotal   spring boot-cloud workshopPivotal   spring boot-cloud workshop
Pivotal spring boot-cloud workshop
 
Developing Oracle Fusion Middleware Applications in the Cloud
Developing Oracle Fusion Middleware Applications in the CloudDeveloping Oracle Fusion Middleware Applications in the Cloud
Developing Oracle Fusion Middleware Applications in the Cloud
 
Java cloud service 발표자료
Java cloud service 발표자료Java cloud service 발표자료
Java cloud service 발표자료
 
VMworld 2015 San Francisco - INF5432 - Infrastructure as Code - Ban Snowflake...
VMworld 2015 San Francisco - INF5432 - Infrastructure as Code - Ban Snowflake...VMworld 2015 San Francisco - INF5432 - Infrastructure as Code - Ban Snowflake...
VMworld 2015 San Francisco - INF5432 - Infrastructure as Code - Ban Snowflake...
 
OOW15 - Installation, Cloning, and Configuration of Oracle E-Business Suite 12.2
OOW15 - Installation, Cloning, and Configuration of Oracle E-Business Suite 12.2OOW15 - Installation, Cloning, and Configuration of Oracle E-Business Suite 12.2
OOW15 - Installation, Cloning, and Configuration of Oracle E-Business Suite 12.2
 
Embracing SOA and the Cloud
Embracing SOA and the CloudEmbracing SOA and the Cloud
Embracing SOA and the Cloud
 
Oracle Cloud Integrations Overview
Oracle Cloud Integrations OverviewOracle Cloud Integrations Overview
Oracle Cloud Integrations Overview
 
Webinar: OpenStack Best Practices for Production
Webinar: OpenStack Best Practices for ProductionWebinar: OpenStack Best Practices for Production
Webinar: OpenStack Best Practices for Production
 
Mule ESB- Data Validation- Best Practices
Mule ESB-  Data Validation- Best PracticesMule ESB-  Data Validation- Best Practices
Mule ESB- Data Validation- Best Practices
 
Second Caracas MuleSoft Meetup Slides
Second Caracas MuleSoft Meetup SlidesSecond Caracas MuleSoft Meetup Slides
Second Caracas MuleSoft Meetup Slides
 
AMIS 25: Moving Integration to the Cloud
AMIS 25: Moving Integration to the CloudAMIS 25: Moving Integration to the Cloud
AMIS 25: Moving Integration to the Cloud
 
Oracle SOA Suite Everywhere
Oracle SOA Suite EverywhereOracle SOA Suite Everywhere
Oracle SOA Suite Everywhere
 
Oracle WebLogic Server 12.2.1 Do More with Less
Oracle WebLogic Server 12.2.1 Do More with LessOracle WebLogic Server 12.2.1 Do More with Less
Oracle WebLogic Server 12.2.1 Do More with Less
 
Meetup_Bangalore_Rajesh
Meetup_Bangalore_RajeshMeetup_Bangalore_Rajesh
Meetup_Bangalore_Rajesh
 
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF OperationsMuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
 
Getting Started with OpenStack
Getting Started with OpenStackGetting Started with OpenStack
Getting Started with OpenStack
 
MuleSoft Meetup 3 Charlotte Presentation Slides
MuleSoft Meetup 3 Charlotte Presentation SlidesMuleSoft Meetup 3 Charlotte Presentation Slides
MuleSoft Meetup 3 Charlotte Presentation Slides
 
MuleSoft Madrid Meetup #3 slides 2nd July 2020
MuleSoft Madrid Meetup #3 slides 2nd July 2020MuleSoft Madrid Meetup #3 slides 2nd July 2020
MuleSoft Madrid Meetup #3 slides 2nd July 2020
 
Is Enterprise Java Still Relevant (JavaOne 2015 session)
Is Enterprise Java Still Relevant (JavaOne 2015 session)Is Enterprise Java Still Relevant (JavaOne 2015 session)
Is Enterprise Java Still Relevant (JavaOne 2015 session)
 

Similar to Oracle Cloud native functions - create application from cli

Building and Deploying Cloud Native Applications
Building and Deploying Cloud Native ApplicationsBuilding and Deploying Cloud Native Applications
Building and Deploying Cloud Native ApplicationsManish Kapur
 
Cloud Native Meetup Santa Clara 07-11-2019 by Manish Kapur
Cloud Native Meetup Santa Clara 07-11-2019 by Manish KapurCloud Native Meetup Santa Clara 07-11-2019 by Manish Kapur
Cloud Native Meetup Santa Clara 07-11-2019 by Manish KapurOracle Developers
 
9thMeetup-20190316-CI/CD 기반의 Microservice 배포
9thMeetup-20190316-CI/CD 기반의 Microservice 배포9thMeetup-20190316-CI/CD 기반의 Microservice 배포
9thMeetup-20190316-CI/CD 기반의 Microservice 배포DongHee Lee
 
Dev101
Dev101Dev101
Dev101konnis
 
Oracle CNCF Meetup Malaga - Build CNCF projects in OCI
Oracle CNCF Meetup Malaga - Build CNCF projects in OCIOracle CNCF Meetup Malaga - Build CNCF projects in OCI
Oracle CNCF Meetup Malaga - Build CNCF projects in OCIOracle
 
Oracle Integration Cloud – Pragmatic approach to integrations
Oracle Integration Cloud – Pragmatic approach to integrationsOracle Integration Cloud – Pragmatic approach to integrations
Oracle Integration Cloud – Pragmatic approach to integrationsJade Global
 
Oracle Cloud With Azure DevOps Pipelines
Oracle Cloud With Azure DevOps PipelinesOracle Cloud With Azure DevOps Pipelines
Oracle Cloud With Azure DevOps PipelinesJohan 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...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 HelidonBuilding Cloud-Native Applications with Helidon
Building Cloud-Native Applications with HelidonDmitry Kornilov
 
Oracle OCI APIs and SDK
Oracle OCI APIs and SDKOracle OCI APIs and SDK
Oracle OCI APIs and SDKPhil Wilkins
 
Oracle Solaris Build and Run Applications Better on 11.3
Oracle Solaris  Build and Run Applications Better on 11.3Oracle Solaris  Build and Run Applications Better on 11.3
Oracle Solaris Build and Run Applications Better on 11.3OTN 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_partnerCon8493 simplified ui 2013 tailoring dubois_evers_teter_o'broin_uob_partner
Con8493 simplified ui 2013 tailoring dubois_evers_teter_o'broin_uob_partnerBerry Clemens
 
Slidedeck MCS Demo eines Anwendungsfalles - DOAG2015
Slidedeck MCS Demo eines Anwendungsfalles - DOAG2015Slidedeck MCS Demo eines Anwendungsfalles - DOAG2015
Slidedeck MCS Demo eines Anwendungsfalles - DOAG2015Nadine Schoene
 
Oracle soar project integration framework.pdf
Oracle soar project integration framework.pdfOracle soar project integration framework.pdf
Oracle soar project integration framework.pdfkauserimam679
 
ECAD 231 Functional Overview
ECAD 231 Functional OverviewECAD 231 Functional Overview
ECAD 231 Functional OverviewZero 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 apr8Primavera p6 eppm r8 enhancements you don't want to miss apr8
Primavera p6 eppm r8 enhancements you don't want to miss apr8p6academy
 
Knolidge - Discover What You Have
Knolidge - Discover What You HaveKnolidge - Discover What You Have
Knolidge - Discover What You Haveknolidge
 
Migrating Oracle Forms Using Oracle Application Express
Migrating Oracle Forms Using Oracle Application ExpressMigrating Oracle Forms Using Oracle Application Express
Migrating Oracle Forms Using Oracle Application ExpressDavidPeake15
 

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

Building and Deploying Cloud Native Applications
Building and Deploying Cloud Native ApplicationsBuilding and Deploying Cloud Native Applications
Building and Deploying Cloud Native Applications
 
Cloud Native Meetup Santa Clara 07-11-2019 by Manish Kapur
Cloud Native Meetup Santa Clara 07-11-2019 by Manish KapurCloud Native Meetup Santa Clara 07-11-2019 by Manish Kapur
Cloud Native Meetup Santa Clara 07-11-2019 by Manish Kapur
 
9thMeetup-20190316-CI/CD 기반의 Microservice 배포
9thMeetup-20190316-CI/CD 기반의 Microservice 배포9thMeetup-20190316-CI/CD 기반의 Microservice 배포
9thMeetup-20190316-CI/CD 기반의 Microservice 배포
 
Dev101
Dev101Dev101
Dev101
 
Oracle CNCF Meetup Malaga - Build CNCF projects in OCI
Oracle CNCF Meetup Malaga - Build CNCF projects in OCIOracle CNCF Meetup Malaga - Build CNCF projects in OCI
Oracle CNCF Meetup Malaga - Build CNCF projects in OCI
 
Oracle Integration Cloud – Pragmatic approach to integrations
Oracle Integration Cloud – Pragmatic approach to integrationsOracle Integration Cloud – Pragmatic approach to integrations
Oracle Integration Cloud – Pragmatic approach to integrations
 
Oracle Cloud With Azure DevOps Pipelines
Oracle Cloud With Azure DevOps PipelinesOracle Cloud With Azure DevOps Pipelines
Oracle Cloud With Azure DevOps Pipelines
 
Brisbane MuleSoft Meetup 2023-03-22 - Anypoint Code Builder and Splunk Loggin...
Brisbane MuleSoft Meetup 2023-03-22 - Anypoint Code Builder and Splunk Loggin...Brisbane MuleSoft Meetup 2023-03-22 - Anypoint Code Builder and Splunk Loggin...
Brisbane MuleSoft Meetup 2023-03-22 - Anypoint Code Builder and Splunk Loggin...
 
Building Cloud-Native Applications with Helidon
Building Cloud-Native Applications with HelidonBuilding Cloud-Native Applications with Helidon
Building Cloud-Native Applications with Helidon
 
Oracle OCI APIs and SDK
Oracle OCI APIs and SDKOracle OCI APIs and SDK
Oracle OCI APIs and SDK
 
Oracle Solaris Build and Run Applications Better on 11.3
Oracle Solaris  Build and Run Applications Better on 11.3Oracle Solaris  Build and Run Applications Better on 11.3
Oracle Solaris Build and Run Applications Better on 11.3
 
Con8493 simplified ui 2013 tailoring dubois_evers_teter_o'broin_uob_partner
Con8493 simplified ui 2013 tailoring dubois_evers_teter_o'broin_uob_partnerCon8493 simplified ui 2013 tailoring dubois_evers_teter_o'broin_uob_partner
Con8493 simplified ui 2013 tailoring dubois_evers_teter_o'broin_uob_partner
 
Slidedeck MCS Demo eines Anwendungsfalles - DOAG2015
Slidedeck MCS Demo eines Anwendungsfalles - DOAG2015Slidedeck MCS Demo eines Anwendungsfalles - DOAG2015
Slidedeck MCS Demo eines Anwendungsfalles - DOAG2015
 
Oracle soar project integration framework.pdf
Oracle soar project integration framework.pdfOracle soar project integration framework.pdf
Oracle soar project integration framework.pdf
 
ECAD 231 Functional Overview
ECAD 231 Functional OverviewECAD 231 Functional Overview
ECAD 231 Functional Overview
 
Primavera p6 eppm r8 enhancements you don't want to miss apr8
Primavera p6 eppm r8 enhancements you don't want to miss apr8Primavera p6 eppm r8 enhancements you don't want to miss apr8
Primavera p6 eppm r8 enhancements you don't want to miss apr8
 
Knolidge - Discover What You Have
Knolidge - Discover What You HaveKnolidge - Discover What You Have
Knolidge - Discover What You Have
 
Migrating Oracle Forms Using Oracle Application Express
Migrating Oracle Forms Using Oracle Application ExpressMigrating Oracle Forms Using Oracle Application Express
Migrating Oracle Forms Using Oracle Application Express
 
201505 beena v0
201505 beena v0201505 beena v0
201505 beena v0
 
I Phone101
I Phone101I Phone101
I Phone101
 

More from Johan Louwers

Multi Domain REST API routing for Data Mesh based Data Products
Multi Domain REST API routing for Data Mesh based Data ProductsMulti Domain REST API routing for Data Mesh based Data Products
Multi Domain REST API routing for Data Mesh based Data ProductsJohan Louwers
 
TClab Dynamic Solar Panel Positioning Systems
TClab Dynamic Solar Panel Positioning SystemsTClab Dynamic Solar Panel Positioning Systems
TClab Dynamic Solar Panel Positioning SystemsJohan Louwers
 
Oracle Labs - research mission & project potfolio
Oracle Labs - research mission & project potfolioOracle Labs - research mission & project potfolio
Oracle Labs - research mission & project potfolioJohan Louwers
 
Fn project quick installation guide
Fn project quick installation guideFn project quick installation guide
Fn project quick installation guideJohan Louwers
 
Oracle python pandas merge DataFrames
Oracle python pandas merge DataFramesOracle python pandas merge DataFrames
Oracle python pandas merge DataFramesJohan Louwers
 
import data from Oracle Database into Python Pandas Dataframe
import data from Oracle Database into Python Pandas Dataframeimport data from Oracle Database into Python Pandas Dataframe
import data from Oracle Database into Python Pandas DataframeJohan Louwers
 
Voice assistants for the insurance industry
Voice assistants for the insurance industry 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 KafkaEnterprise wide publish subscribe with Apache Kafka
Enterprise wide publish subscribe with Apache KafkaJohan Louwers
 
Industry 4.0 and Oracle Cloud
Industry 4.0 and Oracle CloudIndustry 4.0 and Oracle Cloud
Industry 4.0 and Oracle CloudJohan Louwers
 
Docker and microservices - moving from a monolith to microservices
Docker and microservices - moving from a monolith to microservicesDocker and microservices - moving from a monolith to microservices
Docker and microservices - moving from a monolith to microservicesJohan Louwers
 
Cloud native applications for banking
Cloud native applications for bankingCloud native applications for banking
Cloud native applications for bankingJohan Louwers
 
Conversational retail
Conversational retailConversational retail
Conversational retailJohan Louwers
 
Oracle Cloudday security
Oracle Cloudday securityOracle Cloudday security
Oracle Cloudday securityJohan Louwers
 
Oracle Cloudday - the future of retail
Oracle Cloudday - the future of retailOracle Cloudday - the future of retail
Oracle Cloudday - the future of retailJohan Louwers
 
Capgemini Oracle Cloud Access Security Broker
Capgemini Oracle Cloud Access Security BrokerCapgemini Oracle Cloud Access Security Broker
Capgemini Oracle Cloud Access Security BrokerJohan Louwers
 
Microservices in the oracle cloud
Microservices in the oracle cloudMicroservices in the oracle cloud
Microservices in the oracle cloudJohan Louwers
 
Oracle cloud, private, public and hybrid
Oracle cloud, private, public and hybridOracle cloud, private, public and hybrid
Oracle cloud, private, public and hybridJohan Louwers
 
RethinkDB on Oracle Linux
RethinkDB on Oracle LinuxRethinkDB on Oracle Linux
RethinkDB on Oracle LinuxJohan Louwers
 
Oracle Cloud Hybrid Storage Tiering
Oracle Cloud Hybrid Storage TieringOracle Cloud Hybrid Storage Tiering
Oracle Cloud Hybrid Storage TieringJohan Louwers
 
The top 5 issues for CFO's in 2016
The top 5 issues for CFO's in 2016The top 5 issues for CFO's in 2016
The top 5 issues for CFO's in 2016Johan Louwers
 

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 ProductsMulti Domain REST API routing for Data Mesh based Data Products
Multi Domain REST API routing for Data Mesh based Data Products
 
TClab Dynamic Solar Panel Positioning Systems
TClab Dynamic Solar Panel Positioning SystemsTClab Dynamic Solar Panel Positioning Systems
TClab Dynamic Solar Panel Positioning Systems
 
Oracle Labs - research mission & project potfolio
Oracle Labs - research mission & project potfolioOracle Labs - research mission & project potfolio
Oracle Labs - research mission & project potfolio
 
Fn project quick installation guide
Fn project quick installation guideFn project quick installation guide
Fn project quick installation guide
 
Oracle python pandas merge DataFrames
Oracle python pandas merge DataFramesOracle python pandas merge DataFrames
Oracle python pandas merge DataFrames
 
import data from Oracle Database into Python Pandas Dataframe
import data from Oracle Database into Python Pandas Dataframeimport data from Oracle Database into Python Pandas Dataframe
import data from Oracle Database into Python Pandas Dataframe
 
Voice assistants for the insurance industry
Voice assistants for the insurance industry Voice assistants for the insurance industry
Voice assistants for the insurance industry
 
Enterprise wide publish subscribe with Apache Kafka
Enterprise wide publish subscribe with Apache KafkaEnterprise wide publish subscribe with Apache Kafka
Enterprise wide publish subscribe with Apache Kafka
 
Industry 4.0 and Oracle Cloud
Industry 4.0 and Oracle CloudIndustry 4.0 and Oracle Cloud
Industry 4.0 and Oracle Cloud
 
Docker and microservices - moving from a monolith to microservices
Docker and microservices - moving from a monolith to microservicesDocker and microservices - moving from a monolith to microservices
Docker and microservices - moving from a monolith to microservices
 
Cloud native applications for banking
Cloud native applications for bankingCloud native applications for banking
Cloud native applications for banking
 
Conversational retail
Conversational retailConversational retail
Conversational retail
 
Oracle Cloudday security
Oracle Cloudday securityOracle Cloudday security
Oracle Cloudday security
 
Oracle Cloudday - the future of retail
Oracle Cloudday - the future of retailOracle Cloudday - the future of retail
Oracle Cloudday - the future of retail
 
Capgemini Oracle Cloud Access Security Broker
Capgemini Oracle Cloud Access Security BrokerCapgemini Oracle Cloud Access Security Broker
Capgemini Oracle Cloud Access Security Broker
 
Microservices in the oracle cloud
Microservices in the oracle cloudMicroservices in the oracle cloud
Microservices in the oracle cloud
 
Oracle cloud, private, public and hybrid
Oracle cloud, private, public and hybridOracle cloud, private, public and hybrid
Oracle cloud, private, public and hybrid
 
RethinkDB on Oracle Linux
RethinkDB on Oracle LinuxRethinkDB on Oracle Linux
RethinkDB on Oracle Linux
 
Oracle Cloud Hybrid Storage Tiering
Oracle Cloud Hybrid Storage TieringOracle Cloud Hybrid Storage Tiering
Oracle Cloud Hybrid Storage Tiering
 
The top 5 issues for CFO's in 2016
The top 5 issues for CFO's in 2016The top 5 issues for CFO's in 2016
The top 5 issues for CFO's in 2016
 

Recently uploaded

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 

Recently uploaded (20)

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 

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 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. 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