SlideShare a Scribd company logo
http://joind.in/8168
Creating php cloud applications
Types of Cloud
Public Cloud Hybrid Cloud Private Cloud
Creating php cloud applications
Creating php cloud applications
Programmable Resources
Programmable Resources
Windows Azure Cross Platform CLI Tools
Windows Azure CLI Tools http://aka.ms/Azure-SDK-Tools
Chef http://aka.ms/Chef
Scale Out, over Scale Up
Scale Out vs. Scale Up
Creating php cloud applications
Windows Azure Web Sites Internals
Request Process Flow for New (Cold) Sites
Windows Azure Web Sites Internals
Request Process Flow for Existing (Hot) Sites
Windows Azure Web Sites Internals
FTP and Web Deploy Deployment Process
Legend
Windows Azure Web Sites Internals
Git Deployment Process
Legend
Supported PHP Versions
5.4.0
5.3.13
Default Support Customized Support
 Change configurations with .user.ini
 Load extensions via PHP_Extensions
AppSetting
 Bin deploy specific PHP Runtime
 Configure FastCGI Handler in Web Site Configuration
 Uses local php.ini file for extensions and
configurations
Load Balanced Web Site
Windows Azure Web Sites
Creating php cloud applications
Decoupling Application
Components
Tightly Coupled
Tightly Coupled
Loosely Coupled
Loosely Coupled
Loosely Coupled
Loosely Coupled
Windows Azure SDK for PHP
GitHub: http://aka.ms/AZURESDK-PHP
Developer Center: http://aka.ms/Develop-PHP
{
"require": {
"microsoft/windowsazure": "*"
},
"repositories": [
{
"type": "pear",
"url": "http://pear.php.net"
}
],
"minimum-stability": "dev"
}
use WindowsAzureCommonServicesBuilder;
use WindowsAzureCommonServiceException;
use WindowsAzureServiceBusmodelsBrokeredMessage;
$serviceBusRestProxy = ServicesBuilder::getInstance()
->createServiceBusService(SERVICE_BUS_CONNECTION_STRING);
// SERVICE_BUS_CONNECTION_STRING:
// Endpoint=https://[sb-namespace].servicebus.windows.net;
// SharedSecretIssuer=[sb-issuer];
// SharedSecretValue=[sb-access-key]
// Create message
$message = new BrokeredMessage();
$message->setBody($msg);
// Send message
$serviceBusRestProxy
->sendQueueMessage(QUEUE_NAME, $message);
Message Me
Windows Azure Service Bus Queue
Cost, Agility and Reliability
Creating php cloud applications
Cory Fowler
Windows Azure Technical Evangelist
@SyntaxC4
blog.syntaxc4.net http://joind.in/8168
Questions?
Three truths of cloud computing:
hardware fails, software has bugs
and people make mistakes
Resources
 aka.ms/TEK13-Azure
 aka.ms/Tek13-Azure-Code
 aka.ms/WAWS-Cheat
 aka.ms/WAWS-PHP-Troubleshoot
 aka.ms/Develop-PHP
 aka.ms/AZURESDK-PHP
 aka.ms/WA-Silverlining
Creating php cloud applications

More Related Content

PPTX
Microsoft/Zend Webcast on Cloud Computing
PDF
Playing with php_on_azure
PPTX
Microsoft Azure Websites for PHP Developers
PPTX
Php on azure
PDF
Develop and Run PHP on Windows. Say(Hello); to WordPress on Azure
PPTX
Get Some Rest - Taking Advantage of the SharePoint 2013 REST API
PPTX
SharePoint 2013 Search and Creating Dynamic Content Management Solutions
PDF
Spsdc 2014 o365_power_shell_csom_amitv
Microsoft/Zend Webcast on Cloud Computing
Playing with php_on_azure
Microsoft Azure Websites for PHP Developers
Php on azure
Develop and Run PHP on Windows. Say(Hello); to WordPress on Azure
Get Some Rest - Taking Advantage of the SharePoint 2013 REST API
SharePoint 2013 Search and Creating Dynamic Content Management Solutions
Spsdc 2014 o365_power_shell_csom_amitv

What's hot (20)

