We explore the various possibilities to deploy, run and operate Magento on Azure with best practices for dev/test environments and production environments.
We also touch on setting up a CI architecture leveraging Azure support for technologies as Git repositories and Chef or Puppet VM based architectures
4. #mm16it #magentoOnAzure @vflorusso
+Hundreds of community
supported images on
VM Depot
SQL Server
Not only Microsoft…
Web App Gallery
Dozens of .NET & PHP
CMS and Web apps
Microsoft Azure
1 in 4 VMs on Azure
are Linux
5. #mm16it #magentoOnAzure @vflorusso
The Microsoft Open Source Momentum
Dead and buried:
Microsoft's holy war on
open-source software
“Years ago, Microsoft's CEO
described open source as a
cancer. Times have changed.
Just ask 22-year Redmond
veteran and open-source
proponent Mark Hill.”
Charles Cooper
Redmond top man
Satya Nadella:
'Microsoft LOVES Linux‘
Neil McAllister
Microsoft: the Open
Source Company
“This is not your dad’s
Microsoft”
Steven J. Vaughan-Nichols
“Azure Container Service is different
and offers the broadest hint yet that
Microsoft wants to build real
products with open source, not
merely leverage it where it's
convenient”
Serdar Yegulalp
11. #mm16it #magentoOnAzure @vflorusso
Virtual Machine
https://vmdepot.msopentech.com/List/Index?sort=Featured&search=magento
Create from Portal Contribute to community images
13. #mm16it #magentoOnAzure @vflorusso
Options to scale
App Service and managed MySQL
Web: Scale out/up based on autoscale rules
Managed MySQL: change tier to dedicated
VM
Clone VHD
Load balancer
MySQL Mirror or Galera/XtraDB cluster (recommended)
14. #mm16it #magentoOnAzure @vflorusso
App Service
Front End
Redis Cache
Static content
MySQL Service
CDN
Front End
Redis Cache
Static content
MySQL Service
Traffic Manager
16. #mm16it #magentoOnAzure @vflorusso
Networking
Network Security Groups
Define routing rules
Virtual Networks
Private connectivity among App Service and VMs
On Premise Connectivity via Site-2-Site VPN gateway
ExpressRoute
MPLS based fast connectivity with SLA
18. #mm16it #magentoOnAzure @vflorusso
Tools to automate
Command line:
Linux/Mac: NodeJS based CLI
Windows: Powershell
Everything else: rest APIs
Ops Frameworks:
Vagrant
Chef
Puppet
and…
19. #mm16it #magentoOnAzure @vflorusso
Tools to automate: Docker
Docker support
As a service: Container service
In VMs: Docker extension
Script with Compose
Operate with Swarm
3rd party
Kubernetes
Mesos
Deis
21. #mm16it #magentoOnAzure @vflorusso
App Monitoring
Web Site Metrics
VM Metrics
MySQL Metrics
App Insights: PHP analytics
Configurable Alerts
Security Center: discover security threats
22. #mm16it #magentoOnAzure @vflorusso
Wrapping up…
App Service + MySQL VM based
Provision Portal, bash, Powershell, JSON templates
FrontEnd On Windows
IIS
Managed by Microsoft
Autoscale Rules
Any OS
Any AppServer
Managed by you
Autoscale on VM Scale Sets
MySQL Uses Galera replication
Managed by 3rd Party
Support integrated by Microsoft
Use you own replication
Managed by you
Support on the OS by Microsoft
Operate Portal, Rest API, AppInsight API Portal, Rest API, AppInsight API
DevOps Azure APIs, Git Azure APIs, Chef, Puppet,
Vagrant, Docker, Git
Secure Azure AD, Network Security Groups
…and you can mix approaches (i.e. Front-End on App Service – Virtual Network – MySQL Cluster on VMs)
24. #mm16it #magentoOnAzure @vflorusso
>90,000
New Azure customer
subscriptions/month
1.5Trillion
Messages per month
processed by Azure IoT
>500Million
Users in
Azure Active Directory
777Trillion
Storage Transactions
per day
>1.5Million
SQL Databases
running on Azure
>40%
Revenue from
Start-ups and ISVs
Azure momentum