OpenStack Orchestration with Heat s Tom a Sedovi c Software - - PowerPoint PPT Presentation

openstack orchestration with heat
SMART_READER_LITE
LIVE PREVIEW

OpenStack Orchestration with Heat s Tom a Sedovi c Software - - PowerPoint PPT Presentation

OpenStack Orchestration with Heat s Tom a Sedovi c Software engineer at Red Hat , Czech Republic tsedovic@redhat.com Outline Heat Template Overview The Demo Q&A Heat What is Heat? API + UI for orchestration on


slide-1
SLIDE 1

OpenStack Orchestration with Heat

Tom´ aˇ s ˇ Sedoviˇ c Software engineer at Red Hat, Czech Republic tsedovic@redhat.com

slide-2
SLIDE 2

Outline

◮ Heat ◮ Template Overview ◮ The Demo ◮ Q&A

slide-3
SLIDE 3

Heat

slide-4
SLIDE 4

What is Heat?

API + UI for orchestration on OpenStack. Describe you cloud deployment in a declarative language. Heat will process and build it and keep it up.

slide-5
SLIDE 5

What can you do with it?

◮ Launch & provision instances with inter dependencies &

parameters

◮ Attach block (cinder) or object (swift) storage ◮ Floating IPs ◮ Load balancing ◮ Autoscaling ◮ High availability (restart services, instances, the whole stack) ◮ Networking (quantum)

slide-6
SLIDE 6

AWS CloudFormation

http://aws.amazon.com/cloudformation/

◮ Inspiration for Heat ◮ Our original API and template formats are compatible ◮ Heat can be controlled via boto

slide-7
SLIDE 7

Relation with OpenStack

◮ Along with ceilometer the first external project accepted into

incubation

◮ Using the same infrastructure (github, gerrit, launchpad,

mailing lists, meetings)

◮ Follow the same coding style, architecture, packaging, etc.

slide-8
SLIDE 8

Heat Templates

slide-9
SLIDE 9

Structure

HeatTemplateFormatVersion: 2012-12-12 Description: This is an empty Heat template Parameters: ... Resources: ... Outputs: ...

slide-10
SLIDE 10

Resource example

MyApacheServer: Type: AWS::EC2::Instance Properties: ImageId: f17-jeos InstanceType: {Ref: MyFlavor} KeyName: {Ref: MyApacheSSHKey} Metadata: ... UserData: | #!/bin/bash /opt/aws/bin/cfn-init rm -rf / echo Trololo

slide-11
SLIDE 11

Provisioning

List packages, services, files in the Metadata section. Put custom code in the UserData section. cfn-init installs packages, enables services & uploads files.

slide-12
SLIDE 12

CloudWatch

Monitors the instances’ resources, can act on specified conditions:

◮ Start a new instance under high RAM/CPU utilization ◮ Spin down extra instances on low utilization ◮ Restart services/instances/the whole stack when it goes down

slide-13
SLIDE 13

The Demo

slide-14
SLIDE 14

Autoscaling

◮ A wordpress instance behind a load balancer ◮ Spin up a new instance when the RAM load > 50% ◮ Delete it when the load decreases

slide-15
SLIDE 15

The Heat community

◮ about 5 core contributors ◮ about 12 other contributors over time (7 outside of Red Hat)

◮ testing, feature requests, bug reporting; little code

◮ Ceilometer collaboration

slide-16
SLIDE 16

Wrap Up

◮ http://heat-api.org/ ◮ https://github.com/openstack/heat ◮ #heat on freenode (we’re there pretty much 24/7)

slide-17
SLIDE 17
  • 30-