PDF
Spsct15 power shell_csom - amit vasu
PPTX
Wordpress on Windows
PDF
Office 365 Directory Synchronization
PPTX
Intro to Coldfusion
PDF
RESTFul Tools For Lazy Experts - CFSummit 2016
PPTX
Essential Knowledge for SharePoint Add-Ins
PDF
Spsnyc15 azure and sp2013 amit_v
PDF
ITB2016 - Building ColdFusion RESTFul Services
PPTX
ASP.NET Request Processing Internals
KEY
Automating Web Application Deployment
PPTX
Developing Apps for SharePoint Store
PPTX
Salesforce winter 16 release
PPT
Build Database Applications for SharePoint
PPTX
ECS19 - Vesa Juvonen - SharePoint and Office 365 Development PowerClass
PDF
SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements
PPTX
ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...
PPTX
Html5 Offline Applications
PPTX
Upgrade, Migrate and Virtualisation with SharePoint 2010
PDF
Build sites on iis
PDF
Building better SQL Server Databases
Spsct15 power shell_csom - amit vasu
Wordpress on Windows
Office 365 Directory Synchronization
Intro to Coldfusion
RESTFul Tools For Lazy Experts - CFSummit 2016
Essential Knowledge for SharePoint Add-Ins
Spsnyc15 azure and sp2013 amit_v
ITB2016 - Building ColdFusion RESTFul Services
ASP.NET Request Processing Internals
Automating Web Application Deployment
Developing Apps for SharePoint Store
Salesforce winter 16 release
Build Database Applications for SharePoint
ECS19 - Vesa Juvonen - SharePoint and Office 365 Development PowerClass
SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements
ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...
Html5 Offline Applications
Upgrade, Migrate and Virtualisation with SharePoint 2010
Build sites on iis
Building better SQL Server Databases
Ad

Viewers also liked (8)

PPT
Final review 3850 fall 2011
PPTX
The new final review for promotions
PPTX
Taiwan presentation
PPTX
Five Finger Discount Trends
PPTX
Spring 2011 collages
PPT
Taiwan (1)
PPTX
Taiwan presentation
DOC
Hotel management or reservation system document
Final review 3850 fall 2011
The new final review for promotions
Taiwan presentation
Five Finger Discount Trends
Spring 2011 collages
Taiwan (1)
Taiwan presentation
Hotel management or reservation system document
Ad

Similar to Creating php cloud applications (20)

