360 likes | 450 Views
Who are we?. Bart Vande Ghinste Enterprise Architect @ Microsoft Tom Crombez Web Channel Audience Manager @ Microsoft Wim De Coninck Orbit One, Development Team Lead wimdc@orbitone.com http://twitter.com/wimdc Olivier Mangelschots Orbit One, Managing Director
E N D
Who are we? • Bart Vande Ghinste • Enterprise Architect @ Microsoft • Tom Crombez • Web Channel Audience Manager @ Microsoft • Wim De Coninck • Orbit One, Development Team Lead • wimdc@orbitone.com • http://twitter.com/wimdc • Olivier Mangelschots • Orbit One, Managing Director • olivier@orbitone.com, Twitter @omangels Azure + Umbraco 5 workshop
Agenda • 9:30 – 9:45 Intro • 9:45 – 11:15Azure Overview (Bart VandeGhinste) • Break • 11:30– 12:30 Umbraco CMS and Azure (Olivier Mangelschots) • Lunch • 13:30 – 13:45 Azure Development Program (Tom Crombez) • 13:45 – 16:30 Hands-on workshop (Wim De Coninck) We are a small group, let’s make it interactive! Azure + Umbraco 5 workshop
Free workshop • Sponsored by Microsoft Azure • In collaboration with Belgian Umbraco User Group (BUUG.be) • Hosted by Orbit One • Downloadfrom www.buug.be • Slides • Binaries/source code • Documentation Azure + Umbraco 5 workshop
About Orbit One 18passionateprofessionals 16 yearsclients since 1995 Mission Optimize collaboration & productivity Belgium Ghent
Our Solutions Web & Social Visibility Smart Customer & Contact Interaction Connect People with Knowledge New World of Work SharePoint portalsdocuments, information & social Work where, when and how you like it. Dynamics xRM Attract, persuade, capture and followupyour leads Cloud Enabling & Infrastructure Strategisch voordeel mits de juiste aanpak
Who are you?Roundtable • Gert De Ceuster (Solutions@work) • Bruno Bodson (KAHO Sint-Lieven) • Dimitri Tronquo (Self-employed) • Tom Janssens, (De Webfabriek) • Pieter-Jan Maenhaut (Hogeschool Gent) • Vincent Smeets (VOX TENEO) • Dirk De Vos (OrbitOne.com) • Dave Van de Maele (OrbitOne.com) • Thomas Stock (OrbitOne.com) • Algeron Waterschoot (OrbitOne.com) • Wouter Devinck (Universiteit Gent) • Damiaan Peeters (Comm-IT) • Anthony Dang (Mid-code Crisis) • Lennart Stoop (These Days) • AnthonyCandaele (webmove.be) Azure + Umbraco 5 workshop
Umbraco Training and Examshttp://umbraco.com/products/training • Here in Ghent at OneOffice • Upgrade fromUmbraco 4 to 5: • When: 17th April 2012 • Target audience: Level 2 certifieddevelopers • Level 1: • When: 8 – 9th April 2012 • Target audience: Designers/Web developers • Level 2: • When: 10 – 11th May 2012 • Target audience: .NET Developers Azure + Umbraco 5 workshop
Is your laptop prepped? • This afternoon, you need: • Visual Studio 2010 • Windows Azure SDK + Tools for Visual Studio (November 2011) version 1.6 • SQL Server 2008 Express R2 • RegisteredAzure Account • Links on http://www.buug.be/en/events Azure + Umbraco 5 workshop
Technical dive into AzureBart Vande Ghinste Azure + Umbraco 5 workshop
Feel at home – help yourself!Coffee, tea, Coca-Cola, Fanta, Juice, Ice tea, ... Session continues at 11:30 Short break Azure + Umbraco 5 workshop
Umbraco in Azure Azure + Umbraco 5 workshop
CMS in Azure, why? • Paul Sterling paul@umbraco.com (Technical Lead) • Azure solving the future issues of • highly-scaled • widely distributed • very dynamic WCMS solutions • NOT a replacement for traditional hosting, but a new option Azure + Umbraco 5 workshop
How much does it cost? • Simulation (approximate cost) • Small Instance • 1GB Azure SQL • 25GB Blob storage (1.000.000 read/write transactions/day) • 50GB download traffic • One webinstance: €78,36/month • Two instances: €142,19/month • Two instances + one staging: €206,02/month • Conclusion • Hosting Umbraco websites on Azure = starting at €940/year • Use Azure Pricing calculator! • https://www.windowsazure.com/nl-nl/pricing/calculator/advanced/ • Differencesbetweeninstances • http://www.microsoft.com/windowsazure/compute Azure + Umbraco 5 workshop
Umbraco CMS in Azure: Challenges • What did we learn this morning? • What are the challengesto host a CMS in Azure? • Group talk Azure + Umbraco 5 workshop
Collaboration with Umbraco • Thanks to Morten Christensen! • Works for Umbraco • Function = Azure Hero • Wim worked with him to • Debug and finalize the “hive provider” allowing Umbracoto store files natively in Azure Blobs • Make this session possible Azure + Umbraco 5 workshop
Concept: Network load balancing (NLB) • Load balancer (NLB) • Round robin • Sticky sessions Azure + Umbraco 5 workshop
Where does Umbraco store info? • SQL database: • Page templates (no binaries, only references in DB) • Page content (meta-data, texts, navigation nodes) • Users & members, permissions • Logs (errors, actions in admin) • File storage: • Page templates: Razor Templates • Scripts/styles: CSS, JS, ... + design elements used in templates • User controls:DLLs + Umbraco binaries • Media: GIF, JPG, PDF, Videos, ... • Config: web.config + /App_Data/configxml files Azure + Umbraco 5 workshop
Caching in Umbraco 4.x • XML file (/app_data/umbraco.config) • Stored on local file system • Contains all published nodes • Purpose • Fast app warm-up time (<1 sec) • Less SQL queries – SQL is not used public site • Automatically updated • Every time you publish using Umbracobackend • XML dump of in-memory cache • http://forum.umbraco.org/yaf_postst4161_Umbraco-caching-explained.aspx Azure + Umbraco 5 workshop
Caching in Umbraco5 • Caching not yet fully implemented • In memory • Micro caching: small parts of pages and templates • Query caching:with Nhibernate • Future: AppFabric Caching? • Ifanyone in the community feelslikegiving a stab at the AppFabricCaching, feel free. The guys at Umbracowillbe more then happy to help get it outwith code reviews andsuch. Azure + Umbraco 5 workshop
Challenges • Multiple instances of the web-role • Round-robin load-balancing • Storage • No local storage (unsafe) • No “shared drive” over multiple machines • CDN – Content Delivery Network • Only possible when files are stored on Azure Blobs • Custom code • Needstoworkwithin the boundries of Azure Azure + Umbraco 5 workshop
Umbraco v4.x in Azure, compare solutions Azure + Umbraco 5 workshop
Umbraco 4.x vs 5 in Azure Azure + Umbraco 5 workshop
Umbraco 4: CodePlex Acceleratorhttp://waacceleratorumbraco.codeplex.com Azure + Umbraco 5 workshop
Umbraco 4: CodePlex Accelerator by Microsofthttp://waacceleratorumbraco.codeplex.com • How does the Accelerator work? • Creates 1 or more web-role instances (VMs) • deploys a sync IIS process on these machines • Deploy tool uploadscomplete Umbraco installation to Blob Storage • Includes all the files: images, css, aspx, web.config, … • Created SQL Azure database for session stage • Auto configuration of web.config • Scripts keeps local file system in sync with the blob storage • Every second • Bi-directional • Uuser adds file trough Umbraco cms, is stored on local filesystem of the current web-role • One second later, file is pushed to Azure Blob Storage • One second later, file is pulled to the other web-roles Azure + Umbraco 5 workshop
How to update files of your site? • CloudBerry Explorer for Azure Blob Storage (Free!) • FTP like access toAzureBlob • http://cloudberrylab.com • Alternative free tool: • ClumsyLeafCloudXplorer • http://clumsyleaf.com/products/cloudxplorer • Warning: Does notcreate empty folders Azure + Umbraco 5 workshop
CloudBerry Explorer Azure + Umbraco 5 workshop
There are sandwiches Workshop starts at 13:30 Lunch Azure + Umbraco 5 workshop
Support by phone and mail • Pro-active info • Trainings & workshops • NDA sessions • RFP Help • Getting ready for Circle • Love & affection
To check • Azure lunches • Azure learning paths • Top content by Scott Guthrie
Hands-on Azure + Umbraco 5 workshop
Nowit’syour turn! • Umbraco 5 – installation • Setup IIS • MigratetoAzure • Database • Files • Application • Follow the step-by-step guide • We are hereto help! Azure + Umbraco 5 workshop