SlideShare a Scribd company logo
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.1
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The OpenStack TM attribution statement should used: The
OpenStack wordmark and the Square O Design, together or part, are trademarks or registered trademarks of OpenStack Foundation in the United States and other countries, and are used with the
OpenStack Foundation’s permission.
Tokyo
OpenStack®
Summit
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.2
About speakers
Matt Young
Product leader with a proven track record for delivering successful products
currently leading HP’s Helion cloud operations product strategy. Primary
focus areas include deep customer research, agile product discovery,
strategic vision definition, sales enablement, product marketing, and holistic
user experience.
I am an open source advocate and a core contributor to the OpenStack
Monasca Project: A highly scalable fault tolerant monitoring system that has
been optimized for OpenStack. https://wiki.openstack.org/wiki/Monasca
Kanagaraj Manickam
Sr. Software Engineer @ HP, Bangalore
Core-reviewer @ Heat, Openstack.
Having 8+ years of experience in HP data-center Server, Storage
management and automation products.
Having 3+ years of experience in Openstack Cloud.
(Trying to bring a new service namos)
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.3© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Heat Auto-Scaling
w/Monasca
Matt Young ( matty@hp.com)
Kanagaraj Manickam (kanagaraj.manickam@hp.com)
October 28th, 2015
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.4© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
“Automate All Things”
Many smart people who enjoy sleeping…
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.5
Agenda
• About Auto Scaling? -5 mins
• Auto-Scaling Cloud Applications Walkthrough -25 mins
• Demo – 10 mins
• Q&A -5 mins
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.6
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The OpenStack TM attribution statement should used: The
OpenStack wordmark and the Square O Design, together or part, are trademarks or registered trademarks of OpenStack Foundation in the United States and other countries, and are used with the
OpenStack Foundation’s permission.
About Auto-Scaling?
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.7
What is Auto Scaling?
“Auto scaling is a cloud computing feature that allows
users to automatically scale cloud services, like virtual
machines (VM) and server capacities, up or down,
depending on defined situations”. - techopedia
3 Types of Auto Scaling
● Scheduled
● Reactive
● Predictive
“Horizontal Scaling” - Add/remove number of compute
resources
“Vertical Scaling”- Increase/decrease size of compute
resources
Up/Down
Performance
Rules
OrchestrationCompute
Load
Balancing
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.8
Why Auto Scale?
1. Reduce Wasted Capacity
• Decrease costs
• Increase utilization
• “Do more with less”
2. Manage Unexpected Spikes
• Avoid outages
• Maintain SLAs
Time
Capacity
Fixed Capacity
Predicted
Usage
Actual demand
Wasted Capacity
Unexpected
Spike
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.9
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The OpenStack TM attribution statement should used: The
OpenStack wordmark and the Square O Design, together or part, are trademarks or registered trademarks of OpenStack Foundation in the United States and other countries, and are used with the
OpenStack Foundation’s permission.
Auto Scaling Cloud Applications
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.10
Overview
Reactive Horizontal Auto Scale
1. Monasca monitors VM scale group
memory and CPU
2. Combined CPU and Memory
utilization > X
3. Monasca alarm sends webhook
notification to Heat
4. Heat orchestrates nova and
neutron to create new VMs and
rebalance traffic
5. Monitoring continues...
Up/Down
Performance
Rules
OrchestrationCompute
Load Balancing
Monasca
Neutron Heat
HeatNova & ...
What is Monasca?
Analytics
Engine
Seconds
Integrations
Service
Metrics
Platform
Infra
App
Logs
Events
Lifecycl
e
Usage
App
future
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.12
Heat
• Openstack Orchestrator
• Cloud app auto-scaling
• Software deployment and
configuration
• Template (HOT / CFN)
• TOSCA->HOT Translator
• Nested template
• Resource plug-in
• Services under big-tent
• Stack
• Instances of template
• Nested stack
• Events
• OpenStack
• TripleO
• Murano
• Magnum
• Any Cloud application.
HOWWHAT WHO
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.13
Cloud application auto-scaling
• (more details at https://wiki.openstack.org/wiki/Heat-Monasca-Auto-Scaling YTD)
OS::Heat::AutoScalingGroup
 Properties
 resource (scaling element)
 desired_capacity (initial count)
 max_size
 min_szie
 Outputs
 current_size
 outputs/output_list
• Scale Group
• Scaling policy
• Alarm Notification
• Alarm definition
• Metadata-Dimension
OS::Heat::AutoScalingGroupOS::Heat::ScalingPolicy
 Properties
 auto_scaling_group_id
 cooldown (timing-window for scaling)
 adjustement_type
 Scaling_adjustment (+/- 1, n, x%)
 Outputs
 alarm_url ( CFN signal type)
 signal_url (HOT signal type)
OS::Heat::ScalingPolicy
OS::Monasca::Notification
 Properties
 type (webhook, email)
 address
signal / alarm url
OS::Monasca::Notification
signal / alarm url
OS::Monasca::AlarmDefinition
 Properties
 name
 expression
 match_by=scale_group
 alarm_actions
OS::Monasca::AlarmDefinition
OS::Heat::AutoScalingGroup
resource:
type: OS::Nova::Server
properties:
metadata: {"scale_group": <stack-id>}
OS::Monasca::AlarmDefinition
expression: avg(vm.cpu.utilization_perc{scale_group=<stack-id>}) > 90
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.14
Heat
Monasca
VMVMVM
heat_template_version: 2015-10-15
resources:
group:
type: OS::Heat::AutoScalingGroup
scaleup_policy:
type: OS::Heat::ScalingPolicy
notification:
type: OS::Monasca::Notification
cpu_alarm_high:
type: OS::Monasca::AlarmDefinition
1
3
4
5
6
2 7
1. Call Heat with a cloud application HOT template
2. Heat creates cloud application stack with scale group and
scale policy
3. Heat creates alarm definitions and scaling notifications in
Monasca
4. Monasca start to monitor the scale group elements
[[CLOUD APPLICATION AUTO-SCALING SETUP IS DONE]]
5. When Scale group reaches the alarm threshold
monasca detects and generates alarm
6. Monasca signals cloud application stack in heat
7. Heat either scale up or scale down based on the signal (here,
increment scale group elements by 1)
5-7 runs for ever ! (auto-scale)
5
Auto-scaling (work-flow)
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.15
Cloud application load-balancing
LBaaS
Auto-scale resource YAML
OS::Neutron::Monitor
OS::Neutron::Pool
OS::Neutron::LoadBalancer
OS::Nova::Server
OS::Neutron::PoolMember
OS::Heat::AutoScalingGroup
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.16
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The OpenStack TM attribution statement should used: The
OpenStack wordmark and the Square O Design, together or part, are trademarks or registered trademarks of OpenStack Foundation in the United States and other countries, and are used with the
OpenStack Foundation’s permission.
Demo
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.17
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The OpenStack TM attribution statement should used: The
OpenStack wordmark and the Square O Design, together or part, are trademarks or registered trademarks of OpenStack Foundation in the United States and other countries, and are used with the
OpenStack Foundation’s permission.
Q&A
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.18
Rakesh Sripad
DavidOzwin Om Roland Satya
Anant SirusthiIshant
Acknowledgements
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.19
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The OpenStack TM attribution statement should used: The
OpenStack wordmark and the Square O Design, together or part, are trademarks or registered trademarks of OpenStack Foundation in the United States and other countries, and are used with the
OpenStack Foundation’s permission.
Thank you

More Related Content

PPTX
Openstack heat & How Autoscaling works
PPTX
Hot tutorials
PPTX
Cooking with OpenStack Heat
PPTX
Template Languages for OpenStack - Heat and TOSCA
PDF
Best Practice for Deploying Application with Heat
PPTX
OpenStack Orchestration (Heat)
PDF
OpenStack Heat slides
PDF
OpenStack Ceilometer
Openstack heat & How Autoscaling works
Hot tutorials
Cooking with OpenStack Heat
Template Languages for OpenStack - Heat and TOSCA
Best Practice for Deploying Application with Heat
OpenStack Orchestration (Heat)
OpenStack Heat slides
OpenStack Ceilometer

What's hot (20)

PPTX
Openstack Heat
PDF
Introduction openstack horizon
PDF
Heat up your stack
PDF
Autoscaler architecture of apache stratos 4.0.0
PDF
Load Balancer Component Architecture - Apache Stratos 4.0.0
PDF
Apache Stratos (incubating) Hangout IV - Stratos Controller and CLI Internals
PPSX
Extending Openstack Horizon for multi cloud management
PDF
NigthClazz Spark - Machine Learning / Introduction à Spark et Zeppelin
PDF
Spark Summit EU talk by Bas Geerdink
PDF
CEP Integration for Apache Stratos 4.0.0
PDF
Spark Summit EU talk by Kent Buenaventura and Willaim Lau
PDF
Spark Summit EU talk by Rolf Jagerman
PPTX
Espresso advanced
PDF
Apache stratos hangout 3
PPTX
Automating Application over OpenStack using Workflows
PDF
The Role of Elastic Load Balancer - Apache Stratos
PPTX
Replication - Nick Carboni - ManageIQ Design Summit 2016
PDF
Degrading Performance? You Might be Suffering From the Small Files Syndrome
PPT
Apache Apex & Apace Geode In-Memory Computation, Storage & Analysis
PDF
Extending Spark With Java Agent (handout)
Openstack Heat
Introduction openstack horizon
Heat up your stack
Autoscaler architecture of apache stratos 4.0.0
Load Balancer Component Architecture - Apache Stratos 4.0.0
Apache Stratos (incubating) Hangout IV - Stratos Controller and CLI Internals
Extending Openstack Horizon for multi cloud management
NigthClazz Spark - Machine Learning / Introduction à Spark et Zeppelin
Spark Summit EU talk by Bas Geerdink
CEP Integration for Apache Stratos 4.0.0
Spark Summit EU talk by Kent Buenaventura and Willaim Lau
Spark Summit EU talk by Rolf Jagerman
Espresso advanced
Apache stratos hangout 3
Automating Application over OpenStack using Workflows
The Role of Elastic Load Balancer - Apache Stratos
Replication - Nick Carboni - ManageIQ Design Summit 2016
Degrading Performance? You Might be Suffering From the Small Files Syndrome
Apache Apex & Apace Geode In-Memory Computation, Storage & Analysis
Extending Spark With Java Agent (handout)
Ad

Viewers also liked (7)

PDF
[OpenStack Days Korea 2016] Track2 - 가상화 네트워크와 클라우드간 협업
PPTX
Namos openstack-manager
PPTX
OpenStack and nfvo
PPTX
Introduction to open stack
PDF
Ceilometer + Heat = Alarming
PDF
[OpenStack Days Korea 2016] Track1 - Monasca를 이용한 Cloud 모니터링
PDF
[OpenStack Days Korea 2016] Track1 - Mellanox CloudX - Acceleration for Cloud...
[OpenStack Days Korea 2016] Track2 - 가상화 네트워크와 클라우드간 협업
Namos openstack-manager
OpenStack and nfvo
Introduction to open stack
Ceilometer + Heat = Alarming
[OpenStack Days Korea 2016] Track1 - Monasca를 이용한 Cloud 모니터링
[OpenStack Days Korea 2016] Track1 - Mellanox CloudX - Acceleration for Cloud...
Ad

Similar to Heat monasca auto scale (20)

PDF
Meetup openstack-sfbay-2015
PDF
HP Helion Webinar #4 - Open stack the magic pill
PDF
Helion meetup-2014
PPTX
Why OpenStack matters and how you can get involved
PPTX
OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStac...
PDF
Triple o overview
PDF
Making Openstack Really Easy - Why Build Open Source When You Can Buy? Danny ...
PDF
OpenStack in 10 minutes with Devstack
PPTX
Hp openstack keynote 2013 04-17 v11-final
PDF
Openstack In Action 1st Edition V K Cody Bumgardner
PDF
OpenStack on OpenStack
PDF
Robert collins openstack on openstack 201304162
PDF
Openstack - Enterprise cloud management platform
PPTX
HP Helion OpenStack and Professional Services
PDF
Sven Vogel: Running CloudStack and OpenShift with NetApp on KVM
PDF
Forecast 2014: Why Open Platforms Matter to Enterprises and Developers
PPTX
An overview of OpenStack for the VMware community
PDF
VMworld 2013: Deploying vSphere with OpenStack: What It Means to Your Cloud E...
PPTX
OpenStack Heat
PDF
VietOpenStack meetup 7th Auto-scaling
Meetup openstack-sfbay-2015
HP Helion Webinar #4 - Open stack the magic pill
Helion meetup-2014
Why OpenStack matters and how you can get involved
OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStac...
Triple o overview
Making Openstack Really Easy - Why Build Open Source When You Can Buy? Danny ...
OpenStack in 10 minutes with Devstack
Hp openstack keynote 2013 04-17 v11-final
Openstack In Action 1st Edition V K Cody Bumgardner
OpenStack on OpenStack
Robert collins openstack on openstack 201304162
Openstack - Enterprise cloud management platform
HP Helion OpenStack and Professional Services
Sven Vogel: Running CloudStack and OpenShift with NetApp on KVM
Forecast 2014: Why Open Platforms Matter to Enterprises and Developers
An overview of OpenStack for the VMware community
VMworld 2013: Deploying vSphere with OpenStack: What It Means to Your Cloud E...
OpenStack Heat
VietOpenStack meetup 7th Auto-scaling

Recently uploaded (20)

PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Encapsulation theory and applications.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Empathic Computing: Creating Shared Understanding
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
MYSQL Presentation for SQL database connectivity
PDF
NewMind AI Monthly Chronicles - July 2025
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Encapsulation theory and applications.pdf
The AUB Centre for AI in Media Proposal.docx
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Empathic Computing: Creating Shared Understanding
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Network Security Unit 5.pdf for BCA BBA.
Agricultural_Statistics_at_a_Glance_2022_0.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Spectral efficient network and resource selection model in 5G networks
Diabetes mellitus diagnosis method based random forest with bat algorithm
Digital-Transformation-Roadmap-for-Companies.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
MYSQL Presentation for SQL database connectivity
NewMind AI Monthly Chronicles - July 2025

Heat monasca auto scale

  • 1. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.1 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The OpenStack TM attribution statement should used: The OpenStack wordmark and the Square O Design, together or part, are trademarks or registered trademarks of OpenStack Foundation in the United States and other countries, and are used with the OpenStack Foundation’s permission. Tokyo OpenStack® Summit
  • 2. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.2 About speakers Matt Young Product leader with a proven track record for delivering successful products currently leading HP’s Helion cloud operations product strategy. Primary focus areas include deep customer research, agile product discovery, strategic vision definition, sales enablement, product marketing, and holistic user experience. I am an open source advocate and a core contributor to the OpenStack Monasca Project: A highly scalable fault tolerant monitoring system that has been optimized for OpenStack. https://wiki.openstack.org/wiki/Monasca Kanagaraj Manickam Sr. Software Engineer @ HP, Bangalore Core-reviewer @ Heat, Openstack. Having 8+ years of experience in HP data-center Server, Storage management and automation products. Having 3+ years of experience in Openstack Cloud. (Trying to bring a new service namos)
  • 3. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.3© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Heat Auto-Scaling w/Monasca Matt Young ( matty@hp.com) Kanagaraj Manickam (kanagaraj.manickam@hp.com) October 28th, 2015
  • 4. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.4© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. “Automate All Things” Many smart people who enjoy sleeping…
  • 5. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.5 Agenda • About Auto Scaling? -5 mins • Auto-Scaling Cloud Applications Walkthrough -25 mins • Demo – 10 mins • Q&A -5 mins
  • 6. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.6 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The OpenStack TM attribution statement should used: The OpenStack wordmark and the Square O Design, together or part, are trademarks or registered trademarks of OpenStack Foundation in the United States and other countries, and are used with the OpenStack Foundation’s permission. About Auto-Scaling?
  • 7. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.7 What is Auto Scaling? “Auto scaling is a cloud computing feature that allows users to automatically scale cloud services, like virtual machines (VM) and server capacities, up or down, depending on defined situations”. - techopedia 3 Types of Auto Scaling ● Scheduled ● Reactive ● Predictive “Horizontal Scaling” - Add/remove number of compute resources “Vertical Scaling”- Increase/decrease size of compute resources Up/Down Performance Rules OrchestrationCompute Load Balancing
  • 8. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.8 Why Auto Scale? 1. Reduce Wasted Capacity • Decrease costs • Increase utilization • “Do more with less” 2. Manage Unexpected Spikes • Avoid outages • Maintain SLAs Time Capacity Fixed Capacity Predicted Usage Actual demand Wasted Capacity Unexpected Spike
  • 9. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.9 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The OpenStack TM attribution statement should used: The OpenStack wordmark and the Square O Design, together or part, are trademarks or registered trademarks of OpenStack Foundation in the United States and other countries, and are used with the OpenStack Foundation’s permission. Auto Scaling Cloud Applications
  • 10. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.10 Overview Reactive Horizontal Auto Scale 1. Monasca monitors VM scale group memory and CPU 2. Combined CPU and Memory utilization > X 3. Monasca alarm sends webhook notification to Heat 4. Heat orchestrates nova and neutron to create new VMs and rebalance traffic 5. Monitoring continues... Up/Down Performance Rules OrchestrationCompute Load Balancing Monasca Neutron Heat HeatNova & ...
  • 12. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.12 Heat • Openstack Orchestrator • Cloud app auto-scaling • Software deployment and configuration • Template (HOT / CFN) • TOSCA->HOT Translator • Nested template • Resource plug-in • Services under big-tent • Stack • Instances of template • Nested stack • Events • OpenStack • TripleO • Murano • Magnum • Any Cloud application. HOWWHAT WHO
  • 13. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.13 Cloud application auto-scaling • (more details at https://wiki.openstack.org/wiki/Heat-Monasca-Auto-Scaling YTD) OS::Heat::AutoScalingGroup  Properties  resource (scaling element)  desired_capacity (initial count)  max_size  min_szie  Outputs  current_size  outputs/output_list • Scale Group • Scaling policy • Alarm Notification • Alarm definition • Metadata-Dimension OS::Heat::AutoScalingGroupOS::Heat::ScalingPolicy  Properties  auto_scaling_group_id  cooldown (timing-window for scaling)  adjustement_type  Scaling_adjustment (+/- 1, n, x%)  Outputs  alarm_url ( CFN signal type)  signal_url (HOT signal type) OS::Heat::ScalingPolicy OS::Monasca::Notification  Properties  type (webhook, email)  address signal / alarm url OS::Monasca::Notification signal / alarm url OS::Monasca::AlarmDefinition  Properties  name  expression  match_by=scale_group  alarm_actions OS::Monasca::AlarmDefinition OS::Heat::AutoScalingGroup resource: type: OS::Nova::Server properties: metadata: {"scale_group": <stack-id>} OS::Monasca::AlarmDefinition expression: avg(vm.cpu.utilization_perc{scale_group=<stack-id>}) > 90
  • 14. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.14 Heat Monasca VMVMVM heat_template_version: 2015-10-15 resources: group: type: OS::Heat::AutoScalingGroup scaleup_policy: type: OS::Heat::ScalingPolicy notification: type: OS::Monasca::Notification cpu_alarm_high: type: OS::Monasca::AlarmDefinition 1 3 4 5 6 2 7 1. Call Heat with a cloud application HOT template 2. Heat creates cloud application stack with scale group and scale policy 3. Heat creates alarm definitions and scaling notifications in Monasca 4. Monasca start to monitor the scale group elements [[CLOUD APPLICATION AUTO-SCALING SETUP IS DONE]] 5. When Scale group reaches the alarm threshold monasca detects and generates alarm 6. Monasca signals cloud application stack in heat 7. Heat either scale up or scale down based on the signal (here, increment scale group elements by 1) 5-7 runs for ever ! (auto-scale) 5 Auto-scaling (work-flow)
  • 15. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.15 Cloud application load-balancing LBaaS Auto-scale resource YAML OS::Neutron::Monitor OS::Neutron::Pool OS::Neutron::LoadBalancer OS::Nova::Server OS::Neutron::PoolMember OS::Heat::AutoScalingGroup
  • 16. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.16 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The OpenStack TM attribution statement should used: The OpenStack wordmark and the Square O Design, together or part, are trademarks or registered trademarks of OpenStack Foundation in the United States and other countries, and are used with the OpenStack Foundation’s permission. Demo
  • 17. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.17 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The OpenStack TM attribution statement should used: The OpenStack wordmark and the Square O Design, together or part, are trademarks or registered trademarks of OpenStack Foundation in the United States and other countries, and are used with the OpenStack Foundation’s permission. Q&A
  • 18. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.18 Rakesh Sripad DavidOzwin Om Roland Satya Anant SirusthiIshant Acknowledgements
  • 19. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.19 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The OpenStack TM attribution statement should used: The OpenStack wordmark and the Square O Design, together or part, are trademarks or registered trademarks of OpenStack Foundation in the United States and other countries, and are used with the OpenStack Foundation’s permission. Thank you