52

Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

Embed Size (px)

Citation preview

Page 1: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure
Page 2: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

Java on Microsoft AzureBrian Benz and Chris Risner

DEV-B384

Page 3: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

AgendaWhy Java on Azure?Hosting optionsVirtual MachinesCloud Services & ToolingWeb SitesQuestions

Page 4: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

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?

Page 5: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

Virtual MachinesOracle

WebLogic ServerDatabaseLinux

Windows ServerLinux

Cloud ServicesWeb Sites

Java Hosting on Azure

Page 6: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

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

Page 7: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

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

Page 8: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

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

Page 9: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

Java and Oracle VMs in the Gallery

Page 10: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

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

Page 11: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

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

Page 12: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

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.

Page 13: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

Demo: Creating a VM and Connecting to WebLogic

Page 14: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

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

Page 15: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

VM Depot – Tomcat (and other options)

Page 16: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

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

Page 17: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

PaaSWeb and Worker RolesWorker Roles can host JavaEclipse toolingOpenJDK / Bring your own

Cloud Services

Page 18: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

Test with Azure EmulatorSSLSticky SessionsConfigure your roles

Instance countSizeEndpointsNames

Self-Signed Certs for testingPublish to Azure

Eclipse Tooling

Page 19: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

Reference, API Documentation

Page 20: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

Articles and Updates

Page 21: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

azure.github.com

Page 22: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

Or use the Eclipse Plugin (includes SDK)

Page 24: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

DemoWebPI & Eclipse Plugin

Page 25: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

Azure Web Sites

Page 26: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

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

Page 27: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

DemoAzure Web Sites

Page 28: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

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

Page 29: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

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

Page 30: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

Download the SDK: Windows, Mac, Linux

Page 31: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

Applicationbuilding blocks

StorageBig data

Caching

CDN

Database

Identity

Media

Messaging

Networking

Traffic

Page 32: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

CacheLow latency, in-memory distributed cacheDynamically grow and shrink cache sizeHigh availability supportMemcached protocol support

Page 33: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

IdentityIntegrate with enterprise identityEnable single sign-on within your appsEnterprise Graph REST API93% of Fortune 1000 use Active Directory

Page 34: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

Service busSecure messaging and relay capabilitiesEasily build hybrid appsEnable loosely coupled solutions

Page 35: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

DBSQL databaseRelational SQL Server Engine in the CloudClustered for high availabilityFully Managed ServiceSQL Reporting support

Page 36: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

Blob storageHighly available, scalable and secure file systemBlobs can be exposed publicly over httpContinuous geo-replication across datacenters

Page 37: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

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

Page 38: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

API Imports for Blob Storageimport com.microsoft.windowsazure.services.core.storage.*;

import com.microsoft.windowsazure.services.blob.client.*;

Page 39: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

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();

Page 40: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

Output URIs for a Container

for (ListBlobItem blobItem : container.listBlobs()) { System.out.println(blobItem.getUri()); }

Page 41: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

Notification HubsBeta SDK – http://aka.ms/JavaHubsManage device registrationsTrigger push notifications to:• WinStore• WinPhone• iOS• Android

Page 42: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

Traffic ManagerLoad balance traffic across Azure servicesSupports VMs, Web Sites, and Cloud ServicesGeo-based with failover

Page 43: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

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

Page 44: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

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

Page 45: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

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

Page 46: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

Contact UsBrian Benz – @bbenz

[email protected]

Chris Risner - @chrisrisner

[email protected]

Page 47: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

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

Page 48: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

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!

Page 49: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

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

Page 50: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

Complete an evaluation and enter to win!

Page 51: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

Evaluate this session

Scan this QR code to evaluate this session.

Page 52: Cloud Computing Packaged Software Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure

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