• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Windows Azure and Cake PHP

Windows Azure and Cake PHP



Talk on Windows Azure Web Sites at Cake Fest 2013.

Talk on Windows Azure Web Sites at Cake Fest 2013.



Total Views
Views on SlideShare
Embed Views



0 Embeds 0

No embeds



Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

CC Attribution License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment
  • Challenges to set up discussions with your customers
  • Introducing Windows Azure Web Sites.A “PaaS for the Modern Web”.Azure Websites is: Flexible, providing support for multiple languages, frameworks and databases.Scalable, making it easy for you to scale up your site to larger instances or scale out to multiple ones.Secure, running on a solid foundation of Windows Server 2012 with SSL support and access to features such as Windows Azure Active Directory making it possible to build applications for business workloads.
  • I’d like to spend a few minutes digging into some of the features and capabilities for Azure Web Sites. Some of the capabilities we want to talk about is part of a larger effort to highlight Azure Web Sites capabilities as a Cloud PaaS that properly competes with other PaaS providers in this market.
  • Built on an Enterprise Grade platform of Windows Server, Azure Web Sites provides high availability and an SLA on just a single Standard instance rather than two for other compute services. Standard is the new term for Reserved. I will talk about this more in a few minutes.Azure Web Sites is available globally and provides a guaranteed 99.9% monthly SLA and now 24/7 professional phone and email support through our support services.
  • Azure Web Sites provides both IP-based as well as SNI-based SSL certificate support for custom domains for sites within the Standard tier. Windows Azure Web Sites makes this very easy to manage as users need only upload their certificates within the portal to begin using SSL for their sites.
  • With Windows Azure Web Sites all instances are automatically load balanced by default using the Least-Current Request algorithm. Azure Web Sites also supports cookie-based sticky-sessions as well if your web application requires them.
  • Azure Web Sites is always running the most up to date platform for your web applications. Windows Azure Web Sites is currently running on Windows Server 2012 R1 (blue). And of course being a PaaS we patch the underlying platform for you.Azure Web Sites also provides multiple and current versions of the latest supported frameworks. I have a slide later that I will use to illustrate this.
  • One of the best features for Azure Web Sites is its ability to scale. With Azure Web Sites users can scale up to larger instances or scale out to more of them. Or do both.Windows Azure provides a robust hosting infrastructure allowing users to scale out to 10 Standard Instances per region. If you want or need more you can get more by contacting support and we will allow you to scale to more instances.At GA we will be offering a preview of our Autoscale service. This will allow users to set CPU thresholds within the Azure portal to allow Azure Web Sites to automatically scale your websites out or back in as needs change.
  • To illustrate how easy it is to scale with Azure Web Sites you can go the portal, create a new “free” site, then go to the Scale tab and simply scale it up to a Shared Instance, then select additional instances.
  • As you scale your site up we automatically provision new instances and deploy your application into it then load balance the requests to your application. You don’t have to do anything. We handle it for you.
  • You can further scale your site from a Shared instance to a Standard instance, essentially into its own virtual machine. For Standard you can select the size of VM allowing you to scale up…
  • and just as with Shared instances you can select additional instances allowing you to not just scale up but scale out as well.
  • And once you have scaled your site into Standard instances you can deploy up to 500 sites within each VM, then from there select which sites you want to scale up and down, in our out. It is the ultimate in flexibility and helps ensure you are super efficient with your resources and only paying for what you need.
  • Creating a new site is easy. Simply open the Azure Management Portal. Click on New at the bottom, then Compute and Web Site. From there you can do a Quick Create for an empty container for a site with no database, or a site with an optional data that you can further connect to your source control solution or Create from the Web Application Gallery with a wide range of choices for nearly any type of web site.
  • While Azure Web Sites provide a great experience for developers to use any development tools they want for web development.
  • Developers can even use any client operating system they want. It doesn’t matter. Azure Web Sites provides support for multiple protocols and technologies to deploy sites such as FTP or git to publish changes or Microsoft’s Web Deploy which is used for Visual Studio and TFS.Developers can work they way they work with no training to be fast and effective creating sites that run in Azure Web Sites.
  • One of the very best features of Azure Web Sites is its support for continuous integration through TFS or Git which makes it very easy to keep your sites up to date with changes. Simply check in your changes to your source control solution and Azure Web Sites will deploy your updates automatically.
  • Dynamic Languages are of course incredibly popular among web developers. Windows Azure Web Sites offers support ASP.NET, PHP, Node.js and Python and even Classic ASP. You can even bin deploy your own FastCGI-based runtime, say if you wanted a custom version of PHP with specific extensions installed such as MongoDB or to use Python 3.3.
  • With Windows Azure Web Sites you also get a choice of databases.From within the portal itself you can choose to use a free 20MB SQL Database or MySQL from ClearDB. You can also choose to upgrade those databases.With SQL Server you can migrate to Azure SQL DB or you can upgrade to one of the paid-tiers with ClearDB.You can even choose a noSQL solution like MongoDB from our Azure Store partner MongoLabs.
  • One of the best features for Azure Web Sites is that it is a part of Windows Azure. This is what sets Azure Web Sites apart from traditional web site hosting as well as what sets it apart from other Cloud PaaS providers. Developers building and deploying on top of Azure Web Sites have access to and can integrate with other Azure Services such as Windows Azure Active Directory, Blob Storage, Cloud Services, Service Bus and SQL Database.

Windows Azure and Cake PHP Windows Azure and Cake PHP Presentation Transcript

  • What is Azure Web Sites? Warning, marketing content
  • PaaS for Web Sites A self service web hosting platform for developers Flexible Web hostingyourway with choice oflanguage,framework,database andplatform Scalable Scale outor up in secondson a load balanced, alwaysup to date global infrastructure EnterpriseGrade Availability with supportfor SSL and AD authentication Secure WINDOWS AZURE WEBSITES
  • Why use Windows Azure web sites
  • IP-based. Sites can have one certificate configured per IP address and port number. SNI. Server Name Indication – configured per hostname. Works for most modern browsers.
  • Scale up. Scale out.
  • 1 shared standard SHARED FREE INSTANCES :-) shared free Easily scale
  • Command line tools to provision & manage. Third party (non Windows) IDE’s (PHPStorm, etc.). Visual Studio. WebMatrix
  • Flexible deployment frameworks
  • MSSQL…  Azure SQL Database MySQL…  ClearDB NoSQL…  MongoLab  Azure Table Storage Lucene/SOLR  LucidWorks
  • Web sites
  • 'datasource' => 'Database/Mysql' 'datasource' => 'Database/Sqlserver' 'login' => 'user', 'login' => 'user@server',
  • Using Cake PHP on Azure Web Sites