Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Una web farm bilanciata e scalabile con Microsoft Azure

457 views

Published on

Uno dei principali vantaggi che la piattaforma di Azure offre è la possibilità di scalare rapidamente le applicazioni in the cloud, in risposta alle fluttuazioni di carico.
Normalmente si scalano website o cloud services, ma se invece abbiamo le nostre applicazioni hostate su una Virtual Machine e le vogliamo scalare orizzontalmente? Anche questo è possibile.
Vedremo come realizzare una WebFarm bilanciata che scala in base alle reali necessità di carico usando gli strumenti che Azure mette a disposizione, sia su IaaS che su PaaS.

Published in: Technology
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m77EgH } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m77EgH } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full EPUB Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full doc Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download PDF EBOOK here { https://urlzs.com/UABbn } ......................................................................................................................... Download EPUB Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download doc Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full EPUB Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full doc Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download PDF EBOOK here { https://urlzs.com/UABbn } ......................................................................................................................... Download EPUB Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download doc Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • If you want to download or read this book, copy link or url below in the New tab ......................................................................................................................... DOWNLOAD FULL PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M } .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • (Unlimited)....ACCESS WEBSITE Over for All Ebooks ................ accessibility Books Library allowing access to top content, including thousands of title from favorite author, plus the ability to read or download a huge selection of books for your pc or smartphone within minutes ......................................................................................................................... DOWNLOAD FULL PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M }
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Una web farm bilanciata e scalabile con Microsoft Azure

  1. 1. Una Web Farm bilanciata e scalabile con Microsoft Azure Davide Benvegnù @davidebenvegnu
  2. 2. Chi sono DAVIDE BENVEGNU’ International Development Manager – Aruba Freelancer – DBTek.it Speaker a eventi nazionali (Community Days, Dev Camp, SMAU…) Trainer (a breve 2 corsi su Microsoft Virtual Academy) Main Fields: Azure e VSALM (Team Foundation Server e Visual Studio Online) Altro Una Web Farm bilanciata e scalabile con Microsoft Azure 06 novembre 2014
  3. 3. Agenda Web Farm Concetti chiave Perché «Bilanciata e Scalabile»? Ieri: Web Farm on-premises Oggi: Web Farm su Cloud IaaS con le Virtual Machine Domani: Web Farm su PaaS? Una Web Farm bilanciata e scalabile con Microsoft Azure 06 novembre 2014
  4. 4. Web Farm Una Web Farm bilanciata e scalabile con Microsoft Azure 06 novembre 2014
  5. 5. Web Farm: Concetti chiave • Insieme di Server che forniscono un servizio Web • Web sites, Web app, API, web services & more • Panorama web eterogeneo • Tecnologie • Framework • Linguaggi • Deve essere scalabile • Deve essere bilanciata (dovrebbe…) Una Web Farm bilanciata e scalabile con Microsoft Azure 06 novembre 2014
  6. 6. Web Farm: Scalabile • Horizontal scale • Quantità • Up scale: incrementare il numero delle istanze • Down scale: decrementare il numero delle istanze • Vertical scale • Qualità • Up scale: incrementare le dimensioni dell’istanza • Down scale: decrementare le dimensioni dell’istanza Una Web Farm bilanciata e scalabile con Microsoft Azure 06 novembre 2014
  7. 7. Web Farm: Bilanciata • Load Balancing • Distribuzione delle richieste • Mantenimento delle performance • Riduzione dei rischi di DoS • HA • Disponibilità del servizio • Definizione di SLA • Failover e Fault-tolerance Una Web Farm bilanciata e scalabile con Microsoft Azure 06 novembre 2014
  8. 8. Ieri: Web Farm on-premises Una Web Farm bilanciata e scalabile con Microsoft Azure 06 novembre 2014
  9. 9. Scenario tipico • Tanti Server Web • Separazione tra DMZ e MZ • Apparati di rete (Switch, Router) • Bilanciatori • Devo preoccuparmi di tutto: • Connettività adeguata • Raffreddamento adeguato • Sicurezza • Manutenzione Una Web Farm bilanciata e scalabile con Microsoft Azure 06 novembre 2014
  10. 10. Scalabilità e Bilanciamento on premises • Aggiungo server (Up scale) • + Costi • + Spazio • Aggiungo componenti (Up scale) • + Costi • Le possibilità dipendono da server e form factor • Tolgo server / Tolgo componenti (Down scale) • Ma i Costi? Ho comprato, me lo tengo • E per connettività, raffreddamento, infrastruttura… ? Una Web Farm bilanciata e scalabile con Microsoft Azure 06 novembre 2014
  11. 11. Oggi: Web Farm su IaaS Una Web Farm bilanciata e scalabile con Microsoft Azure 06 novembre 2014
  12. 12. I vantaggi del Cloud • Scalabilità virtualmente infinita • Provisioning e deprovisioning delle risorse in minuti • Pago solo quello che utilizzo (Pay-per-use) • SLA normalmente più alti che on-premises • Non mi devo preoccupare di : • Connettività e apparati di rete • Raffreddamento e gestione Data Center • Sicurezza del Datacenter • Infrastruttura • Manutenzione • … Una Web Farm bilanciata e scalabile con Microsoft Azure 06 novembre 2014
  13. 13. Perché Azure? • Rete globale di 17+ Datacenter • 8 USA, 4 Asia, 2 Europa, 2 Oceania, 1 Sud America • Oltre alle VM, tanti servizi a supporto della Web Farm • CDN, Traffic Manager, Storage, Database, VPN… • Hybrid Cloud • Oltre il 53% delle società Fortune 500 • SLA globale 99,95% Una Web Farm bilanciata e scalabile con Microsoft Azure 06 novembre 2014
  14. 14. IaaS • Infrastruttura come servizio • Server  Virtual Machine • Windows e Linux • Tutto gestito, tranne sistema operativo e software installato • Scalabilità orizzontale • Manuale • Automatica (in base al carico) • Schedulata • Scalabilità verticale Una Web Farm bilanciata e scalabile con Microsoft Azure 06 novembre 2014
  15. 15. Web Farm scalabile e bilanciata su Azure IaaS • Auto Up scale all’aumento del carico • Auto Down scale alla diminuzione del carico Una Web Farm bilanciata e scalabile con Microsoft Azure 06 novembre 2014
  16. 16. E per l’HA e la disponibilità? 2 scenari: 1. Tutte le istanze attive • Al fallimento, disattiva la route • Bilanciamento attivo sulle altre • Al recovery, riattiva la route 2. Non tutte le istanze attive • Al fallimento, disattiva la route • Attiva un’istanza «in stand-by» • Al recovery… Una Web Farm bilanciata e scalabile con Microsoft Azure 06 novembre 2014
  17. 17. Come si crea: best practices 1. Creare una VM ed assegnarla ad un «Availability Set» 2. Configurare la VM con tutto quello che serve 3. Sysprep e «cattura» del disco master 4. Creare tutte le VM necessarie usando il disco master 5. Su una delle VM settare tutti gli endpoint (porte 80, 443, …) ed impostarli come «Load-balanced set» 6. Aggiungere gli endpoint alle altre VM associandoli ai set bilanciati 7. Configurare l’autoscale (criteri ed istanze minime) Una Web Farm bilanciata e scalabile con Microsoft Azure 06 novembre 2014
  18. 18. Domani: Web Farm su PaaS? Una Web Farm bilanciata e scalabile con Microsoft Azure 06 novembre 2014
  19. 19. PaaS • Intero stack completamente gestito • Non mi devo preoccupare di nulla se non del mio layer applicativo Una Web Farm bilanciata e scalabile con Microsoft Azure 06 novembre 2014
  20. 20. Azure PaaS: Web sites • Multi linguaggio: .NET, Java, PHP, Node.js, Python, … • Autoscale e Load balancing • High availability e auto patching • Continuos deployment con Ftp, Git, TFS, Visual Studio Online, GitHub, TeamCity, … • Ambienti di test multipli e privati • Switch Staging – Produzione senza downtime • Istanze Free, Shared e Dedicate Una Web Farm bilanciata e scalabile con Microsoft Azure 06 novembre 2014
  21. 21. Azure PaaS: Web sites Shared 1 shared SHARED INSTANCES • Web App ospitata su istanze condivise con altri utenti Una Web Farm bilanciata e scalabile con Microsoft Azure 06 novembre 2014
  22. 22. Azure PaaS: Web sites Shared 2 shared SHARED INSTANCES • Web App ospitata su istanze condivise con altri utenti • Up Scale (manuale): deploy della Web App all’interno della stessa infrastruttura Una Web Farm bilanciata e scalabile con Microsoft Azure 06 novembre 2014
  23. 23. Azure PaaS: Web sites Reserved reserved 0 • Web App ospitata su istanza dedicata • Web App ospitata su istanze SHARED INSTANCES 1 RESERVED INSTANCE condivise con altri utenti • Up Scale (manuale): deploy della Web App all’interno della stessa infrastruttura Una Web Farm bilanciata e scalabile con Microsoft Azure 06 novembre 2014
  24. 24. Azure PaaS: Web sites Reserved 2 RESERVED INSTANCE reserved • Web App ospitata su istanza dedicata • Auto scale in base a carico o schedule Una Web Farm bilanciata e scalabile con Microsoft Azure 06 novembre 2014
  25. 25. Azure PaaS: Web sites Reserved 2 RESERVED INSTANCE RESERVED INSTANCE reserved • Web App ospitata su istanza dedicata • Auto scale in base a carico o schedule • Più di una Web App per istanza • Di fatto, come con le VM ma fully managed Una Web Farm bilanciata e scalabile con Microsoft Azure 06 novembre 2014
  26. 26. Azure PaaS: Web sites - Altro • Protezione • HTTP con certificati SSL • IP e SNI based SSL (con wildcard) • WebJobs • Backup automatici • Incluso Data-tier • Strumenti di monitoraggio avanzati • Integrazione con Application Insights Una Web Farm bilanciata e scalabile con Microsoft Azure 06 novembre 2014
  27. 27. DEMO Una Web Farm bilanciata e scalabile con Microsoft Azure 06 novembre 2014

×