SlideShare a Scribd company logo
PCF
Rajan Prasad Upadhyay
Rajan p Upadhyay 1
PCF Keywords
• Api endpoint
• Org, spaces
• Target
• Push
• logs
• Scale
• Service, cups service
• Binding/unbinding
• routes
Rajan p Upadhyay 2
Basic Commands
• Cf api
• Cf login
• Cf logout
• Cf target
Rajan p Upadhyay 3
Other commands
• Cf apps
• Cf app APP_NAME
• Cf push APP_NAME
• Cf push –f <manifest_file> -p<package_file>
• Cf scale APP_NAME
• Cf scale APP_name –i <instances_num> -k <disk_limit> -m<memory>
-f
• Cf delete APP_NAME -r
Rajan p Upadhyay 4
More commands
• Cf rename APP_NAME NEW_NAME
• Cf start APP_NAME
• Cf stop APP_NAME
• Cf restart APP_NAME
• Cf restage APP_NAME
• Cf events APP_NAME
• Cf restart-app-instance APP_NAME Index
• Cf logs APP_NAME
Rajan p Upadhyay 5
Even more commands
• Cf env App_Name
• Cf set-env APP_NAME <Key> <Value>
• Cf unset-env APP_NAME <Key>
Rajan p Upadhyay 6
Services command
• Cf marketplace
• Cf services
• Cf service SERVICE_INSTANCE
• Cf create-service SERVICE PLAN SERVICE_INSTANCE
• Cf delete-service SERVICE_INSTANCE
• Cf rename-service SERVICE_INSTANCE NEW_SERVICE_INSTANCE
• Cf bind-service APP_NAME SERVICE_INSTANCE
• Cf unbind-service APP_NAME SERVICE_INSTANCE
• Cf create-user-provided-service SERVICE_INSTANCE
• Cf update-user-provided-service SERVICE_INSTANCE
• Eg. Create database user provided service in interactive mode
cf cups SERVICE_NAME -p "url, username, password, encrypted"
Rajan p Upadhyay 7
Org commands
• Cf orgs
• Cf org ORG_NAME
• Cf create-org ORG_NAME
• Cf delete-org ORG_NAME
• Cf rename-org ORG_NAME NEW_ORG_NAME
Rajan p Upadhyay 8
Spaces
• Cf spaces
• Cf space SPACE_NAME
• Cf create-space SPACE
• Cf delete-space SPACE
• Cf rename-space SPACE NEW_SPACE
Rajan p Upadhyay 9
Domain commands
• Cf domains
• Cf create-domain ORG DOMAIN
• Cf delete-domain DOMAIN
• -- shared domain can only be created by admins
• Cf create-shared-domain DOMAIN
• Cf delete-shared-domain DOMAIN
Rajan p Upadhyay 10
Routes command
• Cf routes
• Cf create-route SPACE DOMAIN [-n HOST]
• Cf check-route HOST DOMAIN
• Cf map-route APP_NAME DOMAIN [-n HOST]
• Cf unmap-route APP_NAME DOMAIN
• Cf delete-orphaned-routes
• -- routing is very important
Rajan p Upadhyay 11
extra commands
• Cf buildpacks
• Cf feature-flags
Rajan p Upadhyay 12
Blue Green JVM
• For zero down-time in production
• Route = host + shared_domain
• We can have many routes point to same application
• Blue Gree JVM
• deploy application in PR with a non production route. One prefixed green
and one prefixed blue
• Create the production route manually: without mapping to any jvm
• Which ever instance is tested, point the PR_ROUTE to that jvm instance
Rajan p Upadhyay 13
Blue green jvm example
• Say in PR, an application ABC needs to be deployed with a route abc.
rajanu.com.np
Where shared-domain=rajanu.com.np and host=abc
• Deploy the application with a host green-abc and app-name green-abc
ie route = green-abc.rajanu.com.np
• Create the abc route manually
cf creae-route <SPACE> rajanu.com.np –n abc
• When testing is finished with the application and it ok, map the route
cf map-route ABC rajanu.com.np –n abc
• Now route abc. rajanu.com.np will also point to the application ABC in
addition to green-abc.rajanu.com.np
• you can unmap the green-abc route from the application
Rajan p Upadhyay 14
Blue green jvm example continued
• Next time you have some change in code and want to deploy in PR
• Deploy it with host blue-abc with a new applicationName blue-abc.
• So the new instance will have a mapped route of blue-abc.rajanu.com.np
• Lets say the testing is complete and you want to make this the production
version. You can map the abc route to blue-abc application.
Cf map-route blue-abc rajanu.com.np –n abc
• Now the route abc. rajanu.com.np will be pointing to both the instances green-
abc and blue-abc
• Now unmap the route from the green-abc instance so that it will only point to
blue-abc instance
• Cf unmap-route green-abc rajanu.com.np –n abc
• If some problem is discovered and you want to backout the changes, simply map
the route to green-abc and unmap it from blue-abc.
Rajan p Upadhyay 15

