open source technologies in microsoft cloud
DESCRIPTION
Open source in Azure - java, Linux, msopentech and Zulu.TRANSCRIPT
Open source technologiesin Microsoft cloudAlexey Bokov
Windows Azure evangelist
azure_cee
ContentsAzure introMicrosoft open source thingsNice technical thingsRunning java Running LinuxGood things from business side
Q/A ( if there any )
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
Windows Azure – Dublin datacenter
Global Foundation Services video : ou.gs/gfs_tour
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
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
What about latency ? Europe is very well-covered, even Russia ( up to Ural )
We have changed as a company and have become more OPEN
We have changed as a company and have become more OPEN
“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
We have changed as a company and have become more
OPEN
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 !
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….
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)
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
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
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,
... ...
• 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 ?
<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
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!
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 )
If Java, why Oracle ?
We have option called ZULU!
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
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
CodePlex.com – good place for open source
Supported: TFS, git, mercurial, svn
Have wiki, issue tracker, forums
>300к active contibutors
28 000 projects
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
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
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 )
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!
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
Online resourcesmsopentech.com
All questions about Azure in CEE
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
Your questions…
Bokov [email protected] twitter.com/abokov You may find all my slides here:
slideshare.net/abokov
Thank you !
© 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.