SlideShare une entreprise Scribd logo
1  sur  47
Cost architectingfor Windows Azure Maarten Balliauwhttp://about.me/maartenballiauwhttp://blog.maartenballiauw.be@maartenballiauw
Who am I? Maarten Balliauw Antwerp, Belgium www.realdolmen.com Technology Specialist Windows Azure Co-founder of AZUG Focus on web ASP.NET, ASP.NET MVC, PHP, Azure, … MVP ASP.NET http://blog.maartenballiauw.be  @maartenballiauw
Agenda Different metrics Easing the bill Virtual machines Storage SQL Azure Customer awareness Developer awareness Takeaways Q&A
Different metrics Traditional architecture vs. Cloud architecture
CapEx (classic investment model) Allocated IT-capacities Load Forecast Undercapacity Overcapacity Fixed cost of IT-capacities IT CAPACITY Investment ActualLoad TIME
OpEx (“pay for use”) Load Forecast Allocated IT capacities No undercapacity IT CAPACITY Reduction of overcapacity Possible reduction of IT-capacities in case of reduced load Reduction of initial investments ActualLoad TIME
That’s a challenge! Cloud architecture No overcapacity Extra layers == extra costs Costs are visible* Traditional architecture Overcapacity available Extra layers != extra costs Costs are hidden vs
You pay for ... the services used Windows Azure SQL Azure Azure AppFabric 2. Storage 3. StorageTransactions 5. Access Control Transactions 6. Service Bus Connections 4. DB 1.Compute + the data transfer consumed DataCenter Outside the datacenter 7. ingress 8. egress
8 different parameters??? Typically you only use 4-5: Compute hours SQL Azure database Storage Data transfer in Data transfer out
Complex? No! Here are your datacenter parameters... ,[object Object]
OS License
SQL Server License
Hardware investment
Server
Disks
Racks
Switches
UPS
Network cables
Hardware maintanance
Power consumption of hardware
Server
Disk
Racks
Swithes
Insurance of hardware
Insurance on server room
Server room
Rent
Cooling
Lighting
Cleaning
Smoke detectors
Tapes for backup
Salary for admin people
Install hardware
Maintain hardware
Apply OS patches
Backup/Restore operations
Firewall/DMZ configuration
Clear logfiles
Taxes on Salaries
Time spent on procurement cycle of hardware / Licenses
...,[object Object]
Limiting virtual machine count Do you need full capacity 24/7? Probably not, reduce # cpu’s when not used Use Windows Azure Diagnostics API & Windows Azure Management API to scale (semi)-automatically 24 hours x 10 small instances = 20,50 EUR / day vs. 16 hours x 10 small instances+ 8 hours x 4 small instances = 16,4 EUR / day
Limiting virtual machine count Staging environment costs When not in use, undeploy the staging environment 24 hours x 5 small instances = 10,25 EUR / day vs. 22 hours x 5 small instances = 5,13 EUR / day
& Scaling from outside .NET          Using Cerebrata CmdLets to scale http://www.cerebrata.com

Contenu connexe

Tendances

Cost Optimization as Major Architectural Consideration for Cloud Application
Cost Optimization as Major Architectural Consideration for Cloud ApplicationCost Optimization as Major Architectural Consideration for Cloud Application
Cost Optimization as Major Architectural Consideration for Cloud Application
Udayan Banerjee
 
Geocloud blue raster web mapping cloud deployment lessons from the field 201...
Geocloud blue raster web mapping cloud deployment  lessons from the field 201...Geocloud blue raster web mapping cloud deployment  lessons from the field 201...
Geocloud blue raster web mapping cloud deployment lessons from the field 201...
Amazon Web Services
 

Tendances (18)

GPU Renderfarm with Integrated Asset Management & Production System (AMPS)
GPU Renderfarm with Integrated Asset Management & Production System (AMPS)GPU Renderfarm with Integrated Asset Management & Production System (AMPS)
GPU Renderfarm with Integrated Asset Management & Production System (AMPS)
 
