an approach and case study of cloud instance type
play

An Approach and Case Study of Cloud Instance Type Selection for - PowerPoint PPT Presentation

An Approach and Case Study of Cloud Instance Type Selection for Multi-Tier Web Applications Christian Davatz, Christian Inzinger, Joel Scheuner, Philipp Leitner University of Zurich, Switzerland software evolution & architecture lab


  1. An Approach and Case Study of Cloud Instance Type Selection for Multi-Tier Web Applications Christian Davatz, Christian Inzinger, Joel Scheuner, Philipp Leitner University of Zurich, Switzerland software evolution & architecture lab

  2. Selecting IaaS instance types is hard!

  3. Common Questions What cloud provider should I choose? Should I go for many small or few large instances? General-purpose or *-optimized? Pay for better IOPS or not? …………… ➡ Need for Benchmarking

  4. Existing Benchmarking Work

  5. Existing Benchmarking Work

  6. Existing Benchmarking Work

  7. Basic Approach to Benchmarking Clouds Provider API provision Benchmark start benchmark Instance Manager results destroy Used for instance in: Philipp Leitner and Jürgen Cito. 2016. Patterns in the Chaos — A Study of Performance Variation and Predictability in Public IaaS Clouds . ACM Trans. Internet Technol. 16, 3, Article 15 (April 2016), 23 pages. DOI: http://dx.doi.org/10.1145/2885497 Joel Scheuner, Jürgen Cito, Philipp Leitner, Harald C. Gall (2015). Cloud WorkBench: Benchmarking IaaS Providers Based on Infrastructure-as-Code . In Proceedings of the 24th International Conference on World Wide Web, pp. 239–242, New York, NY, USA.

  8. For Multi-Tier (Application) Benchmarks acquire Provider API Cloud Provider under Test Benchmark start-up Manager request Benchmark results System under Test Driver response provision provision Provisioner

  9. A Concrete Instantiation acquire Provider Scheduler API Vagrant IaaS Provider start-up DRIVER SUT JMeter Slave request CWB Server Test Plan Chef Client response results JMeter CWB Client AcmeAir Master MongoDB JMeter Slave Webapplication Chef Client Chef Client Chef Client Chef Client JMeter Slave Chef Client provision provision provision provision Chef Server

  10. AcmeAir Two-Tier App OSS “Microservice”-Based App: https://github.com/acmeair/acmeair

  11. CBW Code: https://github.com/ sealuzh/cloud- workbench Demo: https:// www.youtube.com/ watch?v=0yGFGvHvobk J. Scheuner, P. Leitner, J. Cito and H.C. Gall: Cloud Work Bench - Infrastructure-as- Code Based Cloud Benchmarking 2014 IEEE 6th International Conference on Cloud Computing Technology and Science, Singapore, 2014, pp. 246-253. doi: 10.1109/ CloudCom.2014.98

  12. CBW J. Scheuner, P. Leitner, J. Cito and H.C. Gall: Cloud Work Bench - Infrastructure-as- Code Based Cloud Benchmarking 2014 IEEE 6th International Conference on Cloud Computing Technology and Science, Singapore, 2014, pp. 246-253. doi: 10.1109/ CloudCom.2014.98

  13. Research Questions RQ1: What sustained performance, measured in throughput of successful requests per second, can we achieve with each configuration? RQ2: Can we observe statistically significantly different performance for each configuration? RQ3: Which configuration is the most cost-effective way to host AcmeAir for the defined workload?

  14. Used Configs

  15. Used Configs

  16. Used Metric “Sustainable Throughput”

  17. Results RQ1 + RQ2

  18. Results RQ3 Metric: Mio. Requests per $

  19. Lessons Learned Importance of Benchmarking Least cost-effective instance type only about 67% of perf / $ of best configuration No clear “cheap” cloud provider Comparable offerings from different providers are similarly cost- effective No easy rules of thumb Compute-optimized instances may be better for our workload, but results vary

  20. Summary acquire Provider Scheduler API Vagrant IaaS Provider start-up DRIVER SUT JMeter Slave request CWB Server Test Plan Chef Client response results JMeter CWB Client AcmeAir Master MongoDB JMeter Slave Webapplication Chef Client Chef Client Chef Client Chef Client JMeter Slave Chef Client provision provision provision provision Chef Server

  21. Summary acquire Provider Scheduler API Vagrant IaaS Provider start-up DRIVER SUT JMeter Slave request CWB Server Test Plan Chef Client response results JMeter CWB Client AcmeAir Master MongoDB JMeter Slave Webapplication Chef Client Chef Client Chef Client Chef Client JMeter Slave Chef Client provision provision provision provision Chef Server

  22. Summary acquire Provider Scheduler API Vagrant IaaS Provider start-up DRIVER SUT JMeter Slave request CWB Server Test Plan Chef Client response results JMeter CWB Client AcmeAir Master MongoDB JMeter Slave Webapplication Chef Client Chef Client Chef Client Chef Client JMeter Slave Chef Client provision provision provision provision Chef Server

  23. I’m Hiring! Talk to me if you are interested in doing a PhD in Gothenburg, Sweden!

Recommend


More recommend