ArcReady Architecting for the Cloud Phil Wheat Architect Evangelist [email_address] blog: PhilWheat.net
Community Events Austin CodeCamp – May 30 th http://www.austincodecamp.com / Dallast TechFest –June 19 th http://www.dallastechfest.com / StartupWeekend San Antonio http ://startupweekend.com/san-antonio-startup-weekend /
Are you a technology start-up?
BizSpark is an innovative new program that unites Startups with entrepreneurial and technology resources in a global community with a common goal of supporting and accelerating the success of a new generation of high-potential Startups.
http://www.microsoft.com/bizspark
Microsoft Developer Tools Promotions …ending June 30th, 2009 Contact your local Microsoft Developer Tools Representative for more details… Midwest and North Central Jerry Flynn (314) 872-5919 [email_address] Heartland and South Central Rachel McKane (469) 775-6125 [email_address]
ArcReady: Architecting for the cloud
About Me Phil Wheat Architect Evangelist [email_address] blog: PhilWheat.net
About ArcReady…
A forum for aspiring and practicing architects to discuss industry trends
An overview of Microsoft’s roadmap as it relates to software architecture
A mechanism to solicit your feedback
An opportunity to showcase the work you do!
Discussion Encouraged
SESSION 1 Architecting for the cloud
Flashback to previous ArcReady
Application Service Providers (ASP)
Software as a Service
Software + Services
“ Packaged” Application An application that I buy “off the shelf” and run myself “ Home Built” Application An application that I develop and run myself Build vs. Buy Build Buy Hosted “ Home Built” An application that I develop myself, but run at a hoster Hosted “ Packaged” An application that I buy “off the shelf” and then run at a hoster “ Home Built” using cloud An application that I develop myself, that is hosted using cloud platform “ Packaged” using cloud An application that I buy “off the shelf”, that is hosted using cloud platform “ Software as a Service” A hosted application that I buy from a vendor “ Platform as a Service” A vendor hosted development and runtime environment On Premise Hoster Cloud Vendor
Almost zero upfront infrastructure cost
Just in time Infrastructure
More efficient resource utilization
Usage Based Computing
Potential to shrink processing time
Concerns with Cloud Computing
Security
Scalability
Reliability
Regulations and other legal issues
Azure
Azure is a blue color on the HSV color wheel at 210 degrees. Azure is the hue that is halfway between blue and cyan. Its complementary color is orange.
Azure is a near synonym for the color blue.
Commonly it refers to a bright blue, resembling the sky on a bright, clear day. http://en.wikipedia.org/wiki/Azure
Platform as a service
Your Applications
Your Applications
Use Case – Erratic Traffic MLB.com is not affiliated with Windows Azure – example only
Use Case – Erratic Traffic pgatour.com is not affiliated with Windows Azure – example only
Use Case – New Site Launch
Web farm that handles request from the internet
IIS7 hosted web core
Hosts ASP.NET
XML based configuration of IIS7
Integrated managed pipeline
Supports SSL
Windows Azure code access security policy (CAS) for managed code
Storage Services Public Internet Web Role Load Balancer
No inbound network connections
Can read requests from queue in storage
Windows Azure specific CAS policy for managed code
Storage Service Public Internet Worker Role
Public Internet Web Role Storage Service Worker Role Load Balancer
Public Internet Web Role Storage Service Worker Role Load Balancer
Public Internet Web Role Storage Service Worker Role Load Balancer
Table . . . Table Table Entity . . . Entity Entity Property Property Property Name Type Value Storage Accounts
Access via REST
You can’t use ordinary ADO.NET
No SQL
Query language based on the LINQ C# syntax
No real joins, aggregates, etc.
An unfamiliar hierarchical structure
You can’t easily move relational data to it
Supporting services are scarce, e.g., reporting
There’s significant platform lock-in
No schema
And no views
Massive scalability
By effectively allowing scale-out data
Highly durable
Perspective:
Applied to the right problem, Windows Azure Tables are a beautiful thing
But they’re not the optimal solution for a majority of data storage scenarios
Amazon, Google, and others do quite similar things
It appears to be the state of the art for scale-out data
What tables don’t do Not relational No Referential Integrity No Joins Limited Queries No Group by No Aggregations No Transactions What tables can do Cheap Very Scalable Flexible Durable If these are important to you, use:
Data stored in Tables
A Table is a set of Entities (rows)
An Entity is a set of Properties (columns)
Entity has:
PartitionKey – enables scalability
RowKey – unique id within the partition (the only indexed property)
Timestamp – for optimistic concurrency
255 properties for your data
Max size of 1MB
Queue Web Role ASP.NET, WCF, etc. Worker Role main() { … } 1) Receive work 2) Put work in queue 3) Get work from queue 4) Do work To scale, add more of either
. NET 3.0/3.5/4.0 addresses key developer requests
.NET Services makes it easy to deploy, manage and run Workflows
The problem: Exposing internal applications on the Internet isn’t easy
Network address translation (NAT) and firewalls get in the way
The solution:
Service Bus provides a cloud-based intermediary between clients and internal applications
It also provides a service registry that clients can use to find the services they need
Service Bus Service Bus Registry Endpoints Organization Y Organization X Application Application 2) Discover endpoints 1) Register endpoints 3) Access application
Your Applications
SQL Services .NET Services Windows Azure Live Services Applications Applications Others Windows Mobile Windows Vista/XP Windows Server SQL Data Services Others (Future)
SQL Data Services Data Center Container . . . Container Container HTTP/ SOAP Entity . . . Entity Entity Property Property Property Name Type Value Authorities
Why Live Services? Engage with over 450M users on Windows Live Integrate with experiences, relationships and data users care about Comprehensive Windows Live services API’s (incl. Messenger, feeds, contacts, search) Developer Tooling with integrated Live Services Open, interoperable programming interface and resource model across digital devices. Data synchronization and local accessibility of web / cloud data Connect across devices Embed social building blocks Jumpstart traffic
Virtual Earth
Eliminated calls to help center about locations
Proof of concept in three weeks
24/7 technical support, easy development with online software development kit
Chose Microsoft ® Virtual Earth ™ with the Microsoft MapPoint ® Web service
Integrated location information to provide location hours and services
Added 3-D maps and integrated driving directions
FedEx wanted to increase its visibility and improve customer experience
Wanted to add location information and rich features to its online store locater
Stable, well-supported solution platform was a must
FedEx improves customer experience with integrated mapping and location data “ With Virtual Earth, rather than clicking 10 times to find information, customers get it right away with the compass control.” SNarayanan Kasiarunachalam, Technical Advisor, FedEx Customer Logo
Live Mesh
Quick Walkthrough and Demo (not nearly as impressive as the video)
External Commentary #1 Coolest technology demoed at Web 2.0 “ Live Mesh… could change the way PCs and other devices interact with Internet Services and each other…” “… most ambitious step yet in transforming its personal computer business “ Despite Microsoft’s reputation of being a closed-wall company, it is adopting simple protocols in its Live Mesh synchronization strategy.” “ Live Mesh represents the company Microsoft is trying to become…” Rob Enderle
“ Eventually, we’ll give customers instant access to any movie on any device with an Internet connection and a screen.” “More immediately, we could use this technology to reach into airports. Travelers could quickly download movies from Blockbuster kiosks to their portable media players.” Keith Morrow Chief Information Officer, Blockbuster
0 comments
Post a comment