cloud computing packaged software storage servers networking o/s middleware virtualization data...
Post on 18-Jan-2016
220 Views
Preview:
TRANSCRIPT
Java on Microsoft AzureBrian Benz and Chris Risner
DEV-B384
AgendaWhy Java on Azure?Hosting optionsVirtual MachinesCloud Services & ToolingWeb SitesQuestions
Heavily used inside and outside the EnterpriseRegularly in top 3 languages on GitHubCross-platform capable
Runs on WindowsRuns on Linux (20% of Azure hosting)Runs on phonesMany server options
Why Java on Azure?
Virtual MachinesOracle
WebLogic ServerDatabaseLinux
Windows ServerLinux
Cloud ServicesWeb Sites
Java Hosting on Azure
Cloud ComputingPackaged Software
Storage
Servers
Networking
O/S
Middleware
Virtualization
Data
Applications
Runtime
You m
anag
e
Infrastructure(as a Service)
Storage
Servers
Networking
O/S
Middleware
Virtualization
Data
Applications
Runtime
You m
anag
e
Platform(as a Service)
You m
anag
e
Storage
Servers
Networking
O/S
Middleware
Virtualization
Applications
Runtime
Data
Software(as a Service)
Storage
Servers
Networking
O/S
Middleware
Virtualization
Applications
Runtime
Data
Java on Microsoft Azure: IaaS
IaaS• Windows or Linux
VMs• Official Oracle JDK v6
v7 & v8• Pre-configured VMs• Oracle WebLogic, VM
Depot Java Image, or your own JVM
PaaS• 64 bit OpenJDK build
by Azul (Zulu)• Or bring any VM• Eclipse plugin for
deployment, monitoring and management
Services
• Windows Azure SDK for Java: Blob, table, queue, service bus, SQL, etc
• Other Azure SDKs and azure-cli / tools
The Oracle Partnership
Oracle VMs in the Microsoft Azure Gallery Oracle license mobility to Microsoft Azure Oracle offers Oracle Linux on Microsoft Azure Java tested and certified on Microsoft Azure Became Generally Available in March
Java and Oracle VMs in the Gallery
Current Java and Oracle VM ImagesVM Galley Image Version(s) Standard Enterprise
Windows Server 2012Database 12c X XWebLogic 12c X XDatabase and Weblogic Bundle 12c X XJDK 6, 7, 8 X
Windows Server 2008WebLogic 11g X X
Oracle Linux 6.4Database 12.1.0.1 X XWebLogic 12.1.0.1 X X
Current Linux Support in AzureAzure IaaS: Supported Platform Images
“Microsoft is playing quite nicely with Linux and other open source tools. “
-Robert McMillan, Wired Enterprise
“Our biggest benefit is scalability, that's our main reason for a migration. We were sincerely and positively surprised by cost of migration and Azure server itself” Ivan Baruzin, Ademptio (2 Linux Servers VPS to 20 Linux VMs on Azure)
“Wired”
• Pre-built images optimized for cloud
• Up-to-date VMs validated by Linux vendors
• Microsoft support via forum• Easy path for moving on-
prem VMs to cloud • Manage via familiar tools /
SSH
Azure IaaS: VM Depot community images
• Gallery of community-built images
• Supported by 3rd party vendors (e.g. BitNami)
• Integrated into Azure portal and management tools
• Options to add vendor provided support for a VM
Public Cloud Licensing OptionsBring your own license, build a VM.
Install and configure software yourself on a Windows Server or Oracle Linux VM
2 VM Gallery Image Options – Oracle Linux or Windows Server:
Oracle Linux: Bring your own licenseGet started faster with a pre-configured Oracle Database and/or Oracle WebLogic Server running on Oracle Linux
Windows Server: Use a license included with the VMChoose a pre-configured Windows Server based VM image including licenses for Oracle Database and Oracle WebLogic Server.
Demo: Creating a VM and Connecting to WebLogic
Oracle Full support forOracle softwareon WindowsServer Hyper-Vand MicrosoftAzure
Oracle licensemobility forAzure public cloud
Fully licensedand supportedJava onMicrosoft Azure
Oracle Linux aspreconfiguredinstances onMicrosoft Azure
Pay-as-you-goAzure imagesof Oracle Database,WebLogicServer, and JDK
VM Depot – Tomcat (and other options)
Java on Windows Azure: PaaS
IaaS• Windows or Linux
VMs• Official Oracle JDK v6
v7 & v8• Pre-configured VMs• Oracle WebLogic, VM
Depot Java Image, or your own JVM
PaaS• 64 bit OpenJDK build
by Azul (Zulu)• Or bring any VM• Eclipse plugin for
deployment, monitoring and management
Services
• Windows Azure SDK for Java: Blob, table, queue, service bus, SQL, etc
• Other Azure SDKs and azure-cli / tools
PaaSWeb and Worker RolesWorker Roles can host JavaEclipse toolingOpenJDK / Bring your own
Cloud Services
Test with Azure EmulatorSSLSticky SessionsConfigure your roles
Instance countSizeEndpointsNames
Self-Signed Certs for testingPublish to Azure
Eclipse Tooling
Reference, API Documentation
Articles and Updates
azure.github.com
Or use the Eclipse Plugin (includes SDK)
Azul Zulu OpenJDK on WebPI InstallerA result of our partnership with Azul
Zulu is a version of the Azul OpenJDK built for the Windows Azure Platform
DemoWebPI & Eclipse Plugin
Azure Web Sites
Built-in support for:Java 7Apache Tomcat 7Jetty 9
Ability to upload custom Java code, JVMDoesn’t mix with ASP.NET, everything goes to Java endpoint
Java Support for Web Sites
DemoAzure Web Sites
Cloud Services vs Web SitesCloud Services
Eclipse toolingHighly configurable
Bring your own JDKBring your own Java server
Greater choice of tiers (computer, memory, etc)Works with Azure Emulator for local testing against Storage
Web SitesCurrently in PreviewQuicker to deploy
FTPGitKudu
Get started from App GalleryUse your current IDE
Java on Microsoft Azure: Services
IaaS• Windows or Linux
VMs• Official Oracle JDK v6
v7 & v8• Pre-configured VMs• Oracle WebLogic, VM
Depot Java Image, or your own JVM
PaaS• 64 bit OpenJDK build
by Azul (Zulu)• Or bring any VM• Eclipse plugin for
deployment, monitoring and management
Services
• Microsoft Azure SDK for Java: Blob, table, queue, service bus, SQL, etc
• Other Azure SDKs and azure-cli / tools
Download the SDK: Windows, Mac, Linux
Applicationbuilding blocks
StorageBig data
Caching
CDN
Database
Identity
Media
Messaging
Networking
Traffic
CacheLow latency, in-memory distributed cacheDynamically grow and shrink cache sizeHigh availability supportMemcached protocol support
IdentityIntegrate with enterprise identityEnable single sign-on within your appsEnterprise Graph REST API93% of Fortune 1000 use Active Directory
Service busSecure messaging and relay capabilitiesEasily build hybrid appsEnable loosely coupled solutions
DBSQL databaseRelational SQL Server Engine in the CloudClustered for high availabilityFully Managed ServiceSQL Reporting support
Blob storageHighly available, scalable and secure file systemBlobs can be exposed publicly over httpContinuous geo-replication across datacenters
Blob Storage Concepts
BlobContainerAccount
http://<account>.blob.core.windows.net/<container>/<blobname>
Pages/ Blocks
contoso
PIC01.JPG
Block/Page
Block/Page
PIC02.JPG
images
VID1.AVIvideos
API Imports for Blob Storageimport com.microsoft.windowsazure.services.core.storage.*;
import com.microsoft.windowsazure.services.blob.client.*;
Connect and Open a Container// Define the connection-string with your values public static final String storageConnectionString = "DefaultEndpointsProtocol=http;" + "AccountName=your_storage_account;" + "AccountKey=your_storage_account_key";
CloudBlobContainer container = blobClient.getContainerReference("mycontainer"); // Option - Create the container if it does not exist container.createIfNotExist();
Output URIs for a Container
for (ListBlobItem blobItem : container.listBlobs()) { System.out.println(blobItem.getUri()); }
Notification HubsBeta SDK – http://aka.ms/JavaHubsManage device registrationsTrigger push notifications to:• WinStore• WinPhone• iOS• Android
Traffic ManagerLoad balance traffic across Azure servicesSupports VMs, Web Sites, and Cloud ServicesGeo-based with failover
Java ReferenceVM Depot - vmdepot.msopentech.com
SDKs – www.windowsazure.com/en-us/develop/overview/
Developer Centers – http://www.windowsazure.com/en-us/documentation/
Eclipse Plugin - github.com/MSOpenTech/WindowsAzureToolkitForEclipseWithJava
Tutorial- http://aka.ms/JavaTutorial
Oracle ReferencePublic News for Oracle software on Windows Azure at www.windowsazure.com/oracle
Oracle Self Service Kit http://aka.ms/orclssk
How to use Oracle images on Windows Azure http://go.microsoft.com/fwlink/?linkid=321002&clcid=0x409
Oracle Case Study – http://aka.ms/OracleCaseStudy
Sign up for an Azure trial – http://azure.comActivate your MSDN subscription http://msdn.comCheck out VMsCheck out Web SitesCheck out the SDKs
Try it Yourself
Contact UsBrian Benz – @bbenz
bbenz@microsoft.com
Chris Risner - @chrisrisner
chrisner@microsoft.com
SessionsDCIM-B302 – Running Oracle Databases and Application Servers on Microsoft Azure
Thursday, May 15th 8:30 am – 9:45 am
VideosBuild 2014 – What’s New with Azure Web Sites
http://aka.ms/BuildNewWebSites
Related content
Visit the Developer Platform & Tools BoothHaving a friend buy your coffee?Yea, it’s kind of like that.
MSDN Subscribers get up to $150/mo in Azure credits.
Stop by the Developer Platform and Tools booth and visit the MSDN Subscriptions station to activate your benefits and receive a gift!
http://aka.ms/msdn_teched
3 Steps to New Gear! With Application Insights
1. Create a Visual Studio Online account http://visualstudio.com
2. Install Application Insights Tools for Visual Studio Online http://aka.ms/aivsix
3. Come to our booth for a t-shirt and a chance to win!
VSIP QR Tag Contests Visit our booth to join the hunt for cool prizes!
ResourcesMicrosoft Engineering Stories
How Microsoft Builds Softwarehttp://aka.ms/EngineeringStories
Visual Studio Industry Partner Program
Meet Our New Visual Studio Online Partners or Join Now.http://vsipprogram.com
Visual Studio | Integrate
Create Your Own Dev Environmenthttp://integrate.visualstudio.com
Development tools & services for teams of all sizeshttp://www.visualstudio.com
Complete an evaluation and enter to win!
Evaluate this session
Scan this QR code to evaluate this session.
© 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.
top related