java on azure

46
Java on Azure Anders Lybecker @AndersLybecker | [email protected]

Upload: anders-lybecker

Post on 19-Jul-2015

44 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Java on azure

Java on Azure

Anders Lybecker@AndersLybecker | [email protected]

Page 2: Java on azure

Azure

footprint

Azure datacenter

regions open for

business this month

Page 3: Java on azure

Datacenter buildings are about one football field in size

Page 4: Java on azure

…large enough to hold two jumbo jets

Page 5: Java on azure

That’s up to 600,000 servers in each Azure region

And there are 16 building per region…

Page 6: Java on azure

Global Presence and Scale

Major datacenter

CDN node

Live sub-region

Announced sub-region

Partner-operated sub-region

Announced

Page 7: Java on azure

Fortune 500 using Azure

>57% >300kActive websites

More than

1,000,000SQL Databases in Azure

>30TRILLIONstorage objects >300 MILLION

AAD users

>13 BILLIONauthentication/wk>3

MILLIONrequests/sec

>1.65MILLIONDevelopers registered

with Visual Studio Online

Page 8: Java on azure

$

Page 9: Java on azure

= = $

Page 10: Java on azure

0%

10%

20%

30%

40%

50%

60%

70%

80%

90%

100%

Page Load Time

Page Abandonment by Load Time

< 1 sec 1 sec 2 sec 3 sec 4 sec+

Source: Forrester Consulting on behalf of Akamai Technologies, July 2009

Page 11: Java on azure

Transform existing networks into a pooled, automated resource. Enable software to dynamically optimize the network as per application/workload requirements, including flexible placement and mobility across clouds.

=

Page 12: Java on azure

demand

max capacity

+

unused resources

Page 13: Java on azure

+

Page 14: Java on azure

max capacity

demand

unused resources

max capacity

The ability to provision and deprovisionresources automatically to meet point-in-time demand as closely as possible.

Page 15: Java on azure

>>

Page 16: Java on azure
Page 17: Java on azure
Page 18: Java on azure
Page 19: Java on azure
Page 20: Java on azure
Page 21: Java on azure
Page 22: Java on azure
Page 23: Java on azure

www.contoso.com

Page 24: Java on azure

On Premises

Yo

u s

cale

, m

ake r

esi

lien

t an

d m

an

ag

e

Infrastructure(as a Service)

Man

ag

ed

by v

en

do

r

Yo

u s

cale

, m

ake

resi

lien

t &

man

ag

e

Platform (as a Service)

Sca

le, re

silien

ce a

nd

man

ag

em

en

t b

y v

en

do

r

Yo

u m

an

ag

e

Hosting models

Software(as a Service)

Business model

Applications

Sca

le, re

silien

ce a

nd

man

ag

em

en

t b

y v

en

do

r

Choose your model

Page 25: Java on azure

vsSearch

Page 26: Java on azure

Azure is Open Across the Stack

Languages

CMS

Devices

Databases

Operating systems

Microsoft 1st Party Support Ecosystem Supported

Page 27: Java on azure

Azure compliance audits and certifications

ISO/IEC 27001

HIPAA(Healthcare)

European UnionModel Clause

FedRAMP

PCI DSS L1 version 3SOC 1 SOC 2

Criminal Justice Information System

Defense Information Systems Agency L2

China Multi Layer Protection

Scheme

Sarbanes Oxley

ChinaCCCPPF

ITAR

FIPS 140-2

United Kingdom G-Cloud

Life Sciences GxPFamily Educational Rights and Privacy Act

SingaporeMulti-Tier Cloud

Security

Global

United States

Regional

Coming soon

Defense Information Systems Agency L3-5

Australian Signals Directorate I-RAP

Assessment

ISO / IEC 27018

Cloud Security AllianceCloud Security Matrix

Page 28: Java on azure
Page 29: Java on azure

Azure SDK for Java

• Java libraries for Azure ( storage, table, queue etc)

• Full command line support

• Eclipse Azure plugin

• Maven support

pom.xml<dependency>

<groupId>com.microsoft.azure</groupId><artifactId>azure-management</artifactId><version>n.n.n</version>

</dependency><dependency>

<groupId>com.microsoft.azure</groupId><artifactId>azure-management-compute</artifactId><version>n.n.n</version>

</dependency>…<dependency>

<groupId>com.microsoft.azure</groupId><artifactId>azure-serviceruntime</artifactId><version>n.n.n</version>

</dependency>

http://azure.microsoft.com/en-us/documentation/articles/java-download-windows/

Page 30: Java on azure

Create a Site with Command Line

• Need to be authenticated and logged in ( azure login)

• Mac/Linux: azure site create mySiteName

• PowerShell: New-AzureWebSite mySiteName

[-Location <location name>]

[-Hostname <custom host name>]

Demo

Page 31: Java on azure

Configuring Java

• General stuff– Azure portal

Custom Configurations

• How-tohttp://azure.microsoft.com/en-us/documentation/articles/web-sites-java-custom-

upload/

Demo

Page 32: Java on azure

Debugging Applications

• Enable debugging!

• You can FTP to these log files, or you can tail them using the

Azure SDK – azure site tail log siteName

– Get-AzureWebsiteLog [siteName] –tail

• Visual Studio Online “Monaco”

• JDWP compatible debugger– https://github.com/Azure/azure-websites-java-remote-debugging

Page 33: Java on azure

35

Page 34: Java on azure

Azure Storage

Page 35: Java on azure

Highly durable and scalable

Multiple copies of your data

Financially backed SLAs

Storage for objects, tables, drives

Supports REST APIs

Page 36: Java on azure

Windows Azure StorageDefend against regional disasters.

Page 37: Java on azure
Page 38: Java on azure

Two Types of Blobs Under the Hood

Page 39: Java on azure

Blob Storage Concepts

http://azure.microsoft.com/en-us/documentation/articles/storage-php-how-to-use-blobs/

Page 40: Java on azure

Table Storage

255 properties

Max size 1 MB

Very fast!

PartionKey and RowKey

http://azure.microsoft.com/en-us/documentation/articles/storage-php-how-to-use-table-storage/blobs/

Page 41: Java on azure

Storage Account: All access to Azure Storage is done through

a storage account.

Queue: A queue contains a set of messages.

Message: A message, in any format, of up to 64KB.

Queue Components

Page 42: Java on azure

• Synchronize your corporate and 3rd party identities

• Integration with O365

• Support modern protocols• OAuth 2.0

• OpenID Connect

• WS-Fed

• SAML 2.0

• Identity and Access Mgmt Permissions• Users

• Groups

• Applications

Microsoft Azure Active Directory

3rd party clouds/hostingMicrosoft

Azure AD

Yo

u

Page 43: Java on azure

Resources

• Java Docs – http://azure.microsoft.com/en-us/develop/java/

• JavaDocs SDK– http://dl.windowsazure.com/javadoc/

• Developer newsletter

– Aka.ms/nyhedsbrev

• Start-up? Like free software and Azure Credits?– www.bizspark.com

Page 44: Java on azure

Get startedVisit azure.microsoft.com

Page 45: Java on azure

©2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Office, Azure, System Center, Dynamics 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.

Page 46: Java on azure

… and more fun.