Build a Cloud Render-Ready Infrastructure
Build a Cloud Render-Ready InfrastructureBuild a Cloud Render-Ready Infrastructure
Build a Cloud Render-Ready Infrastructure
 
Virtualization virtues
Virtualization virtuesVirtualization virtues
Virtualization virtues
 
Cost Optimization as Major Architectural Consideration for Cloud Application
Cost Optimization as Major Architectural Consideration for Cloud ApplicationCost Optimization as Major Architectural Consideration for Cloud Application
Cost Optimization as Major Architectural Consideration for Cloud Application
 
Virtualization virtues
Virtualization virtuesVirtualization virtues
Virtualization virtues
 
uNite 2017 - Going serverless - Gertjan Vanthienen
uNite 2017 - Going serverless - Gertjan VanthienenuNite 2017 - Going serverless - Gertjan Vanthienen
uNite 2017 - Going serverless - Gertjan Vanthienen
 
Usman Shakeel - Cloud Rendering at Scale :: AWS Rendering Seminar
Usman Shakeel - Cloud Rendering at Scale :: AWS Rendering SeminarUsman Shakeel - Cloud Rendering at Scale :: AWS Rendering Seminar
Usman Shakeel - Cloud Rendering at Scale :: AWS Rendering Seminar
 
Multi-Cloud Economics by Cloudyn Feb 2014
Multi-Cloud Economics by Cloudyn Feb 2014Multi-Cloud Economics by Cloudyn Feb 2014
Multi-Cloud Economics by Cloudyn Feb 2014
 
Journey Through the AWS Cloud; Storage and Archiving
Journey Through the AWS Cloud; Storage and ArchivingJourney Through the AWS Cloud; Storage and Archiving
Journey Through the AWS Cloud; Storage and Archiving
 
AWS Customer Presentation - JovianDATA
AWS Customer Presentation - JovianDATAAWS Customer Presentation - JovianDATA
AWS Customer Presentation - JovianDATA
 
Cloud computing easy approach
Cloud computing easy approachCloud computing easy approach
Cloud computing easy approach
 
AWS Customer Presentation - Zynga
AWS Customer Presentation - ZyngaAWS Customer Presentation - Zynga
AWS Customer Presentation - Zynga
 
Cloud
CloudCloud
Cloud
 
Developing for Your Target Market - Social, Games & Mobile - AWS India Summit...
Developing for Your Target Market - Social, Games & Mobile - AWS India Summit...Developing for Your Target Market - Social, Games & Mobile - AWS India Summit...
Developing for Your Target Market - Social, Games & Mobile - AWS India Summit...
 
Geocloud blue raster web mapping cloud deployment lessons from the field 201...
Geocloud blue raster web mapping cloud deployment  lessons from the field 201...Geocloud blue raster web mapping cloud deployment  lessons from the field 201...
Geocloud blue raster web mapping cloud deployment lessons from the field 201...
 
Quixote
QuixoteQuixote
Quixote
 
Aem asset optimizations & best practices
Aem asset optimizations & best practicesAem asset optimizations & best practices
Aem asset optimizations & best practices
 
Drupal in the cloud with Windows Azure
Drupal in the cloud with Windows AzureDrupal in the cloud with Windows Azure
Drupal in the cloud with Windows Azure
 

Similaire à Cost architecting for Windows Azure - NDC2011

Tips & Tricks On Architecting Windows Azure For Costs
Tips & Tricks On Architecting Windows Azure For CostsTips & Tricks On Architecting Windows Azure For Costs
Tips & Tricks On Architecting Windows Azure For Costs
Nuno Godinho
 
AWS Cloud Kata | Bangkok - Getting to Profitability
AWS Cloud Kata | Bangkok - Getting to ProfitabilityAWS Cloud Kata | Bangkok - Getting to Profitability
AWS Cloud Kata | Bangkok - Getting to Profitability
Amazon Web Services
 
