SlideShare a Scribd company logo
1 of 20
Download to read offline
orchestrating multiple cloud
applications
Agenda
• Standards used in Heat
• Heat Overview & Roadmap
• Heat basic architecture & CLI
• JeOS & Heat-jeos CLI
• Heat installation & running
• CloudFormation Template
Standards used in Heat
• AWS CloudFormation
• TOSCA
Topology and Orchestration Specification for
Cloud Applications
Heat Overview
• Orchestrating (by stacks, updating running
stacks)
• Resource management
• CloudFormation templates
• Integrates well with Puppet and Chef
• Very active community of 9 developers from
Red Hat
Heat Roadmap (Folsom)
• Complete integration with Common, Glance,
Keystone, Swift, and Nova
• Complete implementation of the AWS
CloudFormation and CloudWatch API
• Instance and application HA
• Autoscaling
• Nested Stacks
Heat basic architecture
AMPQ
Heat API
Heat MetadataHeat Engine
DB
OpenStack
Stack
VM VM VM
RPC
Heat basic architecture
AMPQ
Heat API
Heat MetadataHeat Engine
DB
OpenStack
Stack
VM VM VM
RPC
Heat basic architecture
AMPQ
Heat API
Heat MetadataHeat Engine
DB
OpenStack
Stack
VM VM VM
RPC
Heat basic architecture
AMPQ
Heat API
Heat MetadataHeat Engine
DB
OpenStack
Stack
VM VM VM
RPC
Heat command line
heat <command> [options] [args]
• create
• delete
• describe
• update
• event-list
• list
• gettemplate
• estimate-template-cost
• validate
• resource
• resource-list
• resource-list-details
JeOS
• Typically, a JeOS consist of the following:
 OS core
 OS Minimum maintenance tools
 Minimum user space tools
 Packages repository
Heat-jeos tool builds virtual machine images to use with
Heat.
git clone git://github.com/
heat-api/heat-jeos.git
cd heat-jeos
sudo python setup.py install.sh
Heat-jeos command line
heat-jeos <command> [options] [args]
• create
• list
• tdl
• image
• register
Heat installation on Ubuntu (DevStack)
• Configure DevStack to enable Heat (localrc)
ENABLED_SERVICES+=,heat,h-api-cfn,
h-api-cw,h-eng,
h-meta
IMAGE_URLS+=",some_image“ (specific ones)
https://github.com/heat-api/prebuilt-
jeos-images/downloads
./stack.sh
Running Heat
source openrc heat service
heat list
<ListStacksResponse>
<ListStacksResult>
<StackSummaries/>
</ListStacksResult>
</ListStacksResponse>
Preparing Nova for running stacks
nova keypair-add heat_key
Launching a stack
heat -d create teststack
--template-file=WordPress_SI.template
--parameters="InstanceType=m1.large;
DBUsername=wp;
DBPassword=password;
KeyName=heat_key;
LinuxDistribution=F16"
If everything is nice
<CreateStackResponse>
<CreateStackResult>
<StackId>arn:openstack:heat:
:service:stacks/teststack/1</StackId>
</CreateStackResult>
</CreateStackResponse>
----------------------------------------
heat describe teststack <a lot of info…>
If something goes wrong
<StackStatusReason>
Resource Instance "WikiDatabase"
failed with:
nova reported unexpected
instance[WikiDatabase]
status[ERROR]
</StackStatusReason>
…
<StackStatus>
CREATE_FAILED
</StackStatus>
Anatomy of a CloudFormation Template
• Description
• Parameters
• Mappings
• Resources
• Outputs
Useful links
• http://heat-api.org/
• https://github.com/heat-api/heat/wiki
• https://github.com/heat-api/heat-jeos
Q&A
Dina Belova
dbelova@mirantis.com

More Related Content

What's hot

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
 

What's hot (20)

Openstack Heat
Openstack HeatOpenstack Heat
Openstack Heat
 
Hot tutorials
Hot tutorialsHot tutorials
Hot tutorials
 
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
 
OpenStack Heat
OpenStack HeatOpenStack Heat
OpenStack Heat
 
