O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.
Sitecore on Azure:
a real life example
Sitecore User Group London
What is “Azure”?
As I see it
What is “Azure”?
As Microsoft shells it
What is “Azure”?
What is “Azure”?
Main Services
What is “Azure”?
Main Services
Cloud Service == Pre-Configured
Farm of servers
What is a Farm / Cloud Service
What is Azure
Internal IP
VIP / Domain
Production
Staging
Update Domain Fault Domain
Intern...
What is “Azure”?
Main features
!=
Fully Automated
What is “Azure”?
API available to me
Introduction to Azure:
Martina´s Blog
http://mhwelander.net/
What is “Azure”?
Module using Azure API
Sitecore Azure
Classic Sitecore Instance
Azure compatibility table
Sitecore Azure
Demo: Sitecore Azure’s UI
Our “Real scenario”
Do we really need this
module?
Sitecore Azure
https://kb.sitecore.net/articles/983166
Our “Real scenario”
Hybrid scenario
• 1 SQL server for BE
• 1 Web server for BE
• 1 SQL Server for FE
• X web servers for FE
Our “Real scenari...
Demo: 2 Servers
Our “Real scenario”
Tricks: Uploading ghost files
• The second request could
be sent to a different
server
• Sitecore wizards with
upload does...
Demo: Scale up to 3 servers
Our “Real scenario”
Does it affect me?
More than you expect!
• As a Developer • As an IT Administrator
Does it affects me?
As a developer…
Deployments:
Yet another “one
click deployment”
Module with Embedded Azure SDK
Sitecore Azure
Classic Sitecore Instance
Demo: Deploy
Our “Real scenario”
Tricks: It´s easy to deploy and
scale
• Don´t forget to delete!!!
• Get used to the emulator
for testing
Yet another “one ...
Deploying to Azure: Behind the scenes
Yet another“one click deployment”
Deploying to Azure: Behind the scenes
Yet another“one click deployment”
Demo: Transformed solution
Our “Real scenario”
Tricks: Quick hotfixes
• Full application must be
deployed
• No more: “I just need to
copy one file”
Yet another “one clic...
• Always clean your Media
cache and temp folder
before upgrade files
(restart)
• Could take more than one
hour to deploy
•...
Get used to the Azure´s approach
• It is easier to replace than
to fix
• Store everything in storage
not local disk
• Expe...
Can I customize it?
Demo: Items
Our “Real scenario”
Deployment item
• Service definition
 Vmsize: https://msdn.microsoft.com/en-
us/library/azure/dn197896.aspx
 Enable remo...
Deployment item
• Custom config patch
 Remove custom settings only for CM
• Deployment type config patch
 Apply scaling ...
Tricks: .config files
• Forget about
xxx.config.qa or
xxx.config.cd
• Specific settings per
environment must be
applied vi...
Can I manage each
VM?
NO
• Remote access
 Can be enabled
• VMs are rebuilt
 Your settings will disappear
Can I manage each VM?
YES
• Service definition
 You can enable plug-ins
• StartUp.cmd
 Commands line and reg files
• Custom webrole.dll
Can I ...
Tricks: Installing i-Filters
• Add the msi to the
azureoverride folder
• Execute it from the
startup.cmd
Can I manage each...
Tricks: Where are my logs
• Table storage
 Enable the option in
Sitecore Log Analyzer
 Azure Explorer
 Azure log viewer...
As an IT
Administrator
Who is the IT guy?!
• What if a VM fails?
• How do we set up a DR?
• Can we restore a
back/Up?
• Files? Data?
• Can we con...
Would I recommend
it?
Today… YES… IF….
• I fusing Sitecore Azure 3
or above
• If you really need a farm
• If you need scalability
• If you are r...
All content and ideas expressed in this presentation are protected by intellectual property rights of ClearPeople Ltd.
Con...
Sitecore on Azure
Sitecore on Azure
Próximos SlideShares
Carregando em…5
×

Sitecore on Azure

691 visualizações

Publicada em

Sitecore on Azure

What is Azure and how does it affect Developers and IT Administrators?

As discussed by Vicent Galiana at the Sitecore Technical User Group, London, 4th March 2015

Publicada em: Tecnologia
  • Seja o primeiro a comentar