AWS Cloud Kata | Manila - Getting to Profitability on AWS
AWS Cloud Kata | Manila - Getting to Profitability on AWSAWS Cloud Kata | Manila - Getting to Profitability on AWS
AWS Cloud Kata | Manila - Getting to Profitability on AWS
Amazon Web Services
 
Scaling Big While Sleeping Well
Scaling Big While Sleeping WellScaling Big While Sleeping Well
Scaling Big While Sleeping Well
Josh Holmes
 

Similaire à Cost architecting for Windows Azure - NDC2011 (20)

Architecting for a cost effective Windows Azure solution
Architecting for a cost effective Windows Azure solutionArchitecting for a cost effective Windows Azure solution
Architecting for a cost effective Windows Azure solution
 
Architecture et coût
Architecture et coûtArchitecture et coût
Architecture et coût
 
Tips & Tricks On Architecting Windows Azure For Costs
Tips & Tricks On Architecting Windows Azure For CostsTips & Tricks On Architecting Windows Azure For Costs
Tips & Tricks On Architecting Windows Azure For Costs
 
Ad505 dev blast
Ad505 dev blastAd505 dev blast
Ad505 dev blast
 
Building Cloud-Native Applications with Microsoft Windows Azure
Building Cloud-Native Applications with Microsoft Windows AzureBuilding Cloud-Native Applications with Microsoft Windows Azure
Building Cloud-Native Applications with Microsoft Windows Azure
 
Cloud & Windows Azure - Lessius
Cloud & Windows Azure - LessiusCloud & Windows Azure - Lessius
Cloud & Windows Azure - Lessius
 
Windows Azure Platform + PHP - Jonathan Wong
Windows Azure Platform + PHP - Jonathan WongWindows Azure Platform + PHP - Jonathan Wong
Windows Azure Platform + PHP - Jonathan Wong
 
Architetture Serverless con SQL Server e Azure Functions
Architetture Serverless con SQL Server e Azure FunctionsArchitetture Serverless con SQL Server e Azure Functions
Architetture Serverless con SQL Server e Azure Functions
 
How to Reduce your Spend on AWS
How to Reduce your Spend on AWSHow to Reduce your Spend on AWS
How to Reduce your Spend on AWS
 
AWS APAC Webinar Series: How to Reduce Your Spend on AWS
AWS APAC Webinar Series: How to Reduce Your Spend on AWSAWS APAC Webinar Series: How to Reduce Your Spend on AWS
AWS APAC Webinar Series: How to Reduce Your Spend on AWS
 
AWS Cloud Kata | Bangkok - Getting to Profitability
AWS Cloud Kata | Bangkok - Getting to ProfitabilityAWS Cloud Kata | Bangkok - Getting to Profitability
AWS Cloud Kata | Bangkok - Getting to Profitability
 
Data storage for the cloud ce11
Data storage for the cloud ce11Data storage for the cloud ce11
Data storage for the cloud ce11
 
Adtech scala-performance-tuning-150323223738-conversion-gate01
Adtech scala-performance-tuning-150323223738-conversion-gate01Adtech scala-performance-tuning-150323223738-conversion-gate01
Adtech scala-performance-tuning-150323223738-conversion-gate01
 
Adtech x Scala x Performance tuning
Adtech x Scala x Performance tuningAdtech x Scala x Performance tuning
Adtech x Scala x Performance tuning
 
Apache Beam: A unified model for batch and stream processing data
Apache Beam: A unified model for batch and stream processing dataApache Beam: A unified model for batch and stream processing data
Apache Beam: A unified model for batch and stream processing data
 
AWS Cloud Kata | Manila - Getting to Profitability on AWS
AWS Cloud Kata | Manila - Getting to Profitability on AWSAWS Cloud Kata | Manila - Getting to Profitability on AWS
AWS Cloud Kata | Manila - Getting to Profitability on AWS
 
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...
 
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...
 
