TechDays 2014 : tour d'horizon de Java dans Azure

23

Transcript of TechDays 2014 : tour d'horizon de Java dans Azure

Page 1: TechDays 2014 : tour d'horizon de Java dans Azure
Page 2: TechDays 2014 : tour d'horizon de Java dans Azure

Architecture/Azure/Cloud

Java / OpenJDK sur Windows Azure

Thomas ContéTechnical Evangelist, Microsoft

@tomconte

Page 3: TechDays 2014 : tour d'horizon de Java dans Azure

Architecture/Azure/Cloud#mstechdays

Depuis votre smartphone sur :http://notes.mstechdays.fr

De nombreux lots à gagner toute les heures !!!Claviers, souris et jeux Microsoft…

Merci de nous aider à améliorer les Techdays !

Donnez votre avis !

Page 4: TechDays 2014 : tour d'horizon de Java dans Azure

Architecture/Azure/Cloud#mstechdays

Java sur Windows Azure

IaaS• VMs Windows ou

Linux• Oracle JDK v6 & v7• VMs préconfigurées• Oracle WebLogic,

VM Depot Java Image, ou votre propre JVM

PaaS• OpenJDK 64bit

fourni par Azul (Zulu)

• Ou partez d’une JVM standard

• Plugin Eclipse pour le déploiement

Services• SDK Windows

Azure pour Java: Blob, Table, Queue, Service Bus, SQL, etc.

• Outils en ligne de command azure-cli

Page 5: TechDays 2014 : tour d'horizon de Java dans Azure

Architecture/Azure/Cloud#mstechdays

• Accord avec Oracle– Machine Virtuelles– Oracle JDK– WebLogic

• Partenariats Open Source– OpenJDK / Azul– VM Depot– Cloud Services avec Tomcat– Windows Azure plug-in for Eclipse with Java

Microsoft + Java

“This initiative is all about bringing Java to the masses in the cloud. We will be providing a fully open and unconstrained Java environment – with open choice of third-party stacks – for developers and essential applications deployed on Windows Azure.”Scott Sellers, Azul Systems President and CEO

En production le 12 mars !

Page 6: TechDays 2014 : tour d'horizon de Java dans Azure
Page 7: TechDays 2014 : tour d'horizon de Java dans Azure

Architecture/Azure/Cloud#mstechdays

INFRASTRUCTURE AS A SERVICE

Partenariat avec OracleMachines Virtuelles prêts à l’emploi sur VMDepot

Page 8: TechDays 2014 : tour d'horizon de Java dans Azure

Architecture/Azure/Cloud#mstechdays

Les poules ont des dents!

“The two companies have decided to become friends in a way that's really good for their enterprise customers. Ultimately, any time the big software companies agree to work together, enterprises win.”

JULIE BORT

“Now, Hyper-V is clearly a near-first class citizen in Oracle’s world and that alone is worth a headline.”

BARB DARROW

Page 9: TechDays 2014 : tour d'horizon de Java dans Azure

Le partenariat

Page 10: TechDays 2014 : tour d'horizon de Java dans Azure

Le partenariat

Les logiciels Oracle sur Windows Server Hyper-V et Windows Azure

Java entièrement supporté dans Windows Azure Mobilité des licences Oracle dans Windows Azure Oracle propose Oracle Linux sur Windows Azure

Page 11: TechDays 2014 : tour d'horizon de Java dans Azure

démo

Architecture/Azure/Cloud#mstechdays

IAAS

JDK Oracle sur une VMVMs préconfigurées sur VMDepot

Page 12: TechDays 2014 : tour d'horizon de Java dans Azure

Plus d’informations…

http://msdn.microsoft.com/en-us/library/dn439770.aspx

Page 13: TechDays 2014 : tour d'horizon de Java dans Azure

Architecture/Azure/Cloud#mstechdays

JENKINS DANS WINDOWS AZURE

Page 14: TechDays 2014 : tour d'horizon de Java dans Azure

Jenkins dans Windows Azure

azure vm create tomjenkins -o vmdepot-23932-1-32 -l "West Europe" \tom --ssh --ssh-cert ./certs/myCert.pem

Page 15: TechDays 2014 : tour d'horizon de Java dans Azure