More Related Content

What's hot

Modern CI/CD Pipeline Using Azure DevOps
Modern CI/CD Pipeline Using Azure DevOpsModern CI/CD Pipeline Using Azure DevOps
Modern CI/CD Pipeline Using Azure DevOps
GlobalLogic Ukraine
 
마이크로서비스를 위한 AWS 아키텍처 패턴 및 모범 사례 - AWS Summit Seoul 2017
마이크로서비스를 위한 AWS 아키텍처 패턴 및 모범 사례 - AWS Summit Seoul 2017마이크로서비스를 위한 AWS 아키텍처 패턴 및 모범 사례 - AWS Summit Seoul 2017
마이크로서비스를 위한 AWS 아키텍처 패턴 및 모범 사례 - AWS Summit Seoul 2017
Amazon Web Services Korea
 
The 12 Factor App
The 12 Factor AppThe 12 Factor App
The 12 Factor App
rudiyardley
 
Appium: Automation for Mobile Apps
Appium: Automation for Mobile AppsAppium: Automation for Mobile Apps
Appium: Automation for Mobile Apps
Sauce Labs
 
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
Postman
 
AWS Fargate와 Amazon ECS를 사용한 CI/CD 베스트 프랙티스 - 유재석, AWS 솔루션즈 아키텍트 :: AWS Build...
AWS Fargate와 Amazon ECS를 사용한 CI/CD 베스트 프랙티스 - 유재석, AWS 솔루션즈 아키텍트 :: AWS Build...AWS Fargate와 Amazon ECS를 사용한 CI/CD 베스트 프랙티스 - 유재석, AWS 솔루션즈 아키텍트 :: AWS Build...
AWS Fargate와 Amazon ECS를 사용한 CI/CD 베스트 프랙티스 - 유재석, AWS 솔루션즈 아키텍트 :: AWS Build...
Amazon Web Services Korea
 
Advanced API Debugging
Advanced API DebuggingAdvanced API Debugging
Advanced API Debugging
Postman
 
Postman. From simple API test to end to end scenario
Postman. From simple API test to end to end scenarioPostman. From simple API test to end to end scenario
Postman. From simple API test to end to end scenario
HYS Enterprise
 
Kubernetes and Prometheus
Kubernetes and PrometheusKubernetes and Prometheus
Kubernetes and Prometheus
Weaveworks
 
How They Did It and What You Can Learn From It: A Customer Case Study for Re...
How They Did It and What You Can Learn From It:  A Customer Case Study for Re...How They Did It and What You Can Learn From It:  A Customer Case Study for Re...
How They Did It and What You Can Learn From It: A Customer Case Study for Re...
Amazon Web Services
 
Introduction to AWS Amplify CLI
Introduction to AWS Amplify CLIIntroduction to AWS Amplify CLI
Introduction to AWS Amplify CLI
Amazon Web Services
 
SwiftUI For Production | try! Swift 2019
SwiftUI For Production | try! Swift 2019SwiftUI For Production | try! Swift 2019
SwiftUI For Production | try! Swift 2019
Lea Marolt Sonnenschein
 
DevOps Best Practices
DevOps Best PracticesDevOps Best Practices
DevOps Best Practices
Giragadurai Vallirajan
 
Serverless Application Development with SAM
Serverless Application Development with SAMServerless Application Development with SAM
Serverless Application Development with SAM
Amazon Web Services
 
Intro to DefectDojo at OWASP Switzerland
Intro to DefectDojo at OWASP SwitzerlandIntro to DefectDojo at OWASP Switzerland
Intro to DefectDojo at OWASP Switzerland
Matt Tesauro
 
