Top Banner
Madhan Arumugam Ramakrishnan Principal PM Manager, Azure @madhanwa How to Deploy Linux/OSS on Azure
19

Ubuntu, SUSE, OpenSUSE, CentOS & Oracle EL + hundreds on VM Depot Bring your own framework! Ecosystem Supported Microsoft 1st Party Support.

Jan 04, 2016

Download

Documents

Amos Davis
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Ubuntu, SUSE, OpenSUSE, CentOS & Oracle EL + hundreds on VM Depot Bring your own framework! Ecosystem Supported Microsoft 1st Party Support.

Madhan Arumugam RamakrishnanPrincipal PM Manager, Azure@madhanwa

How to Deploy Linux/OSS on Azure

Page 2: Ubuntu, SUSE, OpenSUSE, CentOS & Oracle EL + hundreds on VM Depot Bring your own framework! Ecosystem Supported Microsoft 1st Party Support.

Microsoft ♥ Linux

Page 3: Ubuntu, SUSE, OpenSUSE, CentOS & Oracle EL + hundreds on VM Depot Bring your own framework! Ecosystem Supported Microsoft 1st Party Support.

Azure Linux and OSS support

Languages

CMS

Devices

Databases

Operating systems

Ubuntu, SUSE, OpenSUSE, CentOS & Oracle EL + hundreds on VM Depot

Dozens of .NET & PHP CMS and Web applications

Bring your own framework!

Via cross-platform & native code approaches

Ecosystem SupportedMicrosoft 1st Party Support

IDE

Page 4: Ubuntu, SUSE, OpenSUSE, CentOS & Oracle EL + hundreds on VM Depot Bring your own framework! Ecosystem Supported Microsoft 1st Party Support.

Public Cloud Application patterns

Use Public cloud as a Dev/Test

environment

Lift and Shift

existing applications from on

premises to Cloud

Hybrid – backup to Cloud, Use

Cloud capacity for

Disaster Recovery

Build Cloud Scale

applications and

services

Focus of this session

Page 5: Ubuntu, SUSE, OpenSUSE, CentOS & Oracle EL + hundreds on VM Depot Bring your own framework! Ecosystem Supported Microsoft 1st Party Support.

Getting started Azure Account

Subscription(s) Cloud Service(s)

Virtual Machine(s) Virtual Network(s) Storage Account(s)

Storage Container(s) Storage Blob(s)

Website(s) Database(s) …

azure.microsoft.com/en-us/documentation/articles/azure-subscription-service-limits/

Object Limit

Subscription120 Create/Add operations in 5 minute window

Cloud Service 200 per subscription

Virtual Machine50 per cloud service2048 per Virtual Network

Virtual Network 100 per subscription

Storage Account 100 per subscription

Storage Container No Limit

Storage Blob 40 per storage account

Limits

Page 6: Ubuntu, SUSE, OpenSUSE, CentOS & Oracle EL + hundreds on VM Depot Bring your own framework! Ecosystem Supported Microsoft 1st Party Support.

Dev/Test – Get Azure account and subscription

Free Trial

Save 33-97%

MSDN Azure Benefit 3 VMs for 24 hrs/day

50 Hadoop nodes for 10 hrs

Up to 100 web sites + DB

Page 7: Ubuntu, SUSE, OpenSUSE, CentOS & Oracle EL + hundreds on VM Depot Bring your own framework! Ecosystem Supported Microsoft 1st Party Support.

Azure CLI

Getting started – Key components

Azure

Linux Integration Services

Azure Linux Agent

Curated Extensions

Page 8: Ubuntu, SUSE, OpenSUSE, CentOS & Oracle EL + hundreds on VM Depot Bring your own framework! Ecosystem Supported Microsoft 1st Party Support.

Node based implementation that wraps common Azure service management API https://github.com/Azure/azure-xplat-cli

Works in Linux, Mac or WindowsEg., for Ubuntu 14.04+

sudo apt-get install nodejs-legacysudo apt-get install npmsudo npm install -g azure-cliazure account import /path to publish settings/ azure account list

http://azure.microsoft.com/en-us/documentation/articles/command-line-tools/#Commands_to_manage_your_Azure_virtual_machines

Azure Command Line Interface

Page 9: Ubuntu, SUSE, OpenSUSE, CentOS & Oracle EL + hundreds on VM Depot Bring your own framework! Ecosystem Supported Microsoft 1st Party Support.

