Windows Azure Conference 2014 Deploy your Java workloads













































- Slides: 45
Windows Azure Conference 2014 Deploy your Java workloads on Windows Azure
Session Objectives • Deploying Java Workloads on Windows Azure • Understanding Windows Azure Services for Java • How to build scalable systems on Windows Azure Conference 2014
Agenda Introduction to Windows Azure (Iaa. S vs Paa. S) Eclipse Plugin for Windows Azure Realistic Scenario through Demo Inside Azure Paa. S Q&A Windows Azure Conference 2014
Introduction to Windows Azure Paa. S vs Iaa. S Windows Azure Conference 2014
Platform As A Service • • Auto Managed Easy to Auto Scale Used by Dev. Ops Teams It’s a Auto Pilot Mode • Less Control over Deployment • Design for Paa. S Windows Azure Conference 2014
Infrastructure As A Service • Full Control over Deployment • Completely Customizable • Used by Enterprise Dev Teams backing with IT Teams • Complex to Auto Scale • Move anything to Iaa. S Windows Azure Conference 2014
What happens in Paa. S Development? Windows Azure Conference 2014 Presentation title ©Copyright 2012 09 / 14 /12 4
Service Package
Provision Role Instances Deploy App Code Configure Network Service Package Virtual machine Server Rack 1 Server Rack 2
Provision Role Instances Deploy App Code Configure Network Windows Azure Datacenter Service Package
Provision Role Instances Deploy App Code Configure Network Windows Azure Datacenter Service Package
Provision Role Instances Deploy App Code Configure Network load-balancer configured for traffic Windows Azure Datacenter
Windows Azure Datacenter
Eclipse Plugin For Paa. S Deployment Windows Azure Conference 2014
Eclipse Plugin can be used to Create a project template for Paa. S Deployment Automate Deployment Process Define VM Requirements and Deployment Architecture Publish packages to Cloud Services Include libraries for Windows Azure Services Windows Azure Conference 2014
Demo Eclipse Plugin Windows Azure Conference 2014
Realistic Scenario Matrix. CRM on Windows Azure Conference 2014
Application Building Blocks We Use Windows Azure Conference 2014
Application Building Blocks Used in Java Applications Windows Azure Conference 2014
Application Building Services On Azure Windows Azure Conference 2014
Access Control Service For Identity and Authentication Windows Azure Conference 2014
Access Control Service IP = Identity Provider (Active Directory, Google, Live ID, Facebook) ACS= Access Control Service RP= Relaying Party (Java Applications) Windows Azure Conference 2014
Active Directory Access Control Browser-based Identity Providers Windows Azure Conference 2014 Active Directory Access Control Your Application
Authenticating Users from Web and Social Providers Windows Azure Sign-up and claims enrichment Windows Azure Conference 2014
Demo Authentication using ACS Windows Azure Conference 2014
Storage Services For File Store and Application Logging Windows Azure Conference 2014
Blob Storage Concepts http: //<account>. blob. core. windows. net/<container>/<blobname> Account Container Blob Pages/ Blocks PIC 01. JPG Block/Page images PIC 02. JPG contoso Block/Page videos Windows Azure Conference 2014 VID 1. AVI
Table Storage Account Table customers contoso photos Windows Azure Conference 2014 Entity Name =… Email = … Name =… EMail. Add= Photo ID =… Date =…
Demo File Store and Logging using Azure Storage Windows Azure Conference 2014
Service Bus For Message Queuing and Notification Windows Azure Conference 2014
Queues Queue Windows Azure Conference 2014
Topics Topic Windows Azure Conference 2014 Sub Sub
How Push Notifications Work Windows Azure Conference 2014
How Service Bus Notification Windows Azure Conference 2014 Hub Works
Demo Message Queues and Notifications using Service Bus Windows Azure Conference 2014
Scaling on Windows Azure Caching, Auto scaling, Session Affinity Windows Azure Conference 2014
How to Scale on Windows Azure Load Balancer Everything needs to scale SQL Database Web Role Worker Role Table Storage Q Blob Storage Windows Azure Conference 2014
What’s Windows Azure Cache? • • Use spare memory on your VMs as high-performance cache Distributed cache cluster co-located with existing roles, use dedicated roles or Azure Cache Service Named caches with high availability option and notifications Support Memcached protocol Windows Azure Conference 2014
Demo Eclipse Plugin Configuration and Auto Scaling Windows Azure Conference 2014
Inside Azure Paa. S Windows Azure Conference 2014
Running Tomcat in Windows Azure Service Instance listen port(x) index. jsp Catalina JVM server. xml Tomcat Sub-Process new Process() http: //app: 80 SQL Database http: //instance: x http: //instance: y Role. Entry Point Load Balancer Windows Azure Conference 2014 Fabric Controller Table Storage Service Bus Access Control Blob Storage Queue bind port(x) get runtime info Worker Role Service Instance
Inside Azure Paa. S Anatomy of a Windows Azure instance Compute – instance types: Web Role & Worker Role. Windows Azure applications are built with web role instances, worker role instances, or a combination of both. Storage – distributed storage systems that are highly consistent, reliable, and scalable. HTTP/HTTPS Each instance runs on its own VM (virtual machine) and local transient storage; replicated as needed The Fabric Controller communicates with every server within the Fabric. It manages Windows Azure, monitors every application, decides where new applications should run – optimizing hardware utilization. Windows Azure Conference 2014 Guest VM Host VM Maintenance OS, Hardware-optimized hypervisor
Links for Reference Java Dev Center: www. windowsazure. com/en-us/develop/java/ Notification Hub: https: //github. com/fsautomata/notificationhubs-rest-java Eclipse Plugin: http: //dl. msopentech. com/eclipse Log 4 J Appender: https: //github. com/robblackwell/log 4 j-azure Windows Azure Conference 2014
Q&A My Co-Ordinates balkrishna@mactores. com +91 9820966818 Windows Azure Conference 2014
Windows Azure Conference 2014