[115]쿠팡 서비스 클라우드 마이그레이션 통해 배운것들
[115]쿠팡 서비스 클라우드 마이그레이션 통해 배운것들[115]쿠팡 서비스 클라우드 마이그레이션 통해 배운것들
[115]쿠팡 서비스 클라우드 마이그레이션 통해 배운것들
NAVER D2
 
Kubernetes/ EKS - 김광영 (AWS 솔루션즈 아키텍트)
Kubernetes/ EKS - 김광영 (AWS 솔루션즈 아키텍트)Kubernetes/ EKS - 김광영 (AWS 솔루션즈 아키텍트)
Kubernetes/ EKS - 김광영 (AWS 솔루션즈 아키텍트)
Amazon Web Services Korea
 
Amazon EC2 Container Service
Amazon EC2 Container ServiceAmazon EC2 Container Service
Amazon EC2 Container Service
Amazon Web Services
 
API Test Automation
API Test Automation API Test Automation
API Test Automation
SQALab
 
Using Terraform for AWS as the IaC tool
Using Terraform for AWS as the IaC toolUsing Terraform for AWS as the IaC tool
Using Terraform for AWS as the IaC tool
Lay How
 

What's hot (20)

Modern CI/CD Pipeline Using Azure DevOps
Modern CI/CD Pipeline Using Azure DevOpsModern CI/CD Pipeline Using Azure DevOps
Modern CI/CD Pipeline Using Azure DevOps
 
마이크로서비스를 위한 AWS 아키텍처 패턴 및 모범 사례 - AWS Summit Seoul 2017
마이크로서비스를 위한 AWS 아키텍처 패턴 및 모범 사례 - AWS Summit Seoul 2017마이크로서비스를 위한 AWS 아키텍처 패턴 및 모범 사례 - AWS Summit Seoul 2017
마이크로서비스를 위한 AWS 아키텍처 패턴 및 모범 사례 - AWS Summit Seoul 2017
 
The 12 Factor App
The 12 Factor AppThe 12 Factor App
The 12 Factor App
 
Appium: Automation for Mobile Apps
Appium: Automation for Mobile AppsAppium: Automation for Mobile Apps
Appium: Automation for Mobile Apps
 
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
 
AWS Fargate와 Amazon ECS를 사용한 CI/CD 베스트 프랙티스 - 유재석, AWS 솔루션즈 아키텍트 :: AWS Build...
AWS Fargate와 Amazon ECS를 사용한 CI/CD 베스트 프랙티스 - 유재석, AWS 솔루션즈 아키텍트 :: AWS Build...AWS Fargate와 Amazon ECS를 사용한 CI/CD 베스트 프랙티스 - 유재석, AWS 솔루션즈 아키텍트 :: AWS Build...
AWS Fargate와 Amazon ECS를 사용한 CI/CD 베스트 프랙티스 - 유재석, AWS 솔루션즈 아키텍트 :: AWS Build...
 
Advanced API Debugging
Advanced API DebuggingAdvanced API Debugging
Advanced API Debugging
 
Postman. From simple API test to end to end scenario
Postman. From simple API test to end to end scenarioPostman. From simple API test to end to end scenario
Postman. From simple API test to end to end scenario
 
Kubernetes and Prometheus
Kubernetes and PrometheusKubernetes and Prometheus
Kubernetes and Prometheus
 
How They Did It and What You Can Learn From It: A Customer Case Study for Re...
How They Did It and What You Can Learn From It:  A Customer Case Study for Re...How They Did It and What You Can Learn From It:  A Customer Case Study for Re...
How They Did It and What You Can Learn From It: A Customer Case Study for Re...
 
Introduction to AWS Amplify CLI
Introduction to AWS Amplify CLIIntroduction to AWS Amplify CLI
Introduction to AWS Amplify CLI
 
SwiftUI For Production | try! Swift 2019
SwiftUI For Production | try! Swift 2019SwiftUI For Production | try! Swift 2019
SwiftUI For Production | try! Swift 2019
 
DevOps Best Practices
DevOps Best PracticesDevOps Best Practices
DevOps Best Practices
 
Serverless Application Development with SAM
Serverless Application Development with SAMServerless Application Development with SAM
Serverless Application Development with SAM
 
Intro to DefectDojo at OWASP Switzerland
Intro to DefectDojo at OWASP SwitzerlandIntro to DefectDojo at OWASP Switzerland
Intro to DefectDojo at OWASP Switzerland
 