Scaling Big While Sleeping Well
Scaling Big While Sleeping WellScaling Big While Sleeping Well
Scaling Big While Sleeping Well
 
High Performance Computing (HPC) and Engineering Simulations in the Cloud
High Performance Computing (HPC) and Engineering Simulations in the CloudHigh Performance Computing (HPC) and Engineering Simulations in the Cloud
High Performance Computing (HPC) and Engineering Simulations in the Cloud
 

Plus de Maarten Balliauw

Plus de Maarten Balliauw (20)

Bringing nullability into existing code - dammit is not the answer.pptx
Bringing nullability into existing code - dammit is not the answer.pptxBringing nullability into existing code - dammit is not the answer.pptx
Bringing nullability into existing code - dammit is not the answer.pptx
 
Nerd sniping myself into a rabbit hole... Streaming online audio to a Sonos s...
Nerd sniping myself into a rabbit hole... Streaming online audio to a Sonos s...Nerd sniping myself into a rabbit hole... Streaming online audio to a Sonos s...
Nerd sniping myself into a rabbit hole... Streaming online audio to a Sonos s...
 
Building a friendly .NET SDK to connect to Space
Building a friendly .NET SDK to connect to SpaceBuilding a friendly .NET SDK to connect to Space
Building a friendly .NET SDK to connect to Space
 
Microservices for building an IDE - The innards of JetBrains Rider - NDC Oslo...
Microservices for building an IDE - The innards of JetBrains Rider - NDC Oslo...Microservices for building an IDE - The innards of JetBrains Rider - NDC Oslo...
Microservices for building an IDE - The innards of JetBrains Rider - NDC Oslo...
 
Indexing and searching NuGet.org with Azure Functions and Search - .NET fwday...
Indexing and searching NuGet.org with Azure Functions and Search - .NET fwday...Indexing and searching NuGet.org with Azure Functions and Search - .NET fwday...
Indexing and searching NuGet.org with Azure Functions and Search - .NET fwday...
 
NDC Sydney 2019 - Microservices for building an IDE – The innards of JetBrain...
NDC Sydney 2019 - Microservices for building an IDE – The innards of JetBrain...NDC Sydney 2019 - Microservices for building an IDE – The innards of JetBrain...
NDC Sydney 2019 - Microservices for building an IDE – The innards of JetBrain...
 
JetBrains Australia 2019 - Exploring .NET’s memory management – a trip down m...
JetBrains Australia 2019 - Exploring .NET’s memory management – a trip down m...JetBrains Australia 2019 - Exploring .NET’s memory management – a trip down m...
JetBrains Australia 2019 - Exploring .NET’s memory management – a trip down m...
 
.NET Conf 2019 - Indexing and searching NuGet.org with Azure Functions and Se...
.NET Conf 2019 - Indexing and searching NuGet.org with Azure Functions and Se....NET Conf 2019 - Indexing and searching NuGet.org with Azure Functions and Se...
.NET Conf 2019 - Indexing and searching NuGet.org with Azure Functions and Se...
 
CloudBurst 2019 - Indexing and searching NuGet.org with Azure Functions and S...
CloudBurst 2019 - Indexing and searching NuGet.org with Azure Functions and S...CloudBurst 2019 - Indexing and searching NuGet.org with Azure Functions and S...
CloudBurst 2019 - Indexing and searching NuGet.org with Azure Functions and S...
 
NDC Oslo 2019 - Indexing and searching NuGet.org with Azure Functions and Search
NDC Oslo 2019 - Indexing and searching NuGet.org with Azure Functions and SearchNDC Oslo 2019 - Indexing and searching NuGet.org with Azure Functions and Search
NDC Oslo 2019 - Indexing and searching NuGet.org with Azure Functions and Search
 
