open source technologies in microsoft cloud

36
Open source technologies in Microsoft cloud Alexey Bokov Windows Azure evangelist [email protected] azure_cee

Upload: alexey-bokov

Post on 07-Nov-2014

1.350 views

Category:

Technology


1 download

DESCRIPTION

Open source in Azure - java, Linux, msopentech and Zulu.

TRANSCRIPT

Page 1: Open source technologies in Microsoft cloud

Open source technologiesin Microsoft cloudAlexey Bokov

Windows Azure evangelist

[email protected]

azure_cee

Page 2: Open source technologies in Microsoft cloud

ContentsAzure introMicrosoft open source thingsNice technical thingsRunning java Running LinuxGood things from business side

Q/A ( if there any )

Page 3: Open source technologies in Microsoft cloud

24 CDN points: Ashburn, San Francisco, Chicago, San Antonio, Los Angeles, Miami, Newark, Seattle, Amsterdam, Dublin, London,

Moscow, Paris, Stockholm, Vienna,

Zurich, Hong Kong, Sao Paulo, Seoul,

Singapore, Sydney, Taipei, Tokyo, Doha

8 datacenters: ~ 28 100 sq m ~ 16 MWt - PUE ~ 1.05-1.22 - cost ~ 500М $

Windows Azure - datacenters

North Central US

South East Asia

East AsiaNorth Europe Dublin

West Europe AmsterdamSouth Central

US

East US

West US

Page 4: Open source technologies in Microsoft cloud

Windows Azure - infrastructure

Virtual tour to Datacenter:

ou.gs/dc_tour1

Page 5: Open source technologies in Microsoft cloud

Windows Azure – Dublin datacenter

Global Foundation Services video : ou.gs/gfs_tour

Page 6: Open source technologies in Microsoft cloud

What about latency ?

From\To (ms)North-central

USSouth-central

USNorth Europe West Europe East Asia South-East Asia

North-central US

4.2 35.3 97 103.6 190.9 219.7

South-central US

37.8 2.3 111.2 117.5 190 218.6

North Europe 99.8 111.8 2 20.9 283.3 312.3

West Europe 107.5 118.6 21.1 2.3 291.8 320.8

East Asia 194.5 190.8 284.2 291.7 1.6 32.6

South-East Asia 223.1 219.2 312.9 320.1 32.2 1.9

Azure cross datacenter latenciesc

Page 7: Open source technologies in Microsoft cloud

What service degradation ?

• Hm, sometimes it happenes• Create ticker at our tech support every time

when you see any issues• Contact Micrsoft rep ( it’s me in CEE!! ) to

get 1-1 info• Service dashboard is always available -

windowsazurestatus.com/• Use multi-geo architecture design and

TrafficManager to route traffic on DNS level

Page 8: Open source technologies in Microsoft cloud

What about latency ? Europe is very well-covered, even Russia ( up to Ural )

Page 9: Open source technologies in Microsoft cloud

We have changed as a company and have become more OPEN

Page 10: Open source technologies in Microsoft cloud

We have changed as a company and have become more OPEN

Page 11: Open source technologies in Microsoft cloud

“Given the promising foundation of Windows Azure, we saw an opportunity to provide a cloud deployment and monitoring experience for our customers' existing Java-based enterprise applications...“

-Adi Paz, Executive VP for Marketing & Business Development at GigaSpaces

Microsoft + Java

• Great Java experience on Windows Server and Windows Azure

• Windows Azure plug-in for Eclipse with Java

Page 12: Open source technologies in Microsoft cloud

We have changed as a company and have become more

OPEN

Page 13: Open source technologies in Microsoft cloud

So getting back to real life, what do we have : Web sites which supports most popular web