[115]쿠팡 서비스 클라우드 마이그레이션 통해 배운것들
[115]쿠팡 서비스 클라우드 마이그레이션 통해 배운것들[115]쿠팡 서비스 클라우드 마이그레이션 통해 배운것들
[115]쿠팡 서비스 클라우드 마이그레이션 통해 배운것들
 
Kubernetes/ EKS - 김광영 (AWS 솔루션즈 아키텍트)
Kubernetes/ EKS - 김광영 (AWS 솔루션즈 아키텍트)Kubernetes/ EKS - 김광영 (AWS 솔루션즈 아키텍트)
Kubernetes/ EKS - 김광영 (AWS 솔루션즈 아키텍트)
 
Amazon EC2 Container Service
Amazon EC2 Container ServiceAmazon EC2 Container Service
Amazon EC2 Container Service
 
API Test Automation
API Test Automation API Test Automation
API Test Automation
 
Using Terraform for AWS as the IaC tool
Using Terraform for AWS as the IaC toolUsing Terraform for AWS as the IaC tool
Using Terraform for AWS as the IaC tool
 

Viewers also liked

Organizational Strengthening for VCPPG
Organizational Strengthening for VCPPGOrganizational Strengthening for VCPPG
Organizational Strengthening for VCPPG
Mercedes Diane Griffin Forbes
 
TUGASAN 3
TUGASAN 3TUGASAN 3
TUGASAN 3
NUR HANIM
 
Psicoeducación 1 eva
Psicoeducación 1 evaPsicoeducación 1 eva
Psicoeducación 1 eva
Eva Chávez Guadarrama
 
Giao trinh unix
Giao trinh unixGiao trinh unix
Giao trinh unix
tranbaanh
 
Fdi india ppt
Fdi india pptFdi india ppt
Fdi india ppt
Rency Raj
 
Syllabus finanzas publicas
Syllabus finanzas publicasSyllabus finanzas publicas
Syllabus finanzas publicas
Paola Casal
 
Contabilidad consolidacion de estados financieros (2)
Contabilidad consolidacion de estados financieros (2)Contabilidad consolidacion de estados financieros (2)
Contabilidad consolidacion de estados financieros (2)
Paola Casal
 
Avaliação diagnóstica de matematica1
Avaliação diagnóstica de matematica1Avaliação diagnóstica de matematica1
Avaliação diagnóstica de matematica1
Flavio Jose da Silva
 
Arnaldo jimenez
Arnaldo jimenezArnaldo jimenez
Arnaldo jimenez
arnaldo jimenez lopez
 
Anestésicos locales
Anestésicos localesAnestésicos locales
Anestésicos locales
danielmendoozagarcia
 
Curso de teclado (COMPLETO) - Aprenda a Tocar Teclado
Curso de teclado (COMPLETO) - Aprenda a Tocar TecladoCurso de teclado (COMPLETO) - Aprenda a Tocar Teclado
Curso de teclado (COMPLETO) - Aprenda a Tocar Teclado
Cleber Lucas
 
Role of customer executive in an it company
Role of customer executive in an it companyRole of customer executive in an it company
Role of customer executive in an it company
Emipro Technologies Pvt. Ltd.
 
GERENCIA Y ADMINISTRACION DE SALUD, SISTEMA DE SALUD DE LOS ESTADOS UNIDOS.
GERENCIA Y ADMINISTRACION DE SALUD, SISTEMA DE SALUD DE LOS ESTADOS UNIDOS.GERENCIA Y ADMINISTRACION DE SALUD, SISTEMA DE SALUD DE LOS ESTADOS UNIDOS.
GERENCIA Y ADMINISTRACION DE SALUD, SISTEMA DE SALUD DE LOS ESTADOS UNIDOS.
Jorge Amarante
 

Viewers also liked (13)

Organizational Strengthening for VCPPG
Organizational Strengthening for VCPPGOrganizational Strengthening for VCPPG
Organizational Strengthening for VCPPG
 
TUGASAN 3
TUGASAN 3TUGASAN 3
TUGASAN 3
 
Psicoeducación 1 eva
Psicoeducación 1 evaPsicoeducación 1 eva
Psicoeducación 1 eva
 
Giao trinh unix
Giao trinh unixGiao trinh unix
Giao trinh unix
 
Fdi india ppt
Fdi india pptFdi india ppt
Fdi india ppt
 
Syllabus finanzas publicas
Syllabus finanzas publicasSyllabus finanzas publicas
Syllabus finanzas publicas
 