Approaches for application request throttling - Cloud Developer Days Poland
Approaches for application request throttling - Cloud Developer Days PolandApproaches for application request throttling - Cloud Developer Days Poland
Approaches for application request throttling - Cloud Developer Days Poland
 
Indexing and searching NuGet.org with Azure Functions and Search - Cloud Deve...
Indexing and searching NuGet.org with Azure Functions and Search - Cloud Deve...Indexing and searching NuGet.org with Azure Functions and Search - Cloud Deve...
Indexing and searching NuGet.org with Azure Functions and Search - Cloud Deve...
 
Approaches for application request throttling - dotNetCologne
Approaches for application request throttling - dotNetCologneApproaches for application request throttling - dotNetCologne
Approaches for application request throttling - dotNetCologne
 
CodeStock - Exploring .NET memory management - a trip down memory lane
CodeStock - Exploring .NET memory management - a trip down memory laneCodeStock - Exploring .NET memory management - a trip down memory lane
CodeStock - Exploring .NET memory management - a trip down memory lane
 
ConFoo Montreal - Microservices for building an IDE - The innards of JetBrain...
ConFoo Montreal - Microservices for building an IDE - The innards of JetBrain...ConFoo Montreal - Microservices for building an IDE - The innards of JetBrain...
ConFoo Montreal - Microservices for building an IDE - The innards of JetBrain...
 
ConFoo Montreal - Approaches for application request throttling
ConFoo Montreal - Approaches for application request throttlingConFoo Montreal - Approaches for application request throttling
ConFoo Montreal - Approaches for application request throttling
 
Microservices for building an IDE – The innards of JetBrains Rider - TechDays...
Microservices for building an IDE – The innards of JetBrains Rider - TechDays...Microservices for building an IDE – The innards of JetBrains Rider - TechDays...
Microservices for building an IDE – The innards of JetBrains Rider - TechDays...
 
JetBrains Day Seoul - Exploring .NET’s memory management – a trip down memory...
JetBrains Day Seoul - Exploring .NET’s memory management – a trip down memory...JetBrains Day Seoul - Exploring .NET’s memory management – a trip down memory...
JetBrains Day Seoul - Exploring .NET’s memory management – a trip down memory...
 
DotNetFest - Let’s refresh our memory! Memory management in .NET
DotNetFest - Let’s refresh our memory! Memory management in .NETDotNetFest - Let’s refresh our memory! Memory management in .NET
DotNetFest - Let’s refresh our memory! Memory management in .NET
 
VISUG - Approaches for application request throttling
VISUG - Approaches for application request throttlingVISUG - Approaches for application request throttling
VISUG - Approaches for application request throttling
 

Dernier

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Dernier (20)

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 

