Your SlideShare is downloading. ×
  • Like
OpenStack Heat slides
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

OpenStack Heat slides

  • 5,190 views
Published

 

Published in Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
5,190
On SlideShare
0
From Embeds
0
Number of Embeds
4

Actions

Shares
Downloads
247
Comments
0
Likes
10

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. orchestrating multiple cloudapplications
  • 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• TOSCATopology and Orchestration Specification forCloud Applications
  • 4. Heat Overview• Orchestrating (by stacks, updating runningstacks)• Resource management• CloudFormation templates• Integrates well with Puppet and Chef• Very active community of 9 developers fromRed Hat
  • 5. Heat Roadmap (Folsom)• Complete integration with Common, Glance,Keystone, Swift, and Nova• Complete implementation of the AWSCloudFormation and CloudWatch API• Instance and application HA• Autoscaling• Nested Stacks
  • 6. Heat basic architectureAMPQHeat APIHeat MetadataHeat EngineDBOpenStackStackVM VM VMRPC
  • 7. Heat basic architectureAMPQHeat APIHeat MetadataHeat EngineDBOpenStackStackVM VM VMRPC
  • 8. Heat basic architectureAMPQHeat APIHeat MetadataHeat EngineDBOpenStackStackVM VM VMRPC
  • 9. Heat basic architectureAMPQHeat APIHeat MetadataHeat EngineDBOpenStackStackVM VM VMRPC
  • 10. Heat command lineheat <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 repositoryHeat-jeos tool builds virtual machine images to use withHeat.git clone git://github.com/heat-api/heat-jeos.gitcd heat-jeossudo python setup.py install.sh
  • 12. Heat-jeos command lineheat-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-metaIMAGE_URLS+=",some_image“ (specific ones)https://github.com/heat-api/prebuilt-jeos-images/downloads./stack.sh
  • 14. Running Heatsource openrc heat serviceheat list<ListStacksResponse><ListStacksResult><StackSummaries/></ListStacksResult></ListStacksResponse>
  • 15. Preparing Nova for running stacksnova keypair-add heat_keyLaunching a stackheat -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 unexpectedinstance[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
  • 20. Q&ADina Belovadbelova@mirantis.com