Windows Azure and Cake PHP

Preview:

DESCRIPTION

Talk on Windows Azure Web Sites at Cake Fest 2013.

Citation preview

Windows Azure Web Sites

What is Azure Web Sites?

Warning, marketing content

PaaS for Web SitesA self service web hosting platform for developers

FlexibleWeb hosting your way with choice of language, framework, database and platform

ScalableScale out or up in seconds on a load balanced, always up to date global infrastructure

Enterprise Grade Availability with support for SSL and AD authentication

Secure

WINDOWS AZURE WEBSITES

Why use Windows Azure web sitesQuick hits on some features

Promise to keep marketing BS to a minimum

How can I use Cake on this

Demo

Questions

High availabilitySLA on a single instance (Standard tier).Guaranteed 99.9% monthly SLA Available in 6 data centers.24/7 support.

Enterprise grade.

Secure with SSLIP-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.

Secure with SSL.

Load balanced by defaultTwo or more servers can handle inbound requests by spreading out the load between them.

Always up to dateRuns on Windows server 2012.Always patched.Always running latest versions of frameworks.*

Easily scaleScale up.Scale out.Automatic scaling.

1shared standard

SHARED FREE INSTANCES

:-)

shared free

Easily scale

2SHARED INSTANCES

:-)

:-)

shared

Easily scale shared standard

shared standard

SHARED FREE INSTANCES

:-)

1STANDARD INSTANCE

:-):-)

0standard

Easily scale

2STANDARD INSTANCE

:-)

STANDARD INSTANCE

:-)

standard

Easily scale shared free standard

2STANDARD INSTANCE

:-)

STANDARD INSTANCE

:-):-)

:-) :-)

:-)

:-) :-)

standard

Easily scale shared free

standard

Create in minutes

Tool supportCommand line tools to provision & manage.Third party (non Windows) IDE’s (PHPStorm, etc.).Visual Studio.WebMatrix

01010111001010101010001010100011101010100101

01010111001010101010001010100011101010100101

01010111001010101010001010100011101010100101

Flexible deployment frameworks

GIT : FTP

GIT : FTP : Web Deploy : TFS Deploy

GIT : FTP

Continuous delivery

Choice of language

Node.js: 0.6.17, 0.6.20, 0.8.2

PHP: 5.3PHP: 5.4

PHP: 5.5 (soon)

NET: 3.5, 4.5 Python: 2.7

Bring a stack: FastCGI based

Choice of frameworks and languages.

Choice of data servicesMSSQL… Azure SQL DatabaseMySQL… ClearDBNoSQL… MongoLab Azure Table StorageLucene/SOLR LucidWorks

Access to other Azure Services

Caching Media Big dataCDN

Analytics

Mobile

Integration

Service bus

Web sitesSQL database noSQL DB

Blob storage

Cloud services

Virtual Machines

Identity

Ok, PLEASE STOP with the MARKETING

Cake on Azure Web SitesAvailable in Web App Gallery (MySQL out of the box)

Supports MSSQL & SQL Azure with a couple changes:

Change 'datasource' => 'Database/Mysql' To 'datasource' => 'Database/Sqlserver'

Change 'login' => 'user', To 'login' => 'user@server',

Cake & WebMatrix For Windows users fastest, easiest.

Demo TimeUsing Cake PHP on Azure Web Sites

© 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.