Plug-in Jenkins pour Blob Storage

Page 16: TechDays 2014 : tour d'horizon de Java dans Azure

Architecture/Azure/Cloud#mstechdays

PLATFORM AS A SERVICE

Java dans les Cloud Services

Page 17: TechDays 2014 : tour d'horizon de Java dans Azure

Architecture/Azure/Cloud#mstechdays

• Windows Azure Plugin for Eclipse with Java – (by MS Open Tech), October 2013 Preview

• Zulu, an OpenJDK Build for Windows Azure

• Windows Azure Libraries for Java, v0.4.6

• Exemple: Hello World avec le plugin• Exemple: Cloud Ninja pour Java sur

Github

Java dans Windows Azure Cloud Services

Page 18: TechDays 2014 : tour d'horizon de Java dans Azure

Architecture/Azure/Cloud#mstechdays

• JDK 1.6+• Eclipse IDE for Java EE Developers, Indigo ou plus• Compatible avec le Windows Azure SDK 2.2• S’installe directement depuis le « Install New

Software » d’Eclipse• Ajoute automatiquement…

– Microsoft JDBC Driver 4.0 for SQL Server– Package for Apache Qpid Client Libraries for JMS– Package for Windows Azure Libraries for Java– Windows Azure Access Control Services Filter

Plugin Windows Azure pour Eclipse

Page 19: TechDays 2014 : tour d'horizon de Java dans Azure

Architecture/Azure/Cloud#mstechdays

• Azul Systems est une société spécialisée dans les JDK hautes performances depuis 1995

• Zulu est une version d’OpenJDK supportée sur Azure tout en restant Open Source et gratuite

• Compatible avec Java SE 7, vérifié avec le Java SE 7 OpenJDK Community TCK

• Intégré avec le Windows Azure Plugin for Eclipse• Patchs et bug fixes sont rendus à la communauté

OpenJDK par Azul• La licence runtime permet aux ISV d’inclure facilement

Zulu dans leurs applications

Zulu OpenJDK pour Azure par Azul Systems

Page 20: TechDays 2014 : tour d'horizon de Java dans Azure

démo

Architecture/Azure/Cloud#mstechdays

HELLO WORLD

Plugin Windows Azure pour Eclipse

Page 21: TechDays 2014 : tour d'horizon de Java dans Azure

Architecture/Azure/Cloud#mstechdays

Storage

• Blob• Create/Read/Update/Delete containers• Create/Read/Update/Delete blobs

• Queue• Create/Delete Queues• Insert/Peek Queue Messages• Advanced Queue Operations

• Table• Create/Read/Update/Delete tables• Create/Read/Update/Delete entities• Batch operation

Service Bus

• Queues• Create/Read/Update/Delete queues• Send/Receive/Unlock/Delete messages• Renew message lock• Message forwarding

• Topics• Create/Read/Update/Delete topics• Create/Read/Update/Delete subscriptions• Create/Read/Update/Delete rules• Send/Receive/Unlock/Delete messages• Renew message lock• Message forwarding

Windows Azure Libraries for Java

Media Services

• Create/Read/Update/Delete access policies• Create/Read/Update/Delete asset files• Create/Read/Update/Delete assets• Create/Read/Update/Delete/Rebind content keys• Create/Read/Update/Cancel/Delete jobs• Add/Get job notifications• Create/Read/Update/Delete notification endpoints

Service Management

• Manage affinity groups

Service Runtime

• Retrieve information about the state of your Azure Compute instances

Page 22: TechDays 2014 : tour d'horizon de Java dans Azure

Architecture/Azure/Cloud#mstechdays

• http://persistentsys.github.io/cloudninja-for-java/• The Cloud Ninja for Java application encompasses the

following points:– Tenant on boarding– Tenant level customization (for example, managing logos)– Data isolation for Tenant– Metering for Tenant– Providing support for log-in via different identity providers (for example,

Yahoo!, Google, Windows Live ID)

• This application also demonstrates how to use the various Windows Azure Services such as:– ACS– Windows Azure Storage– SQL Azure database and so on.

Cloud Ninja

Page 23: TechDays 2014 : tour d'horizon de Java dans Azure

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

Digital is business