SlideShare uma empresa Scribd logo
1 de 23
11-1
GigaSpaces 2012 © All Rights Reserved
How Cloudify uses Chef as a
foundation for PaaS
@natishalom
natishalom.typepad.com
11-2
GigaSpaces 2012 © All Rights Reserved
PaaS
IaaS
PaaS
IaaS
The Blurring line between IaaS & PaaS
11-3
GigaSpaces 2012 © All Rights Reserved
IaaS, PaaS & Apps
• IaaS & PaaS run on Software just like any App
– Messaging: RabitMQ
– DataBase: Postgress
– Web Container
• Common needs
– Automation
– HA
– Scaling ..
11-4
GigaSpaces 2012 © All Rights Reserved
IaaS delivers software services
• IaaS Services
– RDS,
– SimpleDB
– LoadBalancer
– Memcache
11-5
GigaSpaces 2012 © All Rights Reserved
PaaS delivers Software Services
11-6
GigaSpaces 2012 © All Rights Reserved
But..
• Services are delivered as a black-box
• We have little control over the type, version or
the way those services are delivered
• Inconsistent behavior & management
– IaaS & PaaS run on separate deployment, scaling,
HA and Scaling models
11-7
GigaSpaces 2012 © All Rights Reserved
Apps are a composite of services
Apps is a living organism – Things can fail, move, be added over time
11-8
GigaSpaces 2012 © All Rights Reserved
Welcome to the Open Cloud
– New opportunities on how to deliver IaaS & PaaS:
• Share infrastructure between the two layers
• Gain better control on the way services and apps are
being delivered
11-9
GigaSpaces 2012 © All Rights Reserved
Enter Chef
• Why Chef?
– Setup and Configure software services
– As a foundation for IaaS
– 100’s of cookbooks
– Open Source
• It only makes sense to use Chef as a
foundation for PaaS
11-10
GigaSpaces 2012 © All Rights Reserved
Enter Cloudify
• Cloudify is an Open PaaS Stack
• Cloudify brings DevOps & PaaS together
• Integrates tightly with Chef
11-11
GigaSpaces 2012 © All Rights Reserved
Chef & Cloudify
Cloudify
• App life cycle &
orchestration (deployment
dependencies, fail-over,
auto-scaling)
• Application management &
Monitoring
App-Centric
Chef
• Infrastructure management
(OS setup, network, security
configuration)
• Setup & installation
(package, configure, install,
start)
Infrastructure-Centric
11-12
GigaSpaces 2012 © All Rights Reserved
• Integration anatomy (how things happen)
• Working With Chef Client
– Configuring the Chef Server information in Cloudify
– Preparing a Recipe that wraps a cookbook
– Running the recipe
• Working With Chef Solo
– Preparing the recipe
– Installing chef server using chef solo
• Updating the Chef Server
• Interacting with Chef after deployment
Cloudify & Chef Deep Dive
11-13
GigaSpaces 2012 © All Rights Reserved
INTEGRATION ANATOMY
Cloudify creates the virtual machines and
installs Cloudify agents on them
How It Works
11-14
GigaSpaces 2012 © All Rights Reserved
INTEGRATION ANATOMY
Cloudify agents install Chef clients and run
them with the the proper recipes / roles
How It Works
11-15
GigaSpaces 2012 © All Rights Reserved
INTEGRATION ANATOMY
Chef clients install the required application
services
How It Works
11-16
GigaSpaces 2012 © All Rights Reserved
INTEGRATION ANATOMY
Cloudify monitors and scales the
application as needed
How It Works
11-17
GigaSpaces 2012 © All Rights Reserved
• Extend the base Chef Recipe to Install the run
list you need
Create The Recipe
service {
extend "../../../services/chef"
name "your service name"
type "DATABASE"
numInstances 1
compute {
template "SMALL_UBUNTU"
}
lifecycle {
startDetectionTimeoutSecs 240
startDetection {
ServiceUtils.isPortOccupied(System.getenv()["CLOUDIFY_AGENT_ENV_PRIVATE
_IP"], 3306)
}
}
}
Custom Service Name
Add Custom Start Detector
Extending the Chef Recipe
11-18
GigaSpaces 2012 © All Rights Reserved
• Have the following in your recipe properties
file:
18
Configure The Recipe
runParams = [
“param1": “value1”,
“param2": [“key1”:”subvalue1”,…]
…
"run_list": ["recipe[cookbook_name::recipe_name]"]
]
Runtime parameters
Run list
(Recipes or Roles)
11-19
GigaSpaces 2012 © All Rights Reserved
Chef Server Management
• The Chef server recipe has a few custom commands for management
from the Cloudify CLI
11-20
GigaSpaces 2012 © All Rights Reserved
Chef Server Custom Commands
• updateCookbooks: load cookbooks to the
Chef server (repo types: tar, git, svn)
invoke chef-server updateCookbooks tar <url>
• cleanupCookbooks: remove all cookbooks from
the Chef server
invoke chef-server cleanupCookbooks
• listCookbooks: list all cookbooks
invoke chef-server listCookbooks
• knife: Run knife
invoke chef-server knife cookbook list
11-21
GigaSpaces 2012 © All Rights Reserved
• Invoke a chef client with role “web”
invoke <service-name> run_chef role[web] client
• Invoke Chef solo, speciying the recipe and cookbooks URL:
invoke <service-name> run_chef recipe[mysql::server]
solo http://somehost/cookbooks.tar.gz
Running Chef Iteratively - Examples
Mode
Run list
Mode
Run list
Cookbooks URL
11-22
GigaSpaces 2012 © All Rights Reserved
Demo Time..
11-23
GigaSpaces 2012 © All Rights Reserved
Thank You!
GET IT TODAY, IT’S OPEN SOURCE & FREE:
WWW.CLOUDIFYSOURCE.ORG
GITHUB.COM/CLOUDIFY/CLOUDIFY-RECIPES

Mais conteúdo relacionado

Mais procurados

Building your own PaaS using Apache Stratos
Building your own PaaS using Apache Stratos Building your own PaaS using Apache Stratos
Building your own PaaS using Apache Stratos
WSO2
 
Template Languages for OpenStack - Heat and TOSCA
Template Languages for OpenStack - Heat and TOSCATemplate Languages for OpenStack - Heat and TOSCA
Template Languages for OpenStack - Heat and TOSCA
Cloud Native Day Tel Aviv
 

Mais procurados (20)

Cloud Foundry Summit 2015: Building a Robust Cloud Foundry (HA, Security and DR)
Cloud Foundry Summit 2015: Building a Robust Cloud Foundry (HA, Security and DR)Cloud Foundry Summit 2015: Building a Robust Cloud Foundry (HA, Security and DR)
Cloud Foundry Summit 2015: Building a Robust Cloud Foundry (HA, Security and DR)
 
Open Source, infrastructure as Code, Cloud Native Apps 2015
Open Source, infrastructure as Code, Cloud Native Apps 2015Open Source, infrastructure as Code, Cloud Native Apps 2015
Open Source, infrastructure as Code, Cloud Native Apps 2015
 
Building your own PaaS using Apache Stratos
Building your own PaaS using Apache Stratos Building your own PaaS using Apache Stratos
Building your own PaaS using Apache Stratos
 
Overcoming 5 Common Docker Challenges: How We Do It at RightScale
Overcoming 5 Common Docker Challenges: How We Do It at RightScaleOvercoming 5 Common Docker Challenges: How We Do It at RightScale
Overcoming 5 Common Docker Challenges: How We Do It at RightScale
 
How we Upgraded Public Cloud From Juno to Queens with Minimal Downtime? | Ngu...
How we Upgraded Public Cloud From Juno to Queens with Minimal Downtime? | Ngu...How we Upgraded Public Cloud From Juno to Queens with Minimal Downtime? | Ngu...
How we Upgraded Public Cloud From Juno to Queens with Minimal Downtime? | Ngu...
 
Template Languages for OpenStack - Heat and TOSCA
Template Languages for OpenStack - Heat and TOSCATemplate Languages for OpenStack - Heat and TOSCA
Template Languages for OpenStack - Heat and TOSCA
 
AppOrbit DevOps NYC
AppOrbit DevOps NYCAppOrbit DevOps NYC
AppOrbit DevOps NYC
 
Extension de Service Cloud Foundry
Extension de Service Cloud FoundryExtension de Service Cloud Foundry
Extension de Service Cloud Foundry
 
Managing Ceph operational complexity with Juju
Managing Ceph operational complexity with JujuManaging Ceph operational complexity with Juju
Managing Ceph operational complexity with Juju
 
An Introduction to OpenStack Heat
An Introduction to OpenStack HeatAn Introduction to OpenStack Heat
An Introduction to OpenStack Heat
 
Scaling Like Twitter with Apache Mesos
Scaling Like Twitter with Apache MesosScaling Like Twitter with Apache Mesos
Scaling Like Twitter with Apache Mesos
 
Setup kubernetes federation between clusters
Setup kubernetes federation between clustersSetup kubernetes federation between clusters
Setup kubernetes federation between clusters
 
Sven Vogel: Running CloudStack and OpenShift with NetApp on KVM
Sven Vogel: Running CloudStack and OpenShift with NetApp on KVMSven Vogel: Running CloudStack and OpenShift with NetApp on KVM
Sven Vogel: Running CloudStack and OpenShift with NetApp on KVM
 
Cloud Native Microservices with Spring Cloud
Cloud Native Microservices with Spring CloudCloud Native Microservices with Spring Cloud
Cloud Native Microservices with Spring Cloud
 
Making cloud portability a practical reality (i pad)
Making cloud portability a practical reality (i pad)Making cloud portability a practical reality (i pad)
Making cloud portability a practical reality (i pad)
 
Operating OpenStack - Case Study in the Rackspace Cloud
Operating OpenStack - Case Study in the Rackspace CloudOperating OpenStack - Case Study in the Rackspace Cloud
Operating OpenStack - Case Study in the Rackspace Cloud
 
Kubernetes as Orchestrator for A10 Lightning Controller
Kubernetes as Orchestrator for A10 Lightning ControllerKubernetes as Orchestrator for A10 Lightning Controller
Kubernetes as Orchestrator for A10 Lightning Controller
 
Learning to Scale OpenStack: An Update from the Rackspace Public Cloud
Learning to Scale OpenStack: An Update from the Rackspace Public CloudLearning to Scale OpenStack: An Update from the Rackspace Public Cloud
Learning to Scale OpenStack: An Update from the Rackspace Public Cloud
 
Giles Sirett: Introduction and CloudStack news
Giles Sirett: Introduction and CloudStack news   Giles Sirett: Introduction and CloudStack news
Giles Sirett: Introduction and CloudStack news
 
MongoDB in the Clouds
MongoDB in the CloudsMongoDB in the Clouds
MongoDB in the Clouds
 

Destaque

Realtime Big data Anaytics and Exampes of Daum (2013)
Realtime Big data Anaytics and Exampes of Daum (2013)Realtime Big data Anaytics and Exampes of Daum (2013)
Realtime Big data Anaytics and Exampes of Daum (2013)
Channy Yun
 
Transforming your business with PaaS
Transforming your business with PaaSTransforming your business with PaaS
Transforming your business with PaaS
Omar Nawaz
 

Destaque (20)

Cloudify Orchestration for Chef Users
Cloudify Orchestration for Chef UsersCloudify Orchestration for Chef Users
Cloudify Orchestration for Chef Users
 
Redis, Resque & Friends
Redis, Resque & FriendsRedis, Resque & Friends
Redis, Resque & Friends
 
5 PaaS myths every CIO needs to get over
5 PaaS myths every CIO needs to get over5 PaaS myths every CIO needs to get over
5 PaaS myths every CIO needs to get over
 
Beyond PaaS v.s IaaS: How to Manage Both
Beyond PaaS v.s IaaS: How to Manage BothBeyond PaaS v.s IaaS: How to Manage Both
Beyond PaaS v.s IaaS: How to Manage Both
 
I tried to dockerize my app but I had to PaaS
I tried to dockerize my app but I had to PaaSI tried to dockerize my app but I had to PaaS
I tried to dockerize my app but I had to PaaS
 
AWS Sydney Summit 2013 - Optimizing AWS Applications and Usage to Reduce Costs
AWS Sydney Summit 2013 - Optimizing AWS Applications and Usage to Reduce CostsAWS Sydney Summit 2013 - Optimizing AWS Applications and Usage to Reduce Costs
AWS Sydney Summit 2013 - Optimizing AWS Applications and Usage to Reduce Costs
 
Cloud foundry integration-with-openstack-and-docker-bangalorecf-meetup
Cloud foundry integration-with-openstack-and-docker-bangalorecf-meetupCloud foundry integration-with-openstack-and-docker-bangalorecf-meetup
Cloud foundry integration-with-openstack-and-docker-bangalorecf-meetup
 
Realtime Big data Anaytics and Exampes of Daum (2013)
Realtime Big data Anaytics and Exampes of Daum (2013)Realtime Big data Anaytics and Exampes of Daum (2013)
Realtime Big data Anaytics and Exampes of Daum (2013)
 
Deview 2013 :: Backend PaaS, CloudFoundry 뽀개기
Deview 2013 :: Backend PaaS, CloudFoundry 뽀개기Deview 2013 :: Backend PaaS, CloudFoundry 뽀개기
Deview 2013 :: Backend PaaS, CloudFoundry 뽀개기
 
Transforming your business with PaaS
Transforming your business with PaaSTransforming your business with PaaS
Transforming your business with PaaS
 
PaaS is dead, Long live PaaS - Defrag 2016
PaaS is dead, Long live PaaS - Defrag 2016PaaS is dead, Long live PaaS - Defrag 2016
PaaS is dead, Long live PaaS - Defrag 2016
 
OpenShift, Docker, Kubernetes: The next generation of PaaS
OpenShift, Docker, Kubernetes: The next generation of PaaSOpenShift, Docker, Kubernetes: The next generation of PaaS
OpenShift, Docker, Kubernetes: The next generation of PaaS
 
Build Your Own PaaS, Just like Red Hat's OpenShift from LinuxCon 2013 New Orl...
Build Your Own PaaS, Just like Red Hat's OpenShift from LinuxCon 2013 New Orl...Build Your Own PaaS, Just like Red Hat's OpenShift from LinuxCon 2013 New Orl...
Build Your Own PaaS, Just like Red Hat's OpenShift from LinuxCon 2013 New Orl...
 
Docker初识
Docker初识Docker初识
Docker初识
 
ひしめき合うOpen PaaSを徹底解剖! PaaSの今と未来
ひしめき合うOpen PaaSを徹底解剖! PaaSの今と未来ひしめき合うOpen PaaSを徹底解剖! PaaSの今と未来
ひしめき合うOpen PaaSを徹底解剖! PaaSの今と未来
 
Tracxn research - PaaS Landscape, December 2016
Tracxn research -  PaaS Landscape, December 2016Tracxn research -  PaaS Landscape, December 2016
Tracxn research - PaaS Landscape, December 2016
 
Daily Snapshot - 7th March 2017
Daily Snapshot - 7th March 2017Daily Snapshot - 7th March 2017
Daily Snapshot - 7th March 2017
 
Tracxn Research: PaaS Landscape Report, August 2016
Tracxn Research: PaaS Landscape Report, August 2016Tracxn Research: PaaS Landscape Report, August 2016
Tracxn Research: PaaS Landscape Report, August 2016
 
A Multi-Company Perspective: Enterprise Cloud and PaaS
A Multi-Company Perspective: Enterprise Cloud and PaaSA Multi-Company Perspective: Enterprise Cloud and PaaS
A Multi-Company Perspective: Enterprise Cloud and PaaS
 
Feb 2013 HUG: Large Scale Data Ingest Using Apache Flume
Feb 2013 HUG: Large Scale Data Ingest Using Apache FlumeFeb 2013 HUG: Large Scale Data Ingest Using Apache Flume
Feb 2013 HUG: Large Scale Data Ingest Using Apache Flume
 

Semelhante a How Cloudify uses Chef as a Foundation for PaaS

The art of .net deployment automation
The art of .net deployment automationThe art of .net deployment automation
The art of .net deployment automation
MidVision
 
ukoug-soa-sig-june-2016 v0.5
ukoug-soa-sig-june-2016 v0.5ukoug-soa-sig-june-2016 v0.5
ukoug-soa-sig-june-2016 v0.5
Bruno Alves
 
Amazon Web Services and PaaS - Enterprise Java for the Cloud Era? - Mark Pric...
Amazon Web Services and PaaS - Enterprise Java for the Cloud Era? - Mark Pric...Amazon Web Services and PaaS - Enterprise Java for the Cloud Era? - Mark Pric...
Amazon Web Services and PaaS - Enterprise Java for the Cloud Era? - Mark Pric...
jaxconf
 

Semelhante a How Cloudify uses Chef as a Foundation for PaaS (20)

IBM InterConnect 2015 - IIB in the Cloud
IBM InterConnect 2015 - IIB in the CloudIBM InterConnect 2015 - IIB in the Cloud
IBM InterConnect 2015 - IIB in the Cloud
 
Chef Automate - Azure Sydney User Group
Chef Automate - Azure Sydney User GroupChef Automate - Azure Sydney User Group
Chef Automate - Azure Sydney User Group
 
The Power of Java and Oracle WebLogic Server in the Public Cloud (OpenWorld, ...
The Power of Java and Oracle WebLogic Server in the Public Cloud (OpenWorld, ...The Power of Java and Oracle WebLogic Server in the Public Cloud (OpenWorld, ...
The Power of Java and Oracle WebLogic Server in the Public Cloud (OpenWorld, ...
 
E business suite r12.2 changes for database administrators
E business suite r12.2 changes for database administratorsE business suite r12.2 changes for database administrators
E business suite r12.2 changes for database administrators
 
E business suite r12.2 changes for database administrators
E business suite r12.2 changes for database administratorsE business suite r12.2 changes for database administrators
E business suite r12.2 changes for database administrators
 
The art of .net deployment automation
The art of .net deployment automationThe art of .net deployment automation
The art of .net deployment automation
 
ukoug-soa-sig-june-2016 v0.5
ukoug-soa-sig-june-2016 v0.5ukoug-soa-sig-june-2016 v0.5
ukoug-soa-sig-june-2016 v0.5
 
Upgrading to Oracle SOA 12.1 & 12.2 - Practical Steps and Project Experiences
Upgrading to Oracle SOA 12.1 & 12.2 - Practical Steps and Project ExperiencesUpgrading to Oracle SOA 12.1 & 12.2 - Practical Steps and Project Experiences
Upgrading to Oracle SOA 12.1 & 12.2 - Practical Steps and Project Experiences
 
Automating your infrastructure with Chef
Automating your infrastructure with ChefAutomating your infrastructure with Chef
Automating your infrastructure with Chef
 
Chef + Azure = Awesome
Chef + Azure = AwesomeChef + Azure = Awesome
Chef + Azure = Awesome
 
Aioug2017 deploying-ebs-on-prem-and-on-oracle-cloud v2
Aioug2017 deploying-ebs-on-prem-and-on-oracle-cloud v2Aioug2017 deploying-ebs-on-prem-and-on-oracle-cloud v2
Aioug2017 deploying-ebs-on-prem-and-on-oracle-cloud v2
 
What’s New in Amazon RDS for Open-Source and Commercial Databases:
What’s New in Amazon RDS for Open-Source and Commercial Databases: What’s New in Amazon RDS for Open-Source and Commercial Databases:
What’s New in Amazon RDS for Open-Source and Commercial Databases:
 
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...
 
Introduction to Infrastructure as Code & Automation / Introduction to Chef
Introduction to Infrastructure as Code & Automation / Introduction to ChefIntroduction to Infrastructure as Code & Automation / Introduction to Chef
Introduction to Infrastructure as Code & Automation / Introduction to Chef
 
SAP HANA Native Application Development
SAP HANA Native Application DevelopmentSAP HANA Native Application Development
SAP HANA Native Application Development
 
Micro services vs hadoop
Micro services vs hadoopMicro services vs hadoop
Micro services vs hadoop
 
.NET Cloud-Native Bootcamp
.NET Cloud-Native Bootcamp.NET Cloud-Native Bootcamp
.NET Cloud-Native Bootcamp
 
Amazon Web Services and PaaS - Enterprise Java for the Cloud Era? - Mark Pric...
Amazon Web Services and PaaS - Enterprise Java for the Cloud Era? - Mark Pric...Amazon Web Services and PaaS - Enterprise Java for the Cloud Era? - Mark Pric...
Amazon Web Services and PaaS - Enterprise Java for the Cloud Era? - Mark Pric...
 
SOA_BPM_12c_launch_event_SOA_track_deepdive_developerproductivityandperforman...
SOA_BPM_12c_launch_event_SOA_track_deepdive_developerproductivityandperforman...SOA_BPM_12c_launch_event_SOA_track_deepdive_developerproductivityandperforman...
SOA_BPM_12c_launch_event_SOA_track_deepdive_developerproductivityandperforman...
 
What's New in Amazon RDS for Open-Source & Commercial Databases
What's New in Amazon RDS for Open-Source & Commercial DatabasesWhat's New in Amazon RDS for Open-Source & Commercial Databases
What's New in Amazon RDS for Open-Source & Commercial Databases
 

Mais de Nati Shalom

Real World Application Orchestration Made Easy on VMware vCloud Air, vSphere ...
Real World Application Orchestration Made Easy on VMware vCloud Air, vSphere ...Real World Application Orchestration Made Easy on VMware vCloud Air, vSphere ...
Real World Application Orchestration Made Easy on VMware vCloud Air, vSphere ...
Nati Shalom
 
Case Studies for moving apps to the cloud - DLD 2013
Case Studies for moving apps to the cloud - DLD 2013Case Studies for moving apps to the cloud - DLD 2013
Case Studies for moving apps to the cloud - DLD 2013
Nati Shalom
 

Mais de Nati Shalom (20)

Cloudify and terraform integration
Cloudify and terraform integrationCloudify and terraform integration
Cloudify and terraform integration
 
Why NFV and Digital Transformation Projects Fail!
Why NFV and Digital Transformation Projects Fail! Why NFV and Digital Transformation Projects Fail!
Why NFV and Digital Transformation Projects Fail!
 
Cloudify and terraform integration
Cloudify and terraform integrationCloudify and terraform integration
Cloudify and terraform integration
 
1 cloud, 2 clouds, 3 clouds, tons...
1 cloud, 2 clouds, 3 clouds, tons...1 cloud, 2 clouds, 3 clouds, tons...
1 cloud, 2 clouds, 3 clouds, tons...
 
Open Stack Days israel Keynote 2017
Open Stack Days israel Keynote 2017Open Stack Days israel Keynote 2017
Open Stack Days israel Keynote 2017
 
What A No Compromises Hybrid Cloud Looks Like
What A No Compromises Hybrid Cloud Looks Like What A No Compromises Hybrid Cloud Looks Like
What A No Compromises Hybrid Cloud Looks Like
 
Running OpenStack in Production
Running OpenStack in Production Running OpenStack in Production
Running OpenStack in Production
 
Orchestration tool roundup kubernetes vs. docker vs. heat vs. terra form vs...
Orchestration tool roundup   kubernetes vs. docker vs. heat vs. terra form vs...Orchestration tool roundup   kubernetes vs. docker vs. heat vs. terra form vs...
Orchestration tool roundup kubernetes vs. docker vs. heat vs. terra form vs...
 
Real World Example of Orchestrating Docker, Node JS, NFV on OpenStack
Real World Example of Orchestrating Docker, Node JS, NFV on OpenStackReal World Example of Orchestrating Docker, Node JS, NFV on OpenStack
Real World Example of Orchestrating Docker, Node JS, NFV on OpenStack
 
Real World Application Orchestration Made Easy on VMware vCloud Air, vSphere ...
Real World Application Orchestration Made Easy on VMware vCloud Air, vSphere ...Real World Application Orchestration Made Easy on VMware vCloud Air, vSphere ...
Real World Application Orchestration Made Easy on VMware vCloud Air, vSphere ...
 
OpenStack Juno The Complete Lowdown and Tales from the Summit
OpenStack Juno The Complete Lowdown and Tales from the SummitOpenStack Juno The Complete Lowdown and Tales from the Summit
OpenStack Juno The Complete Lowdown and Tales from the Summit
 
Application and Network Orchestration using Heat & Tosca
Application and Network Orchestration using Heat & ToscaApplication and Network Orchestration using Heat & Tosca
Application and Network Orchestration using Heat & Tosca
 
Software Defined Operator
Software Defined OperatorSoftware Defined Operator
Software Defined Operator
 
Complex Analytics with NoSQL Data Store in Real Time
Complex Analytics with NoSQL Data Store in Real TimeComplex Analytics with NoSQL Data Store in Real Time
Complex Analytics with NoSQL Data Store in Real Time
 
Is Orchestration the Next Big Thing in DevOps
Is Orchestration the Next Big Thing in DevOpsIs Orchestration the Next Big Thing in DevOps
Is Orchestration the Next Big Thing in DevOps
 
When networks meets apps (open stack atlanta)
When networks meets apps (open stack atlanta)When networks meets apps (open stack atlanta)
When networks meets apps (open stack atlanta)
 
Application Centric Approach to Devops
Application Centric Approach to DevopsApplication Centric Approach to Devops
Application Centric Approach to Devops
 
Case Studies for moving apps to the cloud - DLD 2013
Case Studies for moving apps to the cloud - DLD 2013Case Studies for moving apps to the cloud - DLD 2013
Case Studies for moving apps to the cloud - DLD 2013
 
Application Centric DevOps
Application Centric DevOpsApplication Centric DevOps
Application Centric DevOps
 
Real-Time Big Data at In-Memory Speed, Using Storm
Real-Time Big Data at In-Memory Speed, Using StormReal-Time Big Data at In-Memory Speed, Using Storm
Real-Time Big Data at In-Memory Speed, Using Storm
 

Último

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Último (20)

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 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
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
[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
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
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
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

How Cloudify uses Chef as a Foundation for PaaS

  • 1. 11-1 GigaSpaces 2012 © All Rights Reserved How Cloudify uses Chef as a foundation for PaaS @natishalom natishalom.typepad.com
  • 2. 11-2 GigaSpaces 2012 © All Rights Reserved PaaS IaaS PaaS IaaS The Blurring line between IaaS & PaaS
  • 3. 11-3 GigaSpaces 2012 © All Rights Reserved IaaS, PaaS & Apps • IaaS & PaaS run on Software just like any App – Messaging: RabitMQ – DataBase: Postgress – Web Container • Common needs – Automation – HA – Scaling ..
  • 4. 11-4 GigaSpaces 2012 © All Rights Reserved IaaS delivers software services • IaaS Services – RDS, – SimpleDB – LoadBalancer – Memcache
  • 5. 11-5 GigaSpaces 2012 © All Rights Reserved PaaS delivers Software Services
  • 6. 11-6 GigaSpaces 2012 © All Rights Reserved But.. • Services are delivered as a black-box • We have little control over the type, version or the way those services are delivered • Inconsistent behavior & management – IaaS & PaaS run on separate deployment, scaling, HA and Scaling models
  • 7. 11-7 GigaSpaces 2012 © All Rights Reserved Apps are a composite of services Apps is a living organism – Things can fail, move, be added over time
  • 8. 11-8 GigaSpaces 2012 © All Rights Reserved Welcome to the Open Cloud – New opportunities on how to deliver IaaS & PaaS: • Share infrastructure between the two layers • Gain better control on the way services and apps are being delivered
  • 9. 11-9 GigaSpaces 2012 © All Rights Reserved Enter Chef • Why Chef? – Setup and Configure software services – As a foundation for IaaS – 100’s of cookbooks – Open Source • It only makes sense to use Chef as a foundation for PaaS
  • 10. 11-10 GigaSpaces 2012 © All Rights Reserved Enter Cloudify • Cloudify is an Open PaaS Stack • Cloudify brings DevOps & PaaS together • Integrates tightly with Chef
  • 11. 11-11 GigaSpaces 2012 © All Rights Reserved Chef & Cloudify Cloudify • App life cycle & orchestration (deployment dependencies, fail-over, auto-scaling) • Application management & Monitoring App-Centric Chef • Infrastructure management (OS setup, network, security configuration) • Setup & installation (package, configure, install, start) Infrastructure-Centric
  • 12. 11-12 GigaSpaces 2012 © All Rights Reserved • Integration anatomy (how things happen) • Working With Chef Client – Configuring the Chef Server information in Cloudify – Preparing a Recipe that wraps a cookbook – Running the recipe • Working With Chef Solo – Preparing the recipe – Installing chef server using chef solo • Updating the Chef Server • Interacting with Chef after deployment Cloudify & Chef Deep Dive
  • 13. 11-13 GigaSpaces 2012 © All Rights Reserved INTEGRATION ANATOMY Cloudify creates the virtual machines and installs Cloudify agents on them How It Works
  • 14. 11-14 GigaSpaces 2012 © All Rights Reserved INTEGRATION ANATOMY Cloudify agents install Chef clients and run them with the the proper recipes / roles How It Works
  • 15. 11-15 GigaSpaces 2012 © All Rights Reserved INTEGRATION ANATOMY Chef clients install the required application services How It Works
  • 16. 11-16 GigaSpaces 2012 © All Rights Reserved INTEGRATION ANATOMY Cloudify monitors and scales the application as needed How It Works
  • 17. 11-17 GigaSpaces 2012 © All Rights Reserved • Extend the base Chef Recipe to Install the run list you need Create The Recipe service { extend "../../../services/chef" name "your service name" type "DATABASE" numInstances 1 compute { template "SMALL_UBUNTU" } lifecycle { startDetectionTimeoutSecs 240 startDetection { ServiceUtils.isPortOccupied(System.getenv()["CLOUDIFY_AGENT_ENV_PRIVATE _IP"], 3306) } } } Custom Service Name Add Custom Start Detector Extending the Chef Recipe
  • 18. 11-18 GigaSpaces 2012 © All Rights Reserved • Have the following in your recipe properties file: 18 Configure The Recipe runParams = [ “param1": “value1”, “param2": [“key1”:”subvalue1”,…] … "run_list": ["recipe[cookbook_name::recipe_name]"] ] Runtime parameters Run list (Recipes or Roles)
  • 19. 11-19 GigaSpaces 2012 © All Rights Reserved Chef Server Management • The Chef server recipe has a few custom commands for management from the Cloudify CLI
  • 20. 11-20 GigaSpaces 2012 © All Rights Reserved Chef Server Custom Commands • updateCookbooks: load cookbooks to the Chef server (repo types: tar, git, svn) invoke chef-server updateCookbooks tar <url> • cleanupCookbooks: remove all cookbooks from the Chef server invoke chef-server cleanupCookbooks • listCookbooks: list all cookbooks invoke chef-server listCookbooks • knife: Run knife invoke chef-server knife cookbook list
  • 21. 11-21 GigaSpaces 2012 © All Rights Reserved • Invoke a chef client with role “web” invoke <service-name> run_chef role[web] client • Invoke Chef solo, speciying the recipe and cookbooks URL: invoke <service-name> run_chef recipe[mysql::server] solo http://somehost/cookbooks.tar.gz Running Chef Iteratively - Examples Mode Run list Mode Run list Cookbooks URL
  • 22. 11-22 GigaSpaces 2012 © All Rights Reserved Demo Time..
  • 23. 11-23 GigaSpaces 2012 © All Rights Reserved Thank You! GET IT TODAY, IT’S OPEN SOURCE & FREE: WWW.CLOUDIFYSOURCE.ORG GITHUB.COM/CLOUDIFY/CLOUDIFY-RECIPES