Heat up your stack
Heat up your stackHeat up your stack
Heat up your stack
 
Openstack heat & How Autoscaling works
Openstack heat & How Autoscaling worksOpenstack heat & How Autoscaling works
Openstack heat & How Autoscaling works
 
Autoscaling OpenStack Natively with Heat, Ceilometer and LBaaS
Autoscaling OpenStack Natively with Heat, Ceilometer and LBaaSAutoscaling OpenStack Natively with Heat, Ceilometer and LBaaS
Autoscaling OpenStack Natively with Heat, Ceilometer and LBaaS
 
Automating Application over OpenStack using Workflows
Automating Application over OpenStack using WorkflowsAutomating Application over OpenStack using Workflows
Automating Application over OpenStack using Workflows
 
Paul Angus (ShapeBlue) - Push infrastructure with Ansible #DOXLON
Paul Angus (ShapeBlue) - Push infrastructure with Ansible #DOXLONPaul Angus (ShapeBlue) - Push infrastructure with Ansible #DOXLON
Paul Angus (ShapeBlue) - Push infrastructure with Ansible #DOXLON
 
Terraform
TerraformTerraform
Terraform
 
OpenStack - Tzu-Mainn Chen, Marek Aufart, Petr Blaho - ManageIQ Design Summit...
OpenStack - Tzu-Mainn Chen, Marek Aufart, Petr Blaho - ManageIQ Design Summit...OpenStack - Tzu-Mainn Chen, Marek Aufart, Petr Blaho - ManageIQ Design Summit...
OpenStack - Tzu-Mainn Chen, Marek Aufart, Petr Blaho - ManageIQ Design Summit...
 
OpenStack Ceilometer
OpenStack CeilometerOpenStack Ceilometer
OpenStack Ceilometer
 
Heat monasca auto scale
Heat monasca auto scaleHeat monasca auto scale
Heat monasca auto scale
 
From Ceilometer to Telemetry: not so alarming!
From Ceilometer to Telemetry: not so alarming!From Ceilometer to Telemetry: not so alarming!
From Ceilometer to Telemetry: not so alarming!
 
Heat and its resources
Heat and its resourcesHeat and its resources
Heat and its resources
 
Openshift Container Platform on Azure
Openshift Container Platform on Azure Openshift Container Platform on Azure
Openshift Container Platform on Azure
 
Terraform
TerraformTerraform
Terraform
 
Microsoft Azure IaaS and Terraform
Microsoft Azure IaaS and TerraformMicrosoft Azure IaaS and Terraform
Microsoft Azure IaaS and Terraform
 
From Docker Straight to AWS
From Docker Straight to AWSFrom Docker Straight to AWS
From Docker Straight to AWS
 
Watcher, a Resource Manager for OpenStack: Plans for the N-release and Beyond
Watcher, a Resource Manager for OpenStack: Plans for the N-release and BeyondWatcher, a Resource Manager for OpenStack: Plans for the N-release and Beyond
Watcher, a Resource Manager for OpenStack: Plans for the N-release and Beyond
 

Similar to OpenStack Heat slides

Introduction to OpenStack Heat
Introduction to OpenStack HeatIntroduction to OpenStack Heat
Introduction to OpenStack Heat
openstackindia
 
Riga Dev Day 2016 - Microservices with Apache Camel & fabric8 on Kubernetes
Riga Dev Day 2016 - Microservices with Apache Camel & fabric8 on KubernetesRiga Dev Day 2016 - Microservices with Apache Camel & fabric8 on Kubernetes
Riga Dev Day 2016 - Microservices with Apache Camel & fabric8 on Kubernetes
Claus Ibsen
 

Similar to OpenStack Heat slides (20)

Deploying your apps in the cloud - the options: an overview
Deploying your apps in the cloud - the options: an overviewDeploying your apps in the cloud - the options: an overview
Deploying your apps in the cloud - the options: an overview
 
Introduction to OpenStack Heat
Introduction to OpenStack HeatIntroduction to OpenStack Heat
Introduction to OpenStack Heat
 