Contabilidad consolidacion de estados financieros (2)
Contabilidad consolidacion de estados financieros (2)Contabilidad consolidacion de estados financieros (2)
Contabilidad consolidacion de estados financieros (2)
 
Avaliação diagnóstica de matematica1
Avaliação diagnóstica de matematica1Avaliação diagnóstica de matematica1
Avaliação diagnóstica de matematica1
 
Arnaldo jimenez
Arnaldo jimenezArnaldo jimenez
Arnaldo jimenez
 
Anestésicos locales
Anestésicos localesAnestésicos locales
Anestésicos locales
 
Curso de teclado (COMPLETO) - Aprenda a Tocar Teclado
Curso de teclado (COMPLETO) - Aprenda a Tocar TecladoCurso de teclado (COMPLETO) - Aprenda a Tocar Teclado
Curso de teclado (COMPLETO) - Aprenda a Tocar Teclado
 
Role of customer executive in an it company
Role of customer executive in an it companyRole of customer executive in an it company
Role of customer executive in an it company
 
GERENCIA Y ADMINISTRACION DE SALUD, SISTEMA DE SALUD DE LOS ESTADOS UNIDOS.
GERENCIA Y ADMINISTRACION DE SALUD, SISTEMA DE SALUD DE LOS ESTADOS UNIDOS.GERENCIA Y ADMINISTRACION DE SALUD, SISTEMA DE SALUD DE LOS ESTADOS UNIDOS.
GERENCIA Y ADMINISTRACION DE SALUD, SISTEMA DE SALUD DE LOS ESTADOS UNIDOS.
 

Similar to Pcf commands

Route service-pcf-techmeetup
Route service-pcf-techmeetupRoute service-pcf-techmeetup
Route service-pcf-techmeetup
Gwenn Etourneau
 
Hadoop MapReduce Streaming and Pipes
Hadoop MapReduce  Streaming and PipesHadoop MapReduce  Streaming and Pipes
Hadoop MapReduce Streaming and Pipes
Hanborq Inc.
 
CPAN Training
CPAN TrainingCPAN Training
CPAN Training
Pedro Figueiredo
 
Introduction to SLURM
Introduction to SLURMIntroduction to SLURM
Introduction to Slurm
Introduction to SlurmIntroduction to Slurm
Unpacking .NET Core | EastBanc Technologies
Unpacking .NET Core | EastBanc TechnologiesUnpacking .NET Core | EastBanc Technologies
Unpacking .NET Core | EastBanc Technologies
EastBanc Tachnologies
 
Express JS
Express JSExpress JS
Express JS
Designveloper
 
Introduction to SLURM
 Introduction to SLURM Introduction to SLURM
History Of Redis Replication And Future Prospects: Zhao Zhao
History Of Redis Replication And Future Prospects: Zhao ZhaoHistory Of Redis Replication And Future Prospects: Zhao Zhao
History Of Redis Replication And Future Prospects: Zhao Zhao
Redis Labs
 
OpenPOWER Application Optimization
OpenPOWER Application Optimization OpenPOWER Application Optimization
OpenPOWER Application Optimization
Ganesan Narayanasamy
 
Cisco Wireless LAN Controller Command Reference, Release 7.4.pdf
Cisco Wireless LAN Controller Command Reference, Release 7.4.pdfCisco Wireless LAN Controller Command Reference, Release 7.4.pdf
Cisco Wireless LAN Controller Command Reference, Release 7.4.pdf
ssusercbaa33
 
Chef training Day4
Chef training Day4Chef training Day4
Chef training Day4
Andriy Samilyak
 
[k8s] Kubernetes terminology (1).pdf
[k8s] Kubernetes terminology (1).pdf[k8s] Kubernetes terminology (1).pdf
[k8s] Kubernetes terminology (1).pdf
Frederik Wouters
 
Cloud Foundry 百日行 振り返り
Cloud Foundry 百日行 振り返りCloud Foundry 百日行 振り返り
Cloud Foundry 百日行 振り返り
nota-ja
 
Bada familiar foundations
Bada  familiar foundationsBada  familiar foundations
Bada familiar foundations
jlansdell
 
Simplifying EBS 12.2 ADOP - Collaborate 2019
Simplifying EBS 12.2 ADOP - Collaborate 2019   Simplifying EBS 12.2 ADOP - Collaborate 2019
Simplifying EBS 12.2 ADOP - Collaborate 2019
Alfredo Krieg
 
