what’s new in azure sdk 1.3 (and 1.4)
Post on 25-Feb-2016
121 Views
Preview:
DESCRIPTION
TRANSCRIPT
What’s new in Azure SDK 1.3(and 1.4)
Peter HimschootMicrosoft Regional Director BeluxU2U Trainer/Architect
http://blogs.u2u.be/Peter
Agenda
• Introducing Windows Azure• Azure Compute & Storage• SQL Azure• Azure AppFabric
• What is new in Azure?• New Management Portal• New VM Role• Startup Tasks & Startup Plugins• Azure Connect• Traffic Manager• Development stuff
Introducing Azure
FOR RENT
What is Azure (for managers, CTO’s)
• Pay for what you use• No more heavy initial investment in hardware
• Easy peak handling (elastic scalability)• Need more? Just a minute! There you are!• Needs less? No problem!
• Better value for money• Bulk buying = less € per unit (hardware, electricity, …)
• Use existing skillsets of your people• Infrastructure• Development
http://www.microsoft.com/presspass/presskits/cloud/docs/The-Economics-of-the-Cloud.pdf
What is Azure? (for infrastructure)
• Platform for running your applications• Easy to scale• Fault-tolerant
• Easy deployment & management• Performance counters, logs, etc…
• On a platform you already know• Windows Server 2008 (R2)
What is Azure? (for developers)
• Platform for building applications that are• Scalable• Fault-tolerant (CPU & Storage)
• Develop with what you already know!• .NET, Java, PHP, …
• Focus on development, not infrastructure• Extra support API’s, such as storage
Windows Azure Components
Windows Azure
Compute StorageManagement
Windows Azure Compute
• Windows Server 2008 x64 (R2)• .NET Framework – 3.5 SP1 and 4.0• Supports Full Trust• Fabric manages role lifecycle
Worker RoleWeb Role
Web role
• Web farm that handles request from the internet• Runs in IIS 7 • Hosts ASP.NET• XML based configuration of IIS7 • Integrated managed pipeline• Supports SSL• Windows Azure code access
security policy for managed code
Storage services
Public Internet
LB Web Role
Worker role
• Scheduled task running in the background• Like Windows Service
• Can read requests from queue in storage
• Can have internal and external endpoints
Storage services
Public Internet
Worker Role
Windows Azure
Compute StorageManagement
Windows Azure Storage
• Blobs – Provide a simple interface for storing named files along with metadata for the file
• Tables – Provide structured storage. A Table is a set of entities, which contain a set of properties
• Queues – Provide reliable storage and delivery of messages for an application
• Drives – Provides durable NTFS volumes for Windows Azure applications to use
Loosely Coupled Workflow with Queues
Web Role Worker Rolequeue
Worker Role
Worker Role
Web Role
Web Role
Windows Azure Content Delivery Network
• Distributes your data to over 24 (and counting) servers
• Site automatically gets redirected to local server
• Better handling of high-load scenarios
SQL Azure
Database
Business AnalyticsReporting Data Sync
Windows Azure AppFabric
ServiceBus Access
Control
Services over the internet
• How to set up a service listener ?• IP address ?• Transport protocol ?• Allow inbound connections ?
Client Service?Firewall
FirewallDynamic IP
NAT
Relaying Messages
BookStoreService Layer
Orders(WCF)
Service Bus
Order ServicePlease Here I am !
2 13 4Place Order
LocalAzure
Windows Azure AppFabric
ServiceBus Access
Control
Azure AppFabric Access Control Service
• Use claims based security
• Integrate identity into your website• Windows Live ID• Facebook• Google
• Use claims based security with REST
Cloud Development == Familiar Development
• The cloud runs the .NET platform and IIS• Familiar technologies can be used:• ASP.NET (Web Forms and MVC)• WCF• Silverlight• PHP, Java, …
• Compute Emulator: “The cloud on your desktop”• Complete offline Azure Fabric simulation
• Storage Emulator:• Complete offline Azure Storage simulation• Requires SQL Server (Express)
WHAT IS NEW IN AZURE SDK 1.3 & 1.4
Windows Azure Management Portal
• Completely redesigned using Silverlight
DEMOWindows Azure Management Portal Walk-through
New Role: the VM Role
• Easy migration of existing WS2008 applications
• Requires building a (bootable) .VHD image• With Windows Server 2008 R2 installed (Ent/Std)• Anything else you need• Requires Windows Azure Integration Components• So the Fabric Controller can talk to it
• Then sysprep & upload it to Azure
Full Internet Information Server support
• No more hosted web core!• Still available for backward compatibility
• Automatically enabled for new projects• <sites> configuration
• Allows for multiple sites/virtual applications
DEMORunning multiple sites in IIS using one Web Role
Startup tasks
• Install some extra required library/component
• Can also run elevated
<Startup> <Task commandLine="StartupTasks\installmvc.cmd" executionContext="elevated" taskType="simple“ /> </Startup>
Startup task options
• Elevation• Limited• Elevated (aka Run as System)
• taskType• Simple• Background• Foreground
DEMOInstalling MVC3 using startup tasks
Startup Task Plugin Model
• ServiceDefinition allows custom modules
• Role Modules• Contain startup tasks, endpoints, etc…• .csplugin extension
• Installed in
<Imports> <Import moduleName="Connect" /></Imports>
\Windows Azure SDK\v1.*\bin\plugins
DEMOBuilding your own plugin
Remote Desktop Access
• Install additional stuff manually
• Debug installation problems
• Configure IIS, …
• Easily enabled with VS2010
Changing RDP Configuration
DEMORemote Desktop Access
Windows Azure Connect
• Connect Azure services to your resources• Using IPsec
Role Group Role Group
InstanceInstanceInstanceInstanceInstanceInstance
Examples on using Azure Connect
• Connect Azure WebRole to local SQL Server
• Join Azure instances to your domain
• Remote Debugging
• Share Folders
• …
DEMOUsing Azure Connect
Intelli-Trace?
Your code’s flight recorder
DEMOUsing Intelli-Trace with Azure
SQL Azure Reporting
• Similar to SQL Reporting Services 2008 R2
• Create reports on SQL Azure databases
• Publish reports locally or in Azure Web role
DEMOSQL Reporting
Windows Phone 7 and the Cloud
• A match made in heaven
• Windows Azure Toolkit for Windows Phone 7
http://watoolkitwp7.codeplex.com/
DEMOA simple Windows Phone 7 app & the cloud
Windows Azure Traffic Manager
• Distributes traffic over similar hosted services• Same of different data centers
• Policy based• Performance• Failover• Round Robin
User
Company domainwww.contoso.com
DNS resource record forwww.contoso.com
Traffic Manager Policy
Traffic Manager domainContoso.ctp.trafficmgr.com
Load Balance Method
Monitoring
Hosted Service 1
Hosted Service 2
Performance Policy
Client
Closest?
HS1 HS2 HS3
20ms 240ms 6ms
Performance Times Table
Failover Policy
Client
Highest availableService?
HS1
HS2
HS3
HS3
Primary
Standby 1
Standby 2
Standby 3
Round Robin Policy
Client
Next?
HS1 HS2 HS3
Prepare for the future!
Get Started with Windows Azure For Free Today!
• MSDN Subscriber• Activate Your Free Included MSDN Benefits via
http://tinyurl.com/activatemsdnazurebenefits
• Individual: • Get a Free Azure Introductory via http://tinyurl.com/freeintroazureoffer
• Free Computation hours and Storage
• Get 30 Days Free Windows Azure via http://www.windowsazurepass.com• Select Belgium and enter Promo code: AZP001
• Partner• Get free monthly access to Azure with Partner Cloud Essentials via
http://www.microsoftcloudpartner.com/
Even better deal now for MSDN subscribers
Start Developing on the Windows Azure Platform
1. Activate your Benefits (see previous slide)
2. Get the Tools via http://tinyurl.com/toolsforazure
3. First learn how to create an application via http://tinyurl.com/deployazureapplication
Stay up to date with MSDN Belux
• Register for our newsletters and stay up to date:http://www.msdn-newsletters.be• Technical updates• Event announcements and registration• Top downloads
• Follow our bloghttp://blogs.msdn.com/belux
• Join us on Facebookhttp://www.facebook.com/msdnbehttp://www.facebook.com/msdnbelux
• LinkedIn: http://linkd.in/msdnbelux/ • Twitter: @msdnbelux
Download MSDN/TechNet Desktop Gadget
http://bit.ly/msdntngadget
TechDays 2011 On-Demand
• Watch this session on-demand via Channel9http://channel9.msdn.com/belux
• Download to your favorite MP3 or video player• Get access to slides and recommended resources by the speakers
THANK YOUNow open for questions…
Or visit me at the U2U booth…
top related