How IT at Getty Images Brokers Cloud Services
How IT at Getty Images Brokers Cloud ServicesHow IT at Getty Images Brokers Cloud Services
How IT at Getty Images Brokers Cloud Services
 
Mete Atamel
Mete AtamelMete Atamel
Mete Atamel
 
Stacktician - CloudStack Collab Conference 2014
Stacktician - CloudStack Collab Conference 2014Stacktician - CloudStack Collab Conference 2014
Stacktician - CloudStack Collab Conference 2014
 
Elastic Kubernetes Services (EKS)
Elastic Kubernetes Services (EKS)Elastic Kubernetes Services (EKS)
Elastic Kubernetes Services (EKS)
 
Managing Your Cloud Assets
Managing Your Cloud AssetsManaging Your Cloud Assets
Managing Your Cloud Assets
 
Containerised ASP.NET Core apps with Kubernetes
Containerised ASP.NET Core apps with KubernetesContainerised ASP.NET Core apps with Kubernetes
Containerised ASP.NET Core apps with Kubernetes
 
Cloud Formation
Cloud FormationCloud Formation
Cloud Formation
 
DevOps for Serverless Computing with Demo
DevOps for Serverless Computing with DemoDevOps for Serverless Computing with Demo
DevOps for Serverless Computing with Demo
 
How to build the Cloud Native applications the way you want – not the way the...
How to build the Cloud Native applications the way you want – not the way the...How to build the Cloud Native applications the way you want – not the way the...
How to build the Cloud Native applications the way you want – not the way the...
 
Pro2516 10 things about oracle and k8s.pptx-final
Pro2516   10 things about oracle and k8s.pptx-finalPro2516   10 things about oracle and k8s.pptx-final
Pro2516 10 things about oracle and k8s.pptx-final
 
On CloudStack, Docker, Kubernetes, and Big Data…Oh my ! By Sebastien Goasguen...
On CloudStack, Docker, Kubernetes, and Big Data…Oh my ! By Sebastien Goasguen...On CloudStack, Docker, Kubernetes, and Big Data…Oh my ! By Sebastien Goasguen...
On CloudStack, Docker, Kubernetes, and Big Data…Oh my ! By Sebastien Goasguen...
 
Application Lifecycle Management on AWS
Application Lifecycle Management on AWSApplication Lifecycle Management on AWS
Application Lifecycle Management on AWS
 
Oracle Solutions on AWS : May 2014
Oracle Solutions on AWS : May 2014Oracle Solutions on AWS : May 2014
Oracle Solutions on AWS : May 2014
 
Wicked Easy Ceph Block Storage & OpenStack Deployment with Crowbar
Wicked Easy Ceph Block Storage & OpenStack Deployment with CrowbarWicked Easy Ceph Block Storage & OpenStack Deployment with Crowbar
Wicked Easy Ceph Block Storage & OpenStack Deployment with Crowbar
 
Infrastructure as code with Amazon Web Services
Infrastructure as code with Amazon Web ServicesInfrastructure as code with Amazon Web Services
Infrastructure as code with Amazon Web Services
 
Riga Dev Day 2016 - Microservices with Apache Camel & fabric8 on Kubernetes
Riga Dev Day 2016 - Microservices with Apache Camel & fabric8 on KubernetesRiga Dev Day 2016 - Microservices with Apache Camel & fabric8 on Kubernetes
Riga Dev Day 2016 - Microservices with Apache Camel & fabric8 on Kubernetes
 
Journey towards serverless infrastructure
Journey towards serverless infrastructureJourney towards serverless infrastructure
Journey towards serverless infrastructure
 
Pairs OpenStack Summit Summary
Pairs OpenStack Summit SummaryPairs OpenStack Summit Summary
Pairs OpenStack Summit Summary
 

Recently uploaded

Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
FIDO Alliance
 
CORS (Kitworks Team Study 양다윗 발표자료 240510)
CORS (Kitworks Team Study 양다윗 발표자료 240510)CORS (Kitworks Team Study 양다윗 발표자료 240510)
CORS (Kitworks Team Study 양다윗 발표자료 240510)
Wonjun Hwang
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
FIDO Alliance
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
FIDO Alliance
 