Everything ruby
Everything rubyEverything ruby
Everything ruby
ajeygore
 
Laravel - Website Development in Php Framework.
Laravel - Website Development in Php Framework.Laravel - Website Development in Php Framework.
Laravel - Website Development in Php Framework.
SWAAM Tech
 
Serverless Preview Environments @ Boston DevOps
Serverless Preview Environments @ Boston DevOpsServerless Preview Environments @ Boston DevOps
Serverless Preview Environments @ Boston DevOps
Joseph Lust
 
23003468463PPT.pptx
23003468463PPT.pptx23003468463PPT.pptx
23003468463PPT.pptx
annalakshmi35
 

Similar to Pcf commands (20)

Route service-pcf-techmeetup
Route service-pcf-techmeetupRoute service-pcf-techmeetup
Route service-pcf-techmeetup
 
Hadoop MapReduce Streaming and Pipes
Hadoop MapReduce  Streaming and PipesHadoop MapReduce  Streaming and Pipes
Hadoop MapReduce Streaming and Pipes
 
CPAN Training
CPAN TrainingCPAN Training
CPAN Training
 
Introduction to SLURM
Introduction to SLURMIntroduction to SLURM
Introduction to SLURM
 
Introduction to Slurm
Introduction to SlurmIntroduction to Slurm
Introduction to Slurm
 
Unpacking .NET Core | EastBanc Technologies
Unpacking .NET Core | EastBanc TechnologiesUnpacking .NET Core | EastBanc Technologies
Unpacking .NET Core | EastBanc Technologies
 
Express JS
Express JSExpress JS
Express JS
 
Introduction to SLURM
 Introduction to SLURM Introduction to SLURM
Introduction to SLURM
 
History Of Redis Replication And Future Prospects: Zhao Zhao
History Of Redis Replication And Future Prospects: Zhao ZhaoHistory Of Redis Replication And Future Prospects: Zhao Zhao
History Of Redis Replication And Future Prospects: Zhao Zhao
 
OpenPOWER Application Optimization
OpenPOWER Application Optimization OpenPOWER Application Optimization
OpenPOWER Application Optimization
 
Cisco Wireless LAN Controller Command Reference, Release 7.4.pdf
Cisco Wireless LAN Controller Command Reference, Release 7.4.pdfCisco Wireless LAN Controller Command Reference, Release 7.4.pdf
Cisco Wireless LAN Controller Command Reference, Release 7.4.pdf
 
Chef training Day4
Chef training Day4Chef training Day4
Chef training Day4
 
[k8s] Kubernetes terminology (1).pdf
[k8s] Kubernetes terminology (1).pdf[k8s] Kubernetes terminology (1).pdf
[k8s] Kubernetes terminology (1).pdf
 
Cloud Foundry 百日行 振り返り
Cloud Foundry 百日行 振り返りCloud Foundry 百日行 振り返り
Cloud Foundry 百日行 振り返り
 
Bada familiar foundations
Bada  familiar foundationsBada  familiar foundations
Bada familiar foundations
 
Simplifying EBS 12.2 ADOP - Collaborate 2019
Simplifying EBS 12.2 ADOP - Collaborate 2019   Simplifying EBS 12.2 ADOP - Collaborate 2019
Simplifying EBS 12.2 ADOP - Collaborate 2019
 
Everything ruby
Everything rubyEverything ruby
Everything ruby
 
Laravel - Website Development in Php Framework.
Laravel - Website Development in Php Framework.Laravel - Website Development in Php Framework.
Laravel - Website Development in Php Framework.
 
Serverless Preview Environments @ Boston DevOps
Serverless Preview Environments @ Boston DevOpsServerless Preview Environments @ Boston DevOps
Serverless Preview Environments @ Boston DevOps
 
23003468463PPT.pptx
23003468463PPT.pptx23003468463PPT.pptx
23003468463PPT.pptx
 

Recently uploaded

Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 

Recently uploaded (20)

Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 