frameworks and publishing through git Linux based VMs ( Ubuntu, CentOS, Oracle or

_your_ own (based on smth compatible with HyperV )

Mobile Service – push-notifications, OpenAuth 2.0, SDK for IOS, Android, WinPhone

Cloud Services ( PaaS based on Windows ) – not only .NET based projects, you can run Java projects here !

Page 14: Open source technologies in Microsoft cloud

And also don’t forget about nice things in our pocket SQL Azure – relational DB as a service

( SLA 99.95, premium offering for high load apps)

Storage – classical blob storage based on HTTP/S REST.

D Insight – Hadoop as a Service ( put jar inside, but actually it can be anything )

And more like Media Service, Service Bus, CDN, Cache, Traffic Manager….

Page 15: Open source technologies in Microsoft cloud

SQL Azure :- You pay for GB- Premium offer for high-load or

critical Enterpise apps- SLA 99.9% - Two backups by default (one in

another geo)- From $5/month to $30/day

(premium offer)

Page 16: Open source technologies in Microsoft cloud

And yes, now we have: Pay by the minutes billing You can use RDP ( 1C scenario in Russia) SPLA licensing

Oracle are officially supported their DB in Azure

Disk drives in VMs is now better Windows desktop apps hosting

scenario is supported Good discounts for enterprise VM Depot with a lot of vm images

based on linux

Page 17: Open source technologies in Microsoft cloud

And finally we have autoscaling Now is part of platform Watches CPU or Azure Queues

For more custom settings use Wasabi library -

ou.gs/wasabi

Page 18: Open source technologies in Microsoft cloud

VMs – what do we have now :

Memory Intensive – A71.64/2.04/2.13

Large – A3 0.24/0.36/0.4

4 ядра x 1.6Ghz

7.0 GB memory1000 GB storage

400 Mbps network

8 ядер x 1.6Ghz56 GB memory6050 GB

2000 Mbps network

0.02/ /0.06

Extra Small – A0

1 x 1.0GhzShared core

768 MB memory

20 GB storage5 Mbps network

Linux/Windows/SQL Server,

... ...

Page 19: Open source technologies in Microsoft cloud

• There’s ServiceDefinition.csdef

• And ServiceConfiguration.cscfg

• service package file – is actually zip with application code, deployments batches and service definition file

• When we start service in Windows Azure :• Via windowsazure.com service package file loading

to Windows Azure ( в Red-Dog Front End – RDFE )

• RDFE actually unpack service package file and copy it to Fabric Controller of required region

• Fabric Controller save this service package file in its own repository, start VM and deploy service package

So how our PaaS works ?

Page 20: Open source technologies in Microsoft cloud

<ServiceDefinition name="MyService" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition"> <WebRole name="WebRole1">

<Startup> <Task commandLine="Startup.cmd"

executionContext="limited" taskType="simple"> </Task>

</Startup> </WebRole> </ServiceDefinition>

ServiceDefinition.csdef

Page 21: Open source technologies in Microsoft cloud

We can modify WorkerRole1\approot\startup.cmd

For example we donwnload tomcat and install this, but also we can do git clone or svn co - so RUN JAVA, RUN!

cscript /B /Nologo %APPROOT%\util\unzip.vbs apache-tomcat-6.0.32-windows-x86.zip %APPROOT%cscript "util\download.vbs" "http://tcontepub.blob.core.windows.net/packages/jre6.zip"

cscript /B /Nologo %APPROOT%\util\unzip.vbs jre6.zip %APPROOT%

copy %APPROOT%\foo.war %APPROOT%\apache-tomcat-6.0.32\webapps

cd %APPROOT%\apache-tomcat-6.0.32\binset JRE_HOME=%APPROOT%\jre6

So now we can do interesting things!

Page 22: Open source technologies in Microsoft cloud

Let go to Java world!

You can develop on using

Eclipse (on Windows )

You may use ANT to

build/deploy

Startup. Cmd is always option

to configure all things

Not like Windows-based PaaS

– here’s Linux with REST API

to manage VMs ( and then

root ssh )

Page 23: Open source technologies in Microsoft cloud

If Java, why Oracle ?

We have option called ZULU!

Page 24: Open source technologies in Microsoft cloud

Enjoy Zulu java!

Zulu – OpenJDK port ( by Azul ) for

Windows Azure

ISV-friendly binary licensing for easy

embedding with 3rd party applications

( GPL v2 )

Looks like Azul will support it and open to

collaboration with community

Check it out: ou.gs/azul

Page 25: Open source technologies in Microsoft cloud

Your own linux in Azure ?Yes,if HyperV supports this

What you need is to add Linux agent

to your disto.

Linux agent responsible for

interacting with Windows Azure

Fabric Controller

Sources: ou.gs/wa_linux

Manual: ou.gs/agent

Page 26: Open source technologies in Microsoft cloud

CodePlex.com – good place for open source

Supported: TFS, git, mercurial, svn

Have wiki, issue tracker, forums

>300к active contibutors

28 000 projects

Page 27: Open source technologies in Microsoft cloud

Open source frameworks

SDK for PHP: phpazure.codeplex.com

Ruby on Rails SDK: rubyonrailsinazure.codeplex.com

DNN - DotNetNuke CMS: dotnetnuke.codeplex.com

Lucene.NET (use blobs ): azuredirectory.codeplex.com

Python for Visual Studio: pytools.codeplex.com

ASP.NET web stack (MVC, Web API ):

aspnetwebstack.codeplex.com

Page 28: Open source technologies in Microsoft cloud

Cloud Ninja: cloudninja.codeplex.com Open source - multi-tenant app You base your app on these code Metering ( including storage inboud/outbound bandwith usage, and

billable transactions ) Automated Scaling Federated Identity

Storage Analytics Authorization via ACS Provisioning Metering Charts

Page 29: Open source technologies in Microsoft cloud

github.com/WindowsAzure

SDK inside :

.NET SDK

Java SDK

Node.js

PHP

Python

Ruby

Mobile Services – IOS, Android, Windows Phone, JavaScript, WindowsStore

PowerShell and node.js scripts

IISNode ( node.js hosting on IIS )

Page 30: Open source technologies in Microsoft cloud

How to Azure : Tips and trick 30 days trials on windowsazure.com2y trial for MSDN members3y trial for BizSpark member ( very easy to join! ) – each BizSpark trial includes 8 MSDN subscriptions

You may try to get Windows Azure Offer $60K for 2y25% discount to MSDN members for out-of-limit Azure usage

GREAT, BIG DISCOUNTS via Enterprise Agreement!

Page 31: Open source technologies in Microsoft cloud

Business support, if you do app based on Azure:We can do co-marketingYou will have technical and business persons to contact with

You may have great discounts on cloud

Early access to betas and updates

Participation in Microsoft activities – events, road-show, campaign, business and tech trainings

Yes, we have Go-To-Market program for our partners which run on a global level and we can help you to open doors in specified region/industry

Page 32: Open source technologies in Microsoft cloud

Online resourcesmsopentech.com

All questions about Azure in CEE

[email protected]

CEE Azure user group in Facebook

ou.gs/azure_ceeLast new in our twitter@azure_cee

Open technologies in CEE

@OpennessAtCEE

Open technologies in CEE

opennessatcee.com

Page 33: Open source technologies in Microsoft cloud

Your questions…

Page 34: Open source technologies in Microsoft cloud

Bokov [email protected] twitter.com/abokov You may find all my slides here:

slideshare.net/abokov

Thank you !

Page 35: Open source technologies in Microsoft cloud
Page 36: Open source technologies in Microsoft cloud

© 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.