BUILDING YOUR
APPLICATION ON
THE CLOUD
Matthew Khaw, ISV Technology Advisor, Microsoft
Patrick Yong, CTO, IPS Infonomics
Slide 1
THE FUTURE MOVING FORWARD
CLOUD COMPUTING
• More servers and bandwidths are needed!
Azure or not Azure?
Quoted from Boon Sheng
WebBytes, Malaysia ISV on Azure
“Well, when people ask me how many
servers do we have, I answered,
how many you need?”
Boon Sheng
Innovating Retail Management
TYPES OF CLOUD SERVICES
“IaaS”
Infrastructure-as-a-Service
“PaaS”
Platform-as-a-Service
“SaaS”
Software-as-a-Service
host build consume
WHAT IS CLOUD COMPUTING?
SERVICES TAXONOMY
Infrastructure Platform Software
(as a Service) (as a (as a
(On- Service) Service)
Premises)
You manage
Applications Applications Applications Applications
You manage
Data Data Data Data
Runtime Runtime Runtime Runtime
Managed by vendor
Middleware Middleware Middleware Middleware
You manage
Managed by vendor
O/S O/S O/S O/S
Managed by vendor
Virtualizatio Virtualizatio Virtualizatio Virtualizatio
n n n n
Servers Servers Servers Servers
Storage Storage Storage Storage
Networking Networking Networking Networking
WINDOWS AZURE PLATFORM IN
ACTION
Your Application
Azure Portal – Self-Service
Service Package
Service Model
Code 43 Web Servers
10010100
01001000 2 Regular Servers
11000010
Azure SDK 01000100
Dev 10111000 2 Custom Servers
Compute
Emulator Storage 10100110 Use “My.vhd”
Windows Azure Platform
And Azure Takes Care of the Rest
Load Balancer
Web
Web
Instance Web Role
1 (your app)Web
Instance Win Srvr 2008 R2
OS Install, Licensing, Patching, and Maintenance
Fabric Controller
2 (your app)
Instance
Web IIS7, ASP.NET, .NET 4
3 (your
Instance
app)
Networking Worker
4 (your app)
Instance
Worker
(Load Balancer, Firewall,Worker etc.)
Role
Win Srvr 2008 R2
VMRole
1 (your app)
Elastic Scale Up and Instance
Instance
Down, Pay for.NET
Instance
VMRole
2 (your app) Use4
1 (your app)
99.95% Compute SLA Win Srvr VMRole 2 (your app)
2008 R2 VHD
Faster Time to Market,
Azure Storage SQL Azure
Lower Costs, Less Risk
Whatever you install
Blobs, Tables, Queues
WINDOWS AZURE PLATFORM
EVALUATING YOUR APPS FOR THE
CLOUD
Questions to Consider
Application State
Application Scale
App Dependencies
Latency Requirements
Data Sensitivity
Some Easy Cases e.g., web site sharing public data SLA Requirements
Regulation & Compliance
Often, Forklift Approach
Careful decomposition needed
Will Not Work
CHALLENGES CROSSING
ORGANIZATIONAL BOUNDARIES
Partner
Cloud App
ENTERPRISE/ WINDOWS AZURE
ON-PREMISE PLATFORM
Identity
Access Control
Application-layer
Connectivity & Messaging
Service Bus
Data Synchronization
SQL Azure Data Sync
Network Connectivity
Windows Azure Connect
Slide 10
ENTERPRISE/ WINDOWS AZURE
ON-PREMISE PLATFORM
Identity
Access Control
Application-layer
Connectivity & Messaging
Service Bus
Data Synchronization
SQL Azure Data Sync
Network Connectivity
Windows Azure Connect
Slide 11
IDENTITY CHALLENGES
Cloud App
Active Directory
• User – Doesn’t want to use different identity for every app
• Developer – Doesn’t want to write code to support multiple identity providers
• Administrator – Wants to easily grant access to apps to Active Directory identities
IDENTITY SOLUTION:
CLOUD SINGLE SIGN-ON WITH ACCESS
CONTROL
ADFS 2.0 AC
Active Directory
• User – Can use his preferred Identity Provider
• Developer – Writes one set of code to accommodate multiple Identity Providers
• Administrator – Grants access to all Active Directory users by establishing trust
between Active Directory and Access Control
ENTERPRISE WINDOWS AZURE
PLATFORM
Identity
Access Control
Application-layer
Connectivity & Messaging
Service Bus
Data Synchronization
SQL Azure Data Sync
Network Connectivity
Windows Azure Connect
Slide 14
APPLICATION CONNECTIVITY
CHALLENGES
EXTEND REACH OF SOA ASSETS
THROUGH THE CLOUD
Partner
Cloud App
CONNECTIVITY SOLUTION (1):
EXPOSE ON-PREMISES SERVICES THROUGH THE
SERVICE BUS
Partner
Cloud App
Extend reach of existing on-premise services to facilitate greater
collaboration between partners, branch offices, remote workers and devices
CONNECTIVITY SOLUTION (2):
ENABLE REAL-TIME BUSINESS PROCESS VISIBILITY WITH
SERVICE BUS
Use the cloud as an efficient way to connect and inform the participants
in Business Processes that span multiple entities across organizational
boundaries
ENTERPRISE WINDOWS AZURE
PLATFORM
Identity
Access Control
Application-layer
Connectivity & Messaging
Service Bus
Data Synchronization
SQL Azure Data Sync
Network Connectivity
Windows Azure Connect
Slide 18
SQL AZURE DATA SYNC (CTP)
• Powers movement of data
• Cloud ⇔ cloud SQL
• On-premises ⇔ cloud Azure
• Getting data where you need it
• Sync SQL Azure instances
Sync SQL Server to SQL Azure
•
• Sync offline apps to SQL Azure
Sync
• Enable geo-replication of data
SQL AZURE DATA SYNC (CTP)
CTP1 - Now
SQL Azure
Database
Data Sync
Retail Stores Service For Remote Offices
SQL Azure
CTP2 – End of CY10
Sync
On-Premises (Headquarters)
ENTERPRISE WINDOWS AZURE
PLATFORM
Identity
Access Control
Application-layer
Connectivity & Messaging
Service Bus
Data Synchronization
SQL Azure Data Sync
Network Connectivity
Windows Azure Connect
Slide 21
WINDOWS AZURE CONNECT (CTP)
Virtual Network
• Provides seamless, secure IP-level network connectivity between Windows
Azure and on-premise resources
• Connecting to cloud resources (roles) for administrative purpose
Demo
PATRICK YONG
CTO, IPS INFONOMICS
WHERE TO START
• Move existing application to Azure
• Start from small, low-risk application to the cloud
• Gain experience from it.
• This migration may be partial
• Make Azure the default for new application
development
• Codes from Azure can be migrated/reused for on-premise.
• The difference is the usage of Azure specific technologies ie Azure
storage. Create components to cater for this differences (ie when on
premise use file system. Cloud – call blob storage)
• Move Critical Applications
• Migrate critical application on the Cloud
24
WINDOWS AZURE PASS
• Windows Azure Platform 30 day pass with no credit card
required
• Pass is limited and requires 2-3 business days for
approval
• Login to http://windowsazurepass.com
• Select ‘Malaysia’ and promo code is ‘APMY2011’