Pcf commands

  • 2. PCF Keywords • Api endpoint • Org, spaces • Target • Push • logs • Scale • Service, cups service • Binding/unbinding • routes Rajan p Upadhyay 2
  • 3. Basic Commands • Cf api • Cf login • Cf logout • Cf target Rajan p Upadhyay 3
  • 4. Other commands • Cf apps • Cf app APP_NAME • Cf push APP_NAME • Cf push –f <manifest_file> -p<package_file> • Cf scale APP_NAME • Cf scale APP_name –i <instances_num> -k <disk_limit> -m<memory> -f • Cf delete APP_NAME -r Rajan p Upadhyay 4
  • 5. More commands • Cf rename APP_NAME NEW_NAME • Cf start APP_NAME • Cf stop APP_NAME • Cf restart APP_NAME • Cf restage APP_NAME • Cf events APP_NAME • Cf restart-app-instance APP_NAME Index • Cf logs APP_NAME Rajan p Upadhyay 5
  • 6. Even more commands • Cf env App_Name • Cf set-env APP_NAME <Key> <Value> • Cf unset-env APP_NAME <Key> Rajan p Upadhyay 6
  • 7. Services command • Cf marketplace • Cf services • Cf service SERVICE_INSTANCE • Cf create-service SERVICE PLAN SERVICE_INSTANCE • Cf delete-service SERVICE_INSTANCE • Cf rename-service SERVICE_INSTANCE NEW_SERVICE_INSTANCE • Cf bind-service APP_NAME SERVICE_INSTANCE • Cf unbind-service APP_NAME SERVICE_INSTANCE • Cf create-user-provided-service SERVICE_INSTANCE • Cf update-user-provided-service SERVICE_INSTANCE • Eg. Create database user provided service in interactive mode cf cups SERVICE_NAME -p "url, username, password, encrypted" Rajan p Upadhyay 7
  • 8. Org commands • Cf orgs • Cf org ORG_NAME • Cf create-org ORG_NAME • Cf delete-org ORG_NAME • Cf rename-org ORG_NAME NEW_ORG_NAME Rajan p Upadhyay 8
  • 9. Spaces • Cf spaces • Cf space SPACE_NAME • Cf create-space SPACE • Cf delete-space SPACE • Cf rename-space SPACE NEW_SPACE Rajan p Upadhyay 9
  • 10. Domain commands • Cf domains • Cf create-domain ORG DOMAIN • Cf delete-domain DOMAIN • -- shared domain can only be created by admins • Cf create-shared-domain DOMAIN • Cf delete-shared-domain DOMAIN Rajan p Upadhyay 10
  • 11. Routes command • Cf routes • Cf create-route SPACE DOMAIN [-n HOST] • Cf check-route HOST DOMAIN • Cf map-route APP_NAME DOMAIN [-n HOST] • Cf unmap-route APP_NAME DOMAIN • Cf delete-orphaned-routes • -- routing is very important Rajan p Upadhyay 11
  • 12. extra commands • Cf buildpacks • Cf feature-flags Rajan p Upadhyay 12
  • 13. Blue Green JVM • For zero down-time in production • Route = host + shared_domain • We can have many routes point to same application • Blue Gree JVM • deploy application in PR with a non production route. One prefixed green and one prefixed blue • Create the production route manually: without mapping to any jvm • Which ever instance is tested, point the PR_ROUTE to that jvm instance Rajan p Upadhyay 13
  • 14. Blue green jvm example • Say in PR, an application ABC needs to be deployed with a route abc. rajanu.com.np Where shared-domain=rajanu.com.np and host=abc • Deploy the application with a host green-abc and app-name green-abc ie route = green-abc.rajanu.com.np • Create the abc route manually cf creae-route <SPACE> rajanu.com.np –n abc • When testing is finished with the application and it ok, map the route cf map-route ABC rajanu.com.np –n abc • Now route abc. rajanu.com.np will also point to the application ABC in addition to green-abc.rajanu.com.np • you can unmap the green-abc route from the application Rajan p Upadhyay 14
  • 15. Blue green jvm example continued • Next time you have some change in code and want to deploy in PR • Deploy it with host blue-abc with a new applicationName blue-abc. • So the new instance will have a mapped route of blue-abc.rajanu.com.np • Lets say the testing is complete and you want to make this the production version. You can map the abc route to blue-abc application. Cf map-route blue-abc rajanu.com.np –n abc • Now the route abc. rajanu.com.np will be pointing to both the instances green- abc and blue-abc • Now unmap the route from the green-abc instance so that it will only point to blue-abc instance • Cf unmap-route green-abc rajanu.com.np –n abc • If some problem is discovered and you want to backout the changes, simply map the route to green-abc and unmap it from blue-abc. Rajan p Upadhyay 15