Recently uploaded (20)

The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Vector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptxVector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptx
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
Top 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development CompaniesTop 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development Companies
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoft
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
CORS (Kitworks Team Study 양다윗 발표자료 240510)
CORS (Kitworks Team Study 양다윗 발표자료 240510)CORS (Kitworks Team Study 양다윗 발표자료 240510)
CORS (Kitworks Team Study 양다윗 발표자료 240510)
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 

OpenStack Heat slides

  • 2. Agenda • Standards used in Heat • Heat Overview & Roadmap • Heat basic architecture & CLI • JeOS & Heat-jeos CLI • Heat installation & running • CloudFormation Template
  • 3. Standards used in Heat • AWS CloudFormation • TOSCA Topology and Orchestration Specification for Cloud Applications
  • 4. Heat Overview • Orchestrating (by stacks, updating running stacks) • Resource management • CloudFormation templates • Integrates well with Puppet and Chef • Very active community of 9 developers from Red Hat
  • 5. Heat Roadmap (Folsom) • Complete integration with Common, Glance, Keystone, Swift, and Nova • Complete implementation of the AWS CloudFormation and CloudWatch API • Instance and application HA • Autoscaling • Nested Stacks
  • 6. Heat basic architecture AMPQ Heat API Heat MetadataHeat Engine DB OpenStack Stack VM VM VM RPC
  • 7. Heat basic architecture AMPQ Heat API Heat MetadataHeat Engine DB OpenStack Stack VM VM VM RPC
  • 8. Heat basic architecture AMPQ Heat API Heat MetadataHeat Engine DB OpenStack Stack VM VM VM RPC
  • 9. Heat basic architecture AMPQ Heat API Heat MetadataHeat Engine DB OpenStack Stack VM VM VM RPC
  • 10. Heat command line heat <command> [options] [args] • create • delete • describe • update • event-list • list • gettemplate • estimate-template-cost • validate • resource • resource-list • resource-list-details
  • 11. JeOS • Typically, a JeOS consist of the following:  OS core  OS Minimum maintenance tools  Minimum user space tools  Packages repository Heat-jeos tool builds virtual machine images to use with Heat. git clone git://github.com/ heat-api/heat-jeos.git cd heat-jeos sudo python setup.py install.sh
  • 12. Heat-jeos command line heat-jeos <command> [options] [args] • create • list • tdl • image • register
  • 13. Heat installation on Ubuntu (DevStack) • Configure DevStack to enable Heat (localrc) ENABLED_SERVICES+=,heat,h-api-cfn, h-api-cw,h-eng, h-meta IMAGE_URLS+=",some_image“ (specific ones) https://github.com/heat-api/prebuilt- jeos-images/downloads ./stack.sh
  • 14. Running Heat source openrc heat service heat list <ListStacksResponse> <ListStacksResult> <StackSummaries/> </ListStacksResult> </ListStacksResponse>
  • 15. Preparing Nova for running stacks nova keypair-add heat_key Launching a stack heat -d create teststack --template-file=WordPress_SI.template --parameters="InstanceType=m1.large; DBUsername=wp; DBPassword=password; KeyName=heat_key; LinuxDistribution=F16"
  • 16. If everything is nice <CreateStackResponse> <CreateStackResult> <StackId>arn:openstack:heat: :service:stacks/teststack/1</StackId> </CreateStackResult> </CreateStackResponse> ---------------------------------------- heat describe teststack <a lot of info…>
  • 17. If something goes wrong <StackStatusReason> Resource Instance "WikiDatabase" failed with: nova reported unexpected instance[WikiDatabase] status[ERROR] </StackStatusReason> … <StackStatus> CREATE_FAILED </StackStatus>
  • 18. Anatomy of a CloudFormation Template • Description • Parameters • Mappings • Resources • Outputs
  • 19. Useful links • http://heat-api.org/ • https://github.com/heat-api/heat/wiki • https://github.com/heat-api/heat-jeos