Андрей Бойко - azure web app для php и node.js разработчиков
TRANSCRIPT
App Service Web Appsfor PHP and Node.JS developers
Anton Boyko
Microsoft Azure MVP
Agenda
Web App creation
Language Support
Deployment
Source Control Integration
Scale
Web Jobs
Site Slots
Traffic Manager
Backup
Hybrid Connections
Web Apps Architecture
Fastest way to build for the cloud
The three ways to host your applications on the Microsoft Azure Platform
Infrastructure as a Service
IaaS
Platform as a Service
PaaS
Host your applications on Azure
.NET
Python
Develop apps with…
Node.js
Java
PHP
Continuous Deployment
Production Slot
Source Control / Code Repo Staging Slot
Commits
Agility through Continuous Deployment
Auto-Swap
Changes
Hooks
Git pull
Developer
GitHubVisual Studio
Online
Git BitBucketCodePlex DropBox FTP
Choose your own adventure!
Source Control
Scale
1 6Instance Count Instances
Manual Scaling
AutoScale
AutoScale
AutoScale
2 6
60 80
Instance Count
CPU Percentage
Memory
Percentage
Disk Queue
Length
HTTP Queue
Length
Data In
Data Out
Percent
Instances
[Metric]
Auto-Scaling (Metrics)
AutoScale
Rule
CPU: 40%
AutoScale
Rule
CPU: 40%
CPU: 70%-90%Duration
Cool down
Only Scales the Web Tier
Scale Up/Down is not instantaneous
Auto-Scale Considerations
Deployment Slots
swap
One Web App. Multiple deployments.
Staging
slot
Production
slot
Streamline dev, test and production deployment workflow
Swap staging and production with zero downtime
Instantaneous rollback to previous “last known good site”
Enables A/B testing, continuous deployment, staged publishing and much more
Web App
Web App
Staging
Web Jobs
Light-weight CPU Intensive Tasks
run.cmd, run.bat run.exe run.ps1 run.sh run.php run.py run.js
BlobTrigger, TableTrigger, QueueTrigger, ServicebusTrigger
Scale: Singleton, Multi-instance
Job Type: On-Demand, Scheduled, Continuous
WebJobs SDK Feature:
Deployment: Portal, Visual Studio, CLI, Git
WebJobs
WebJobs
Traffic Manager
App
Service
Web App
footprint
17 regions worldwide in 2015
www.yourapp.com
Intelligent customer routing with Traffic Manager
www.yourapp.com
Backup
Web App Files
Backups
Database (Optional)
Backups
Web App Files
Web App Settings Manifest
Backups
Database (Optional)
Web App Files
Hybrid Connections
Web App
Mobile App
Corporate Network
Microsoft SQL Server
Hybrid Connection
Other published
resourcesHybrid
Connection
Manager
Hybrid Connections
Web Apps Architecture
Web Apps Architecture
Microsoft Azure
Load Balancer
Runtime Database
Application Database
API Endpoint
Frontend (IIS ARR)
Publish Endpoint Blob Storage
File Server
Metering
Deployment
Server(s)
Q & A
Anton Boyko
Microsoft Azure MVP
it-community.in.ua
facebook.com/groups/azure.ua
youtube.com/user/boykoant