• Save
Drupal in the Cloud with Windows Azure
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

Drupal in the Cloud with Windows Azure

  • 2,040 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
2,040
On Slideshare
1,859
From Embeds
181
Number of Embeds
2

Actions

Shares
Downloads
0
Comments
0
Likes
3

Embeds 181

http://www.thaicyberpoint.com 180
http://chajang.collected.info 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Drupal in the Cloudwith Windows Azure websites virtual machines cloud services @FordAntiTrust fordantitrust.com
  • 2. Me• IT Blogger• Photographer• Professional Web Developer and Consultant• Professional System Administrator (Ubuntu Server and MySQL)• Web Hosting Owner more info http://www.linkedin.com/in/fordantitrust or http://fordantitrust.com
  • 3. Web Hosting Owner Exp.Shared Hosting: 1 ServerVPS Hosting: 1 InstancesWindows Azure Virtual Machine: 3 instancesColocation Server (client): 10+ Server
  • 4. compare shared hosting virtual private server cloud virtual machinesPurchased “shared resources" Purchased "reserved all resources" Purchased "on-demand resources“Monthly billing rates Monthly billing rates Hour/minute billing rates- Shared CPU Usage - Processor Speed - CPU Usage- Shared Memory Usage - Memory - Memory Utilization- Reserved Disk Space - Disk Space - Disk Space- Reserved Bandwidth - Bandwidth - BandwidthLow pricing Highly Secure High AvailabilityPersonal use or Small businesses Emulates a Dedicated Server Instantly Scalable
  • 5. On and Off CLOUD COMPUTINGCompute Inactivity On & off workloads (e.g. batch job) Over provisioned capacity is wasted Period Time to market can be cumbersome PATTERNS t Growing FastCompute Successful services needs to grow/scale Keeping up w/ growth is big IT challenge Cannot provision hardware fast enough t Unpredictable BurstingCompute Unexpected/unplanned peak in demand Sudden spike impacts performance Can’t over provision for extreme cases t Predictable BurstingCompute Services with micro seasonality trends Peaks due to periodic increased demand IT complexity and wasted capacity t via Windows Azure Overview - Scott Guthrie (Corporate Vice President, Windows Azure Application Platform)
  • 6. VS!!! Packaged Infrastructure Platform Software Software (as a Service) (as a Service) (as a Service) You manage Applications Applications Applications Applications You manage Data Data Data Data Runtime Runtime Runtime Runtime Managed by vendor Middleware Middleware Middleware Middleware You manage Managed by vendor O/S O/S O/S O/S Virtualization Virtualization Virtualization Virtualization Managed by vendor Servers Servers Servers Servers Storage Storage Storage Storage Networking Networking Networking Networking via Windows Azure Overview - Bart Vande Ghinste (Enterprise Architect, icrosoft DPE Belgium)
  • 7. Windows via Windows Azure Overview
  • 8. Windows Azure via Windows Azure Overview
  • 9. via Windows Azure Web Sites - Harish Ranganathan (Technical Evangelist, Microsoft Corporation)
  • 10. scenarios via Windows Azure Overview Modern web apps Multi-tier applications Enterprise server applications Apps that require advanced Continuous development Porting existing line of business apps administration Apps that require advanced Popular open source apps Windows or Linux operating system networking
  • 11. scenarios for web sites• websites multiple instance + database-as-a-services• virtual machines on-demand and scalable CPU, RAM, Disk and Bandwidth resources• websites + virtual machines multiple instance + traditional database (or database-as-a-services)• cloud services (+ virtual machines) multiple virtual machines with load balancer + traditional database (or database-as-a-services)
  • 12. scenarios for web sites• websites multiple instance + database-as-a-services• virtual machines on-demand and scalable CPU, RAM, Disk and Bandwidth resources• websites + virtual machines multiple instance + traditional database (or database-as-a-services)• cloud services (+ virtual machines) multiple virtual machines with load balancer + traditional database (or database-as-a-services)
  • 13. web sites
  • 14. web sites• Platform (as a Service) – PaaS• Windows Server 2008 R2 Enterprise Edition Service Pack 1 with Microsoft IIS 7.5• APS or .NET Framework 3.5/4.5• PHP Version 5.3 or 5.4 (FCGI+wincache)• Node.JS
  • 15. web sites • Platform (as a Service) – PaaS • Windows Server 2008 R2 Enterprise Edition Service Pack 1 with Microsoft IIS 7.5 • APS or .NET Framework 3.5/4.5 • PHP Version 5.3 or 5.4 (FCGI+wincache) • Node.JS Free - Non scalable (Instance size and count) Shared - Scalable with Instance count only Reserved - Scalable with Instance size and/or count azure web sites ClearDB SQL Azure Database (SQL Server-as-a-service) (MySQL-as-a-Services)
  • 16. web sites • Platform (as a Service) – PaaS • Windows Server 2008 R2 Enterprise Edition Service Pack 1 with Microsoft IIS 7.5 • APS or .NET Framework 3.5/4.5 • PHP Version 5.3 or 5.4 (FCGI+wincache)Free - Non scalable (Instance size and count) • Node.JSShared - Scalable with Instance count onlyReserved - Scalable with Instance size and/or count azure web sites ClearDB SQL Azure Database (SQL Server-as-a-service) (MySQL-as-a-Services)
  • 17. web sites - free vs sharedFree- CPU Time 1 hour / day- CPU Time - Minute Limit 2.5 minutes / 5 minutes- Data Out 165 MB / day (~5GB / month)- Memory Usage 1024 MB / hour- File System Storage 1024 MB- Config Capacity Instance(s): NoShared- CPU Time 4 hours / day- CPU Time - Minute Limit 2.5 minutes / 5 minutes- Data Out Pay as you go (Free 5GB / month)- Memory Usage 512 MB / hour- File System Storage 1024 MB- Config Capacity Instance(s): Yes
  • 18. web sites via Windows Azure Overview shared reservedvia Windows Azure Web Sites - Harish Ranganathan (Technical Evangelist, Microsoft Corporation) shared 1SHARED INSTANCES
  • 19. web sites via Windows Azure Overview shared reservedvia Windows Azure Web Sites - Harish Ranganathan (Technical Evangelist, Microsoft Corporation) shared 2SHARED INSTANCES
  • 20. web sites - reserved- Compute size - Small 1 core RAM 1.75GB - Medium 2 cores RAM 3.5GB - Large 4 cores RAM 7GB- Data Out Pay as you go (Free 5GB / month)- File System Storage 10 GB- Config Capacity Instance(s): Yes
  • 21. web sites via Windows Azure Overview shared reservedvia Windows Azure Web Sites - Harish Ranganathan (Technical Evangelist, Microsoft Corporation) reserved 0 1SHARED INSTANCES RESERVED INSTANCE
  • 22. web sites via Windows Azure Overview shared reservedvia Windows Azure Web Sites - Harish Ranganathan (Technical Evangelist, Microsoft Corporation) reserved 2 RESERVED INSTANCE
  • 23. web sites via Windows Azure Overview shared reservedvia Windows Azure Web Sites - Harish Ranganathan (Technical Evangelist, Microsoft Corporation) reserved 2 RESERVED INSTANCE RESERVED INSTANCE
  • 24. web sites • Platform (as a Service) – PaaS • Windows Server 2008 R2 Enterprise Edition Service Pack 1 with Microsoft IIS 7.5 • APS or .NET Framework 3.5/4.5 • PHP Version 5.3 or 5.4 (FCGI+wincache) • Node.JS Free - Non scalable (Instance size and count) Shared - Scalable with Instance count only Reserved - Scalable with Instance size and/or count azure web sites ClearDB SQL Azure Database (SQL Server-as-a-service) (MySQL-as-a-Services)
  • 25. web sites • Platform (as a Service) – PaaS • Windows Server 2008 R2 Enterprise Edition Service Pack 1 with Microsoft IIS 7.5 • APS or .NET Framework 3.5/4.5 • PHP Version 5.3 or 5.4 (FCGI+wincache) • Node.JS Free - Non scalable (Instance size and count) Shared - Scalable with Instance count only Reserved - Scalable with Instance size and/or count azure web sites SQL Azure Database (SQL Server-as-a-service) ClearDB (MySQL-as-a-Services)
  • 26. web sites • Platform (as a Service) – PaaS • Windows Server 2008 R2 Enterprise Edition Service Pack 1 with Microsoft IIS 7.5 • APS or .NET Framework 3.5/4.5 • PHP Version 5.3 or 5.4 (FCGI+wincache) • Node.JS Free - Non scalable (Instance size and count) Shared - Scalable with Instance count only Reserved - Scalable with Instance size and/or count azure web sites SQL Azure Database (SQL Server-as-a-service) ClearDB (MySQL-as-a-Services)
  • 27. ClearDBClearDB is MySQL-as-a-Services.ClearDB is multi-tenant MySQL database services in regions with fully redundant solution
  • 28. deploy….
  • 29. DEMO
  • 30. scenarios for web sites• websites multiple instance + database-as-a-services• virtual machines on-demand and scalable CPU, RAM, Disk and Bandwidth resources• websites + virtual machines multiple instance + traditional database (or database-as-a-services)• cloud services (+ virtual machines) multiple virtual machines with load balancer + traditional database (or database-as-a-services)
  • 31. virtual machines
  • 32. virtual machines Infrastructure (as a service) – IaaS virtual machines (compute) OS Disk Disk
  • 33. Management Management Portal >_ Scripting (Windows, Linux and Mac) REST API
  • 34. Management Management Portal >_ Scripting (Windows, Linux and Mac) REST API
  • 35. OS Images Base OS image for new Virtual Machines Sys-Prepped/Generalized/Read Only Created by uploading or by capture
  • 36. VM Size CPU Cores Memory Bandwidth # Data DisksExtra Small Shared 768 MB 5 (Mbps) 1Small 1 1.75 GB 100 (Mbps) 2Medium 2 3.5 GB 200 (Mbps) 4Large 4 7 GB 400 (Mbps) 8Extra Large 8 14 GB 800 (Mbps) 16
  • 37. Management Management Portal >_ Scripting (Windows, Linux and Mac) REST API
  • 38. Disks and Images Base OS image for new Virtual Machines Sys-Prepped/Generalized/Read Only Created by uploading or by capture Writable Disks for Virtual Machines Created during VM creation or during upload of existing VHDs. Disk Type Default Supported OS Disk ReadWrite ReadOnly and ReadWrite Data Disk None None, ReadOnly and ReadWrite
  • 39. Capability OS Disk Data DiskHost Cache Default ReadWrite NoneMax Capacity 127 GB 1 TBImaging Capable Yes NoHot Update Cache Setting Requires Reboot Change Cache Without Reboot Add/Remove without Reboot
  • 40. Persistent Disks and Highly Durable
  • 41. DEMO
  • 42. scenarios for web sites• websites multiple instance + database-as-a-services• virtual machines on-demand and scalable CPU, RAM, Disk and Bandwidth resources• websites + virtual machines multiple instance + traditional database (or database-as-a-services)• cloud services (+ virtual machines) multiple virtual machines with load balancer + traditional database (or database-as-a-services)
  • 43. websites + virtual machines
  • 44. websites + virtual machinesmultiple instance + traditional database (or database-as-a-services FREE/SHARED INSTANCES RESERVED INSTANCE
  • 45. DEMO
  • 46. scenarios for web sites• websites multiple instance + database-as-a-services• virtual machines on-demand and scalable CPU, RAM, Disk and Bandwidth resources• websites + virtual machines multiple instance + traditional database (or database-as-a-services)• cloud services (+ virtual machines) multiple virtual machines with load balancer + traditional database (or database-as-a-services)
  • 47. cloud services (+ virtual machines)
  • 48. Web Role for front end Worker Role for backend processing
  • 49. cloud service
  • 50. IaaS and PaaS - Better Together Virtual Machine Web Role for front end Worker Role for backend processing
  • 51. cloud service
  • 52. virtual machine with load balancer in cloud servicesEndpoint SetPublic PortLocal PortProtocol (TCP/UDP)Name
  • 53. virtual machine with load balancer in cloud services Windows AzureEndpoint Set cachingPublic PortLocal Port memcachedProtocol (TCP/UDP) (http session)Name cloudservice - thinklover.cloudapp.net - thinklover2: 62325:22 (ssh) 80:80 (http) - thinklover: 58291:22 (ssh) 80:80 (http) database as-a-service
  • 54. virtual machine with load balancer in cloud servicesEndpoint SetPublic PortLocal Port memcachedProtocol (TCP/UDP) (http session)Name cloudservice - thinklover.cloudapp.net - thinklover2: 62325:22 (ssh) 80:80 (http) - thinklover: 58291:22 (ssh) 80:80 (http) mysqldb - thinkloverdb.cloudapp.net - 55405:22 (ssh) database - 11211:11211 (memcached) as-a-service
  • 55. virtual machine with load balancer in cloud servicesEndpoint SetPublic PortLocal PortProtocol (TCP/UDP) databaseName cloudservice - thinklover.cloudapp.net - thinklover2: 62325:22 (ssh) 80:80 (http) memcached - thinklover: 58291:22 (ssh) 80:80 (http) (http session) mysqldb - thinkloverdb.cloudapp.net - 55405:22 (ssh) - 3306:3306 (mysql) - 11211:11211 (memcached)
  • 56. virtual machine with load balancer in cloud servicesproduction vs staging
  • 57. virtual machine with load balancer in cloud servicesproduction vs staging
  • 58. virtual machine with load balancer in cloud serviceswith probesLoad Balancer ProbeSet NameProbe Protocol (HTTP/TCP)Probe PortProbe Path (/healthcheck.aspx)Looks for HTTP 200(Omit Probe Path for TCP)
  • 59. virtual machine with load balancer in cloud serviceswith probes
  • 60. virtual machine with load balancer in cloud serviceswith probes
  • 61. virtual machine with load balancer in cloud serviceswith probes
  • 62. how to1. create the first virtual machine2. create the second virtual machine3. add and connect virtual machines to the cloud service4. set availability of virtual machines.5. add an endpoint to the first virtual machine6. set up load balancing of the virtual machines7. (optional) set up probes in PowerShell
  • 63. mixed modeweb sites + virtual machine + cloud services Cloud App Virtual Machine 80 Web Sites Load Balancer
  • 64. DEMO
  • 65. Pay-As-You-Go (pricing)
  • 66. WindowsPay-As-You-Go (Pricing)
  • 67. Windows Pay-As-You-Go (Pricing)
  • 68. web sites- Reserved Instance Size GA Price/Hour Reserved Instance Size CPU Cores Memory GA Price/Hour Preview* Small 1 1.75 GB $0.08 $0.12 Medium 2 3.5 GB $0.16 $0.24 Large 4 7 GB $0.32 $0.48virtual machines - Compute Instance Size Windows Price/Hour Non-Windows Price/HourCompute Instance Size CPU Cores Memory Preview GA Preview GA Extra Small Shared 768 MB $0.013 $0.02 $0.013 $0.02 Small 1 1.75 GB $0.08 $0.115 $0.08 $0.085 Medium 2 3.5 GB $0.16 $0.23 $0.16 $0.17 Large 4 7 GB $0.32 $0.46 $0.32 $0.34 Extra Large 8 14 GB $0.64 $0.92 $0.64 $0.68
  • 69. Windows Pay-As-You-Go (Pricing)
  • 70. data out (CDN)Billing Regions Geographic Location North AmericaZone 1 Europe Asia PacificZone 2 Latin America Middle East / AfricaCDN Outbound Zone 1 Zone 2First 10 TB / Month $.12 per GB $.19 per GBNext 40 TB / Month $.08 per GB $.14 per GBNext 100 TB / Month $.06 per GB $.12 per GBNext 350 TB / Month $.04 per GB $.1 per GBNext 524 TB / Month $.03 per GB $.08 per GBNext 4096 TB / Month $.025 per GB $.07 per GBOver 5,120 TB / Month Contact Contact
  • 71. Windows Pay-As-You-Go (Pricing)
  • 72. SQL Azure DatabaseSQL Azure Database is Microsoft SQL Server-as-a-Services.- Web Edition supports up to a 5 GB maximum size- Business Edition supports up to a 150 GB maximum size Database Units (DU) that willDatabase Size Price Per Database Per Month appear on your Bill0 to 100 MB Flat $4.995 0.5 DUGreater than 100 MB to 1 GB Flat $9.99 1 DU $9.99 for first GB, $3.996 for each 1 DU for first GBGreater than 1 GB to 10 GB additional GB 0.4 DU for each additional GB $45.954 for first 10 GB, $1.996 for 4.6 DU for first 10 GBGreater than 10 GB to 50 GB each additional GB 0.2 DU for each additional GB $125.874 for first 50 GB, $.999 for 12.6 DU for first 50 GBGreater than 50 GB to 150 GB each additional GB 0.1 DU for each additional GB
  • 73. storageDaily amount of data stored (in GB) over a monthly period.For Blob, Table, Queue, and Windows Azure Drive storageStorage Capacity Geographically Redundant Locally RedundantFirst 1 TB / Month $.095 per GB $.070 per GBNext 49 TB / Month $.08 per GB $.065 per GBNext 450 TB / Month $.07 per GB $.06 per GBNext 500 TB / Month $.065 per GB $.055 per GBNext 4,000 TB / Month $.06 per GB $.045 per GBNext 4,000 TB / Month $.055 per GB $.037 per GBOver 9,000 TB / Month Contact Contact
  • 74. ClearDBClearDB is MySQL-as-a-Services.ClearDB is multi-tenant MySQL database services in regions with fully redundant solution
  • 75. DEMO
  • 76. Thank you. Drupal in the Cloud Windows Azure