ndows Azure Conference 2014 Windows Azure Conference 2014 Running Linux workloads on Windows Azure
Dec 17, 2015
Windows Azure Conference 2014
Windows Azure Conference 2014 Running Linux
workloads on Windows Azure
Windows Azure Conference 2014
Agenda
• Why Linux• Linux Deployments• Understanding a Linux VM• Top Linux Scenarios • Linux Open Source Strategy
Windows Azure Conference 2014
Linux Built on Persistent VM Role*Some Features not present in Linux at Preview
Windows Azure Virtual Machines
Linux Windows
WA Linux Agent Windows Setup
IC Drivers
CertsSSHKeys
Windows Azure Conference 2014
The Technology to Provision a Linux Platform Image
Portal (API)HyperVisor
VM
OS
Data
Cache
ISO
Partner Repository
Customer’s Storage Account
Stock Images
Provisioning Repository
Unattend
Add Server Hostname Password …
Cache.VHD
Storage API
OS Disk
Data Disk
Linux Agent
ICs
Windows Azure Conference 2014
It’s time. . .to virtualize every workload
. . .to rethink storage
. . .to simplify networking
. . .to expand business continuity
. . .to embrace hybrid services
. . .to unify application management
Windows Azure Conference 2014
Windows Azure Linux Agent
HV1 HV2
VM
Service Management API Windows Azure provided DNS
Host1Host2
Windows Azure Conference 2014
Bring Your Own Linux
Expert Customers that want to tweak , customize, create images based on supported* distributionsCustomer will
Use Hyper-V to install DistributionAdd ICs and AgentGenerate the VHDCapture configurationGenerate resourcesUpload and start instance
Linux Native: Tools, libraries, scripts
Windows Azure Conference 2014
VM
Service Management API
XStore
Customer Personal Image Repository
Customer Storage Account
VHD
VHD
Bring Your Own Linux
PORTAL
VHD
Windows Azure Conference 2014
Linux on Azure Open Source StrategyOpen Source Linux AgentFully documented APIsFor Linux IT professionals provisioning and management operations:
Native scriptsNative libraries (open sourced)Native tools (open sourced)
For Linux developersClient LibrariesDocumented interfaces
Windows Azure Conference 2014
Cross Platform Command Line
• X-Plat command line tool is implemented in JavaScript powered by Node.jshttp://www.windowsazure.com/en-us/downloads/#cmd-line-tools
Windows Azure Conference 2014
X-Plat CLI Linux Installation Guidance• Install the latest Node.js
https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
• NPM ( Node Package Manager )• Install Azure CLI: npm install azure-cli -g
Windows Azure Conference 2014
Configuring X-Plat CLI for Azure• Azure Account Download• Azure Account Import
Windows Azure Conference 2014
X-Plat CLI to Create Azure Objects• Azure Account Affinity-Group• Azure Storage Account• Azure Website Create• Azure VM Disk Attach• Azure SQL Server Create
Node.JS Developer Centerhttp://www.windowsazure.com/en-us/develop/nodejs/
Windows Azure Conference 2014
Create and Delete Azure VM with CLI• Show VM Image
Azure VM Image List
• Create VM
Azure VM Create vmname imagename adminusername adminpassword --location “image region”
• Check the VM
Azure VM Show vmname
• Delete the VM
Note : You don’t need to put –ssh as ssh port 22 is automatically added
Windows Azure Conference 2014
Distribution Version Drivers Kernel Compatibility Patch Agent
Canonical UBUNTU Ubuntu 12.04.1, 12.10, and 13.04 In Kernel Required for 12.04 or 12.0
4.01 only
Package: In package repo under walinuxagent Source: GITHUB
CENTOS by Open Logic CentOS 6.3+CentOS 6.3: LIS drivers; CentOS 6.4+ drivers: in Kernel
Required for 6.3 onlyPackage:In Open Logic package repounder walinuxagentSource: GITHUB
Oracle Linux 6.4+ In Kernel N/APackage: In repo, name: WALinuxAgent Source: GITHUB
SUSE Linux Enterprise SLES 11 SP3+ In Kernel N/APackage: In Cloud:Tools repo, name: WALinuxAgentSource Code: GITHUB
openSUSE OpenSUSE 13.1+ In Kernel N/APackage: In Cloud:Tools repo, name: WALinuxAgentSource Code: GITHUB
Windows Azure Conference 2014
Web Content Management Systems (WCMS)Drupal Platform and content management system written in PHPJoomla! Award-winning system to build Web sites and powerful online applicationsCMS Made Simple For corporate websites, or the website promoting a team or organization,XOOPS eXtensible Object Oriented Portal SystemPlone Running on top of Python, Zope and the CMFContao (formerly TYPOlight) Specializes in accessibility (back end and front end)eZ Publish Professional PHP application framework with advanced CMSdotCMS Java Open Source Web Content Management SystemMODx Powerful framework to deploy and secure websites and web applicationsSilverStripe Flexible, open source programming framework, and CMSMambo Dynamic portal engine and content management systemmiaCMS Content Management Made EasyImpressCMS Community developed Content Management SystemTypo3 Small to midsize enterprise-class content management system.Textpattern Flexible, elegant and easy-to-use open source content management systeme107 Portal or CMS using PHP and MySQLPluck Focuses on user friendliness; lets anyone to manage a websiteRadiant No-fluff, fairly friendly, easy to use and customize CMSFrog CMS CMS SimplifiedNanoCMS Tiniest, simplest, flat-file, PHP based CMSSkyBlueCanvas For small web sites; easy-to-use, extensible and skinnable