Sitecore on Azure

  1. 1. Sitecore on Azure: a real life example Sitecore User Group London
  2. 2. What is “Azure”?
  3. 3. As I see it What is “Azure”?
  4. 4. As Microsoft shells it What is “Azure”?
  5. 5. What is “Azure”? Main Services
  6. 6. What is “Azure”? Main Services Cloud Service == Pre-Configured Farm of servers
  7. 7. What is a Farm / Cloud Service What is Azure Internal IP VIP / Domain Production Staging Update Domain Fault Domain Internal IP VIP / Domain Update Domain Fault Domain
  8. 8. What is “Azure”? Main features !=
  9. 9. Fully Automated What is “Azure”? API available to me
  10. 10. Introduction to Azure: Martina´s Blog http://mhwelander.net/ What is “Azure”?
  11. 11. Module using Azure API Sitecore Azure Classic Sitecore Instance
  12. 12. Azure compatibility table Sitecore Azure
  13. 13. Demo: Sitecore Azure’s UI Our “Real scenario”
  14. 14. Do we really need this module? Sitecore Azure https://kb.sitecore.net/articles/983166
  15. 15. Our “Real scenario”
  16. 16. Hybrid scenario • 1 SQL server for BE • 1 Web server for BE • 1 SQL Server for FE • X web servers for FE Our “Real scenario”
  17. 17. Demo: 2 Servers Our “Real scenario”
  18. 18. Tricks: Uploading ghost files • The second request could be sent to a different server • Sitecore wizards with upload doesn´t work: Upgrade + Publish • Save the file in blob storage Where is it stored?
  19. 19. Demo: Scale up to 3 servers Our “Real scenario”
  20. 20. Does it affect me?
  21. 21. More than you expect! • As a Developer • As an IT Administrator Does it affects me?
  22. 22. As a developer…
  23. 23. Deployments: Yet another “one click deployment”
  24. 24. Module with Embedded Azure SDK Sitecore Azure Classic Sitecore Instance
  25. 25. Demo: Deploy Our “Real scenario”
  26. 26. Tricks: It´s easy to deploy and scale • Don´t forget to delete!!! • Get used to the emulator for testing Yet another “one click deployment”
  27. 27. Deploying to Azure: Behind the scenes Yet another“one click deployment”
  28. 28. Deploying to Azure: Behind the scenes Yet another“one click deployment”
  29. 29. Demo: Transformed solution Our “Real scenario”
  30. 30. Tricks: Quick hotfixes • Full application must be deployed • No more: “I just need to copy one file” Yet another “one click deployment”
  31. 31. • Always clean your Media cache and temp folder before upgrade files (restart) • Could take more than one hour to deploy • If it´s bigger than 600MB azure rejects it Yet another “one click deployment” Tricks: The size of the Package is important
  32. 32. Get used to the Azure´s approach • It is easier to replace than to fix • Store everything in storage not local disk • Expect failures and “forget” about why? • Follow Azure patterns • https://msdn.microsoft.com/ en- us/library/dn568099.aspx Yet another “one click deployment”
  33. 33. Can I customize it?
  34. 34. Demo: Items Our “Real scenario”
  35. 35. Deployment item • Service definition  Vmsize: https://msdn.microsoft.com/en- us/library/azure/dn197896.aspx  Enable remote desktop • Service configuration  OsFamily:  OsVersion  Enable remote desktop  Include the Vm into the Virtual network Where is it stored?
  36. 36. Deployment item • Custom config patch  Remove custom settings only for CM • Deployment type config patch  Apply scaling guide • Global config patch  Remove comments  Remove azure module settings  Change license and data folder path  Change custom errors mode  Change Viewstate, pagestate and session state providers  Move logs to Table storage Where is it stored?
  37. 37. Tricks: .config files • Forget about xxx.config.qa or xxx.config.cd • Specific settings per environment must be applied via transformation Where is it stored?
  38. 38. Can I manage each VM?
  39. 39. NO • Remote access  Can be enabled • VMs are rebuilt  Your settings will disappear Can I manage each VM?
  40. 40. YES • Service definition  You can enable plug-ins • StartUp.cmd  Commands line and reg files • Custom webrole.dll Can I manage each VM?
  41. 41. Tricks: Installing i-Filters • Add the msi to the azureoverride folder • Execute it from the startup.cmd Can I manage each VM?
  42. 42. Tricks: Where are my logs • Table storage  Enable the option in Sitecore Log Analyzer  Azure Explorer  Azure log viewer • Enable local logs  They could disappear! Can I manage each VM?
  43. 43. As an IT Administrator
  44. 44. Who is the IT guy?! • What if a VM fails? • How do we set up a DR? • Can we restore a back/Up? • Files? Data? • Can we connect to our local server? • The site is down!!! As an IT administrator
  45. 45. Would I recommend it?
  46. 46. Today… YES… IF…. • I fusing Sitecore Azure 3 or above • If you really need a farm • If you need scalability • If you are ready to scale up your skills • If you don’t have any complex application or module Would I recommend it?
  47. 47. All content and ideas expressed in this presentation are protected by intellectual property rights of ClearPeople Ltd. Contact Vicent Galiana Technical Architect vgaliana@clearpeople.com @Vicent_galiana

×