Cost architecting for Windows Azure - NDC2011

  • 1. Cost architectingfor Windows Azure Maarten Balliauwhttp://about.me/maartenballiauwhttp://blog.maartenballiauw.be@maartenballiauw
  • 2. Who am I? Maarten Balliauw Antwerp, Belgium www.realdolmen.com Technology Specialist Windows Azure Co-founder of AZUG Focus on web ASP.NET, ASP.NET MVC, PHP, Azure, … MVP ASP.NET http://blog.maartenballiauw.be @maartenballiauw
  • 3. Agenda Different metrics Easing the bill Virtual machines Storage SQL Azure Customer awareness Developer awareness Takeaways Q&A
  • 4. Different metrics Traditional architecture vs. Cloud architecture
  • 5. CapEx (classic investment model) Allocated IT-capacities Load Forecast Undercapacity Overcapacity Fixed cost of IT-capacities IT CAPACITY Investment ActualLoad TIME
  • 6. OpEx (“pay for use”) Load Forecast Allocated IT capacities No undercapacity IT CAPACITY Reduction of overcapacity Possible reduction of IT-capacities in case of reduced load Reduction of initial investments ActualLoad TIME
  • 7. That’s a challenge! Cloud architecture No overcapacity Extra layers == extra costs Costs are visible* Traditional architecture Overcapacity available Extra layers != extra costs Costs are hidden vs
  • 8. You pay for ... the services used Windows Azure SQL Azure Azure AppFabric 2. Storage 3. StorageTransactions 5. Access Control Transactions 6. Service Bus Connections 4. DB 1.Compute + the data transfer consumed DataCenter Outside the datacenter 7. ingress 8. egress
  • 9. 8 different parameters??? Typically you only use 4-5: Compute hours SQL Azure database Storage Data transfer in Data transfer out
  • 10.
  • 15. Disks
  • 16. Racks
  • 18. UPS
  • 23. Disk
  • 24. Racks
  • 29. Rent
  • 43. Time spent on procurement cycle of hardware / Licenses
  • 44.
  • 45. Limiting virtual machine count Do you need full capacity 24/7? Probably not, reduce # cpu’s when not used Use Windows Azure Diagnostics API & Windows Azure Management API to scale (semi)-automatically 24 hours x 10 small instances = 20,50 EUR / day vs. 16 hours x 10 small instances+ 8 hours x 4 small instances = 16,4 EUR / day
  • 46. Limiting virtual machine count Staging environment costs When not in use, undeploy the staging environment 24 hours x 5 small instances = 10,25 EUR / day vs. 22 hours x 5 small instances = 5,13 EUR / day
  • 47. & Scaling from outside .NET Using Cerebrata CmdLets to scale http://www.cerebrata.com
  • 48. Workers need work! Out of the box, 1 worker role = 1 task Why not spin up processes or threads? 10 tasks 1 task per worker = 20 workers* 2 tasks per worker = 10 workers* 10 tasks per worker = 2 workers* Which means 41 EUR / day vs. 4,1 EUR / day “Generic workers”: http://research.microsoft.com/en-us/downloads/76537edf-9b77-4664-b76b-cf51be506a0d/ * 2 instances minimum for the SLA
  • 49. Combining work into one worker role
  • 50. Do you need all of that? 1 XL = 2 L = 4 M = 8 S (regarding costs) No need for this memory / disk space? Stay with S or M Scale up/down more granularly
  • 51. Unemployed? Undeployed! Billing per reserved VM Reserved = deployed / running Billing in staging and production 2 instances staging + 2 instances production = 4 instances billed Undeploy your VM if not needed Undeploy staging every evening Automate this
  • 52. Using Greybox for Windows Azure http://greybox.codeplex.com
  • 53. When the box is gray, you’re okay. When the box is blue a bill is due.
  • 54. Work per hour Billed per clock hour / CPU Keep instances running at least until x:55 Don’t deploy at x:50, instead deploy at x:55 Deploy at x:50 and undeploy at x+1:10 2 hours billed! Don’t deploy every minute = 60 instance hours per hour! Don’t do continuous deployment for every build, but accumulate
  • 55. Bandwidth, Storage & Transactions Easing the bill
  • 56. Bandwidth? Belgians are used to being economical on this one... Simple metric Use more = pay more Use less = pay less
  • 57. When am I using bandwidth? Data transfers in/out Windows Azure Compute Blobs AppFabric Data transfers between Windows Azure regions E.g. North America – Europe Keep compute & storage in the same region!
  • 58. Content Delivery Network Content distributed across X servers Storage costs = Storage costs for public containers x 2 Bandwidth costs = # data in public containers x X servers Can be limited by setting cache headers
  • 59. Storage Data you store (non SQL) Tables Blobs Queues Per GB / month Average over full month 10 GB stored for 15 days, 0 GB stored for 15 days = 5 GB stored for 1 month
  • 60. Transactions 1 transaction = 1 storage operation Billed per 10.000 Checking a queue every second from 2 workers 172.800 transactions / day Use a back-off mechanism No data? Wait a second Again no data? Wait two seconds Etc.
  • 62. Backoff polling a queue Processed: Message #49 from a batch of 55 Processed: Message #50 from a batch of 55 Processed: Message #51 from a batch of 55 Processed: Message #52 from a batch of 55 Processed: Message #53 from a batch of 55 Processed: Message #54 from a batch of 55 Backing off for 1 second(s)... Backing off for 2 second(s)... FillQueue finished. Backing off for 3 second(s)... FillQueue is doing work. Processed: Message #0 from a batch of 5 Processed: Message #1 from a batch of 5 Processed: Message #2 from a batch of 5 Processed: Message #3 from a batch of 5 Processed: Message #4 from a batch of 5 Backing off for 1 second(s)... FillQueue finished. Backing off for 2 second(s)... FillQueue is doing work. FillQueue finished.
  • 63. Transactions 1 transaction = 1 storage operation Billed per 10.000 Serving 100 images from blob storage High traffic app  high # transactions Choose wisely between blob storage and compute
  • 64. Diagnostics monitor Writes data to storage account Does not clean up Write often = # transactions Write less = lag in diagnostic data
  • 65. SQL Azure Easing the bill
  • 66. Database editions Web 1 or 5 GB Business 10, 20, 30, 40, 50 GB
  • 67. Database editions 1 GB/ Month = $9.99 5 GB/ Month = $49.95 10 GB/ Month = $99.99 20 GB/ Month = $199.98 30 GB/ Month = $299.97 40 GB/ Month = $399.96 50 GB/ Month = $499.95 + data transfer ingress & egress
  • 68. Billing nuances Based on peak DB size / day Averaged over 1 month Actual database edition size used is billed Examples 0.9 GB in a 5 GB web edition costs 1 GB(= $9.99) 1.1 GB in a 5 GB web edition costs 5 GB(= $49.95)
  • 69. Tables & indexes cost money Be careful with them Only define indexes needed Indexing every column & not using it may be a waste of money Example If index costs 0.50 EUR / month & does not add speed, lose it Table with 1 GB of “static data” on SQL Azure = $ 9.99, on table/blob storage it costs $ 0.12...
  • 70. Calculating the approximate costof a table in SQL Azure
  • 71. Stored procedures Tendency to not use stored procedures nowadays Stored procedure = free! DB is metered on storage May be a good idea to use stored procedures and lose a worker role Limitations
  • 73. Customer awareness Yes, you can have all you want Yes, you can have it your way BUT...
  • 74. Discuss OpEx! Cost-analyze the requirements Discuss implications & alternatives with stakeholders Pay more for user experience? Cheaper alternative experience? Clever solutions? Review the options you considered Write them down & sign off Or you will return to these discussions again and again 
  • 76. A code snippet... if (Session["culture"].ToString() == "en-US") { // .. set to English ...}if (Session["culture"].ToString() == "nl-BE") { // .. set to Dutch ...} string culture = Session["culture"].ToString();if (culture == "en-US") { // .. set to English ...}if (culture == "nl-BE") { // .. set to Dutch ...} Developersdirectlyimpact costs!
  • 78. Takeaways What to remember?
  • 79. Takeaways Cloud pricing != more complex Just “different” Every component has own characteristics Requirements impact costs Developers impact costs Windows Azure pricing model can improve code quality But don’t over-analyze!
  • 80. Resources Starting point: http://www.azure.com Steve Marx: http://blog.smarx.com Cloud Cover Show http://channel9.msdn.com/Shows/Cloud+Cover
  • 81. THANK YOU Maarten Balliauwhttp://about.me/maartenballiauwhttp://blog.maartenballiauw.be@maartenballiauw

Notes de l'éditeur

  1. Hidden costs in traditional IT!
  2. The Real Cost of Indexes” (blogs.msdn.com/b/sqlazure/archive/2010/08/19/10051969.aspx)
  3. The Real Cost of Indexes” (blogs.msdn.com/b/sqlazure/archive/2010/08/19/10051969.aspx)