Manages interaction between software running in a VM and Azure Compute Fabric

Provisioning of the image (host name, user account, SSH keys, disk mgmt)

Manages networking (routes for DHCP servers, networking interface name)

Kernel functions (virtual NUMA, Hyper-V entropy & SCSI timeouts)

Redirects console to the serial port for debugging Enables 1st and 3rd party Partner extension ecosystem (session

later today!) Open sourced - https://github.com/Azure/WALinuxAgent, install

using RPM//DEB package, or by copying the binaries to /usr/sbin/waagent

Commands – install, uninstall, deprovision, deprovision+user, version, serialconsole, daemon

Logs are at /var/log/waagent.log

Azure Linux Agent

Page 10: Ubuntu, SUSE, OpenSUSE, CentOS & Oracle EL + hundreds on VM Depot Bring your own framework! Ecosystem Supported Microsoft 1st Party Support.

Development drivers and enlightenments to take advantage of HyperV features

If you care about performance of application running within the Linux VM, make sure you have the latest installed for your distro of choice

https://github.com/LIS/ http://

blogs.technet.com/b/virtualization/archive/2014/01/02/linux-integration-services-3-5-announcement.aspx

http://www.microsoft.com/en-us/download/details.aspx?id=41554

Linux Integration Services (LIS)

Page 11: Ubuntu, SUSE, OpenSUSE, CentOS & Oracle EL + hundreds on VM Depot Bring your own framework! Ecosystem Supported Microsoft 1st Party Support.

Published, maintained and supported by partners, curated & tested by Microsoft Standard Images Customers to contact Linux vendor/partner for Linux support Azure-related platform issues supported by Microsoft

Premium Images Microsoft engages the Linux vendor/partner on behalf of the customer for support Includes updates, patches, and support through 24x7 web, email, chat and phone SUSE SLES 11SP3 only

Azure Endorsed Linux Distributions

Page 12: Ubuntu, SUSE, OpenSUSE, CentOS & Oracle EL + hundreds on VM Depot Bring your own framework! Ecosystem Supported Microsoft 1st Party Support.

Azure Linux – Support matrix

Page 15: Ubuntu, SUSE, OpenSUSE, CentOS & Oracle EL + hundreds on VM Depot Bring your own framework! Ecosystem Supported Microsoft 1st Party Support.

Multi-tier VM deployment Cloudera, Datastax, etc.,

Integration with existing tools for VM Management and Dev Ops Configuration Management: Chef, Docker (session later today!) OS Patching More coming soon

VM Customization Capture/restore - azure vm capture -v --json -t vmname imagename

Lift/Shift existing app - Deployment needs

Page 16: Ubuntu, SUSE, OpenSUSE, CentOS & Oracle EL + hundreds on VM Depot Bring your own framework! Ecosystem Supported Microsoft 1st Party Support.

Ja

Language Frameworks - Java

IaaS• Windows or Linux

VMs• Official Oracle JDK v6

& v7• Pre-configured VMs• Oracle WebLogic, VM

Depot Java Image, or your own JVM

• Jenkins/Hudson plugins

PaaS• 64 bit OpenJDK build

by Azul (Zulu)• Or bring any VM• Eclipse/IntelliJ plugins

for deployment, monitoring and management

• JDBC driver for SQL DB

Services

• Azure SDK for Java: Blob, table, queue, service bus, SQL, etc

• Other Azure SDKs and azure-cli / tools

Page 17: Ubuntu, SUSE, OpenSUSE, CentOS & Oracle EL + hundreds on VM Depot Bring your own framework! Ecosystem Supported Microsoft 1st Party Support.

Language frameworks – OSS Azure Service Management support (SDK)

PHP Python PHP Ruby

Dev center with lots of samples, API references and support links

Issues? Please let us know http://azure.microsoft.com/en-us/support/forums/

Page 18: Ubuntu, SUSE, OpenSUSE, CentOS & Oracle EL + hundreds on VM Depot Bring your own framework! Ecosystem Supported Microsoft 1st Party Support.

Azure ♥ Linux

Page 19: Ubuntu, SUSE, OpenSUSE, CentOS & Oracle EL + hundreds on VM Depot Bring your own framework! Ecosystem Supported Microsoft 1st Party Support.

© 2014 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.