PDF
Global Windows Azure Bootcamp : Cedric Derue playing with php on azure. (spon...
PPTX
Developing Php Applications On Windows Azure Vijayr Final
PPTX
Running PHP In The Cloud
PDF
Write php deploy everywhere tek11
PPTX
Just Another Word Press Weblog But More Cloudy
PPTX
Just another Wordpress weblog, but more cloudy
KEY
Write php deploy everywhere
PPTX
Drupal DevOps on Microsoft Azure Websites
PPTX
PHP on Windows and on Azure
PPTX
Windows Server Containers
PPTX
BizSpark Startup Night Windows Azure March 29, 2011
PDF
Infrastructure as-code-guide-en-v6 299129
PPTX
Brewing Beer with Windows Azure
PPTX
Exploring Opensource on Microsoft Azure
PPTX
Azure App Service for Windows Container
PPTX
Brewing Beer with Windows Azure
PDF
AWS Summit Singapore 2019 | Microsoft DevOps on AWS
PPTX
Ignite 2017 - Windows Server Feature Release
PPTX
Azure cli-azure devops
PPTX
PHP on Windows
Global Windows Azure Bootcamp : Cedric Derue playing with php on azure. (spon...
Developing Php Applications On Windows Azure Vijayr Final
Running PHP In The Cloud
Write php deploy everywhere tek11
Just Another Word Press Weblog But More Cloudy
Just another Wordpress weblog, but more cloudy
Write php deploy everywhere
Drupal DevOps on Microsoft Azure Websites
PHP on Windows and on Azure
Windows Server Containers
BizSpark Startup Night Windows Azure March 29, 2011
Infrastructure as-code-guide-en-v6 299129
Brewing Beer with Windows Azure
Exploring Opensource on Microsoft Azure
Azure App Service for Windows Container
Brewing Beer with Windows Azure
AWS Summit Singapore 2019 | Microsoft DevOps on AWS
Ignite 2017 - Windows Server Feature Release
Azure cli-azure devops
PHP on Windows

More from Cory Fowler (11)

PPTX
5 Absolutely Beautiful Things about Platform as a Service (PaaS)
PPTX
Lessons learned from running massive WordPress sites at scale
PPTX
How Joomla and Microsoft are a Great Open Source Success
PPTX
Windows Azure Web Sites Mastery
PPTX
Windows azure for startups
PPTX
AzureFest
PPTX
AzureFest
PPTX
XNA On Windows Phone 7
PPTX
Making data rain from the clouds version 2
PPTX
Taking it to the cloud version 3
PPTX
Taking It To The Cloud Version 2
5 Absolutely Beautiful Things about Platform as a Service (PaaS)
Lessons learned from running massive WordPress sites at scale
How Joomla and Microsoft are a Great Open Source Success
Windows Azure Web Sites Mastery
Windows azure for startups
AzureFest
AzureFest
XNA On Windows Phone 7
Making data rain from the clouds version 2
Taking it to the cloud version 3
Taking It To The Cloud Version 2

Recently uploaded (20)

PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Cloud computing and distributed systems.
PDF
Empathic Computing: Creating Shared Understanding
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
A Presentation on Artificial Intelligence
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Understanding_Digital_Forensics_Presentation.pptx
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
NewMind AI Monthly Chronicles - July 2025
Encapsulation_ Review paper, used for researhc scholars
Cloud computing and distributed systems.
Empathic Computing: Creating Shared Understanding
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
20250228 LYD VKU AI Blended-Learning.pptx
The AUB Centre for AI in Media Proposal.docx
A Presentation on Artificial Intelligence
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Chapter 3 Spatial Domain Image Processing.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
MYSQL Presentation for SQL database connectivity
Mobile App Security Testing_ A Comprehensive Guide.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Understanding_Digital_Forensics_Presentation.pptx

Creating php cloud applications

Editor's Notes

  • #13: SetupThis slide will outline the process by which new Windows Azure Web Sites are provisioned and created when a customer submits a new site request.Request ProcessTraffic comes into the Azure load balancer(fade in ARR) Hits the ARR load balancer (extended to support WAWS)(fade in Runtime SQL) Talks to the runtime database to find out which web server the traffic should be routed to(fade in Web Server) Stores metadata about each siteStores data about individual server load and memory usageUpdates every 30 secondsTraffic is routed to the appropriate web serverWhen the traffic hits the web server, it makes a call back to the runtime SQL database to verify the requested site should served from it (added security functionality)(fade in storage controller) If the site is valid, a map is made to the storage controller defining the content of the siteConfig files are generated and saved(fade in web site SQL) If you chose to have a linked database for your site, the linkage to your site’s database is set up automatically(fade in traffic arrow) Traffic then sent back to the Azure load balancer and then the requesting client sees the output
  • #14: SetupThis slide will outline the process by which requests are handled to Windows Azure Web Sites that have already been provisioned.Request ProcessTraffic comes into the Azure load balancer(fade in ARR) Hits the ARR load balancer, which has a list of where sites live and how to direct traffic to themTraffic is routed to the appropriate web server(fade in web server) Traffic is routed to the web server. (fade out web server, fade in multiple web server instances) If the site has multiple instances, traffic is dynamically routed to the least-utilized server(fade in storage controller) Site content is loaded from the storage controller to the web server that was hit(fade in web site SQL) If you chose to have a linked database for your site, data is exchanged between the site and it’s database during the request(fade in traffic arrow) Traffic then sent back to the Azure load balancer and then the requesting client sees the output
  • #15: SetupThis slide will outline the process by which requests are handled to Windows Azure Web Sites that have already been provisioned.Request ProcessTraffic comes into the Azure load balancer(fade in ARR) Hits the ARR load balancer, which has a list of where sites live and how to direct traffic to themTraffic is routed to the appropriate web server(fade in web server) Traffic is routed to the web server. (fade out web server, fade in multiple web server instances) If the site has multiple instances, traffic is dynamically routed to the least-utilized server(fade in storage controller) Site content is loaded from the storage controller to the web server that was hit(fade in web site SQL) If you chose to have a linked database for your site, data is exchanged between the site and it’s database during the request(fade in traffic arrow) Traffic then sent back to the Azure load balancer and then the requesting client sees the output
  • #16: SetupThis slide will outline the process by which requests are handled to Windows Azure Web Sites that have already been provisioned.Request ProcessTraffic comes into the Azure load balancer(fade in ARR) Hits the ARR load balancer, which has a list of where sites live and how to direct traffic to themTraffic is routed to the appropriate web server(fade in web server) Traffic is routed to the web server. (fade out web server, fade in multiple web server instances) If the site has multiple instances, traffic is dynamically routed to the least-utilized server(fade in storage controller) Site content is loaded from the storage controller to the web server that was hit(fade in web site SQL) If you chose to have a linked database for your site, data is exchanged between the site and it’s database during the request(fade in traffic arrow) Traffic then sent back to the Azure load balancer and then the requesting client sees the output