windows azure camps - oktober 2012
DESCRIPTION
TRANSCRIPT
Windows Azure Camps
Power point template by Colin Eberhardt
Agenda
Cover basics of cloud computing
Get into details about Azure, how its built and how you can make use of it
Learn about how to get started
Deploy a Web site
Get started with storage
Who am I
Einar Ingebrigtsen
[email protected]@einari
http://blog.dolittle.comhttp://www.ingebrigtsen.info
The cloud
An approach to computing that’s about internet scale and connecting to a variety of devices and endpoints
On and off
Patterns
Usage
Com
pu
te
Time
Average
Inactivity
Period
Growing fast
Unpredictable bursting Predictable bursting
Average UsageCom
pu
te
Time
Com
pu
te
Average Usage
Time
Com
pu
te
Time
Average Usage
Cloud Services
IaaSInfrastructure-as-a-Service
SaaSSoftware-as-a-Service
PaaSPlatform-as-a-Service
Cloud Services
IaaS SaaSPaaSPackaged
Applications
Data
Runtime
O/S
Virtualization
Servers
Storage
Networking
Applications
Data
Runtime
O/S
Virtualization
Servers
Storage
Networking
Applications
Data
Runtime
O/S
Virtualization
Servers
Storage
Networking
Applications
Data
Runtime
O/S
Virtualization
Servers
Storage
Networking
Windows Azure
Flexible Open Solid
Windows Azure
99.95% Monthly SLA
Legal
You own the data
Region based
Pricing
Pay only for what you use
Pricing – Instance Sizes
http://www.windowsazure.com/en-us/pricing/calculator/
Unit of Compute Defined
Variable instance sizes to handle complex workloads of any size
Small
1 x 1.6Ghz (moderate IO)
1.75 GB memory 225 GB storage
(instance storage)
Medium
2 x 1.6Ghz (high IO)
3.5 GB memory 490 GB storage
(instance storage)
Small
$0.12 Per service hour
Medium
$0.24 Per service hour
X-Large
$0.96 Per service hour
Large
$0.48 Per service hour
Large
4 x 1.6Ghz (high IO)
7.0 GB memory1000 GB storage
(instance storage)
X-Large
8 x 1.6Ghz(high IO)
14 GB memory2040 GB
(instance storage)
$0.02 Per service hour
Extra Small
Extra Small
1 x 1.0Ghz(low IO)
768 MB memory 20 GB storage
(instance storage)
Windows Azure
Global Footprint
.net developers
VM Sizes
Extra Small Shared 1.0 GHz 768M 20GB .02
Small 1 1.6 GHz 1.75GB 225GB .12
Medium 2 1.6 GHz 3.5GB 490GB .24
Large 4 1.6 GHz 7GB 1,000GB .48
Extra large 8 1.6 GHz 14GB 2,040GB .96
Supports Various VM SizesSize set on Role in Service Definition - All instances of role will be of equal size Service can have multiple rolesBalance of Performance per node vs. High Availability from multiple nodes
Cloud ready
More small instances == more redundancy
Some scenarios will benefit from more coresWhere moving data >$ parallel overheadE.g. Video processing, Stateful services (DBMS)
Don’t just throw big VMs at every problem
Scale out architectures have natural parallelism
Test various configurations under load
Windows Azure
Virtual machines Web sitesCloud services
Virtual Machines
Windows ServerLinuxFlexible Workload SupportVirtual Private Networking
Windows Azure
Virtual Machines
Other Service Providers
Your Data Center
Cloud services
Compute Storage AppFabric
Deployment
ServicePackage
Deployment
ServicePackage
Virtual machine
Virtual machine
Virtual machine
Virtual machine
Roles
Inherits RoleEntryPoint
OnStart() Method
Run() Method
OnStop() Method
Role Lifecycle
Worker role
Queue Polling WorkerPoll and Pop Messages within while(true) loopE.g. Map/Reduce pattern, background image processing
Listening Worker RoleCreate TcpListener or WCF Service HostE.g. Run a .NET SMTP server or WCF Service
External Process Worker RoleOnStart or Run method executes Process.Start()Startup Task installs or executes background/foreground processCustom Role Entry Point (executable or .Net assembly)E.g. Run a database server, web server, distributed cache
Web Role
All features of a worker role + IIS 7 or 7.5ASP.NET 3.5 SP1 or 4.0 – 64bitHostsWebforms or MVCFastCGI applications (e.g. PHP)Multiple Websites
Http(s)Web/Worker HybridCan optionally implement RoleEntryPoint
Storage
Durable, scalable, availableSQL AzureBlobsDrivesTablesQueuesAll available through REST services
Storage
SQL
Relational SQL Server Engine in the CloudClustered for high availabilityFully managed serviceSQL Reporting support
Blob storage
Highly available, scalable and secure file systemBlobs can be exposed publically over httpContinuous geo-replication across datacenters
Web sites
Highly available, scalable and secure file systemBlobs can be exposed publically over httpContinuous geo-replication across datacenters
Web sites
Build(ASP.net, Node.js or PHP)
Deployed(Configure, scale)
Commit(Git, TFS)
Web sites
Free10 Web Sites – freeOnly one instancePay for bandwidth
ReservedUp to 20 instancesDedicated VMsSupports S,M and L instances
SharedUp to 20 instancesCPUs shared with others
Labs
Web Sites
VS2010 + GIThttp://tinyurl.com/azureWebSites
VS2012 + TFShttp://tinyurl.com/azureWebSitesTFS
VS2012 + GIThttp://tinyurl.com/azureWebSites2012
Storage
Exploringhttp://tinyurl.com/exploringStorage
SQLhttp://tinyurl.com/sqlAzureIntro
Need more labs…
ServiceBus Messaginghttp://tinyurl.com/serviceBusMessaging
Access Control Servicehttp://tinyurl.com/accessControlService
Application building blocks
StorageBig data
Caching
CDN
Database
Identity
Media
Messaging
Networking
Traffic
Application building blocks
http://www.windowsazure.com/en-us/develop/overview/
Application building blocks
http://github.com/windowsazure
Demo App
http://github.com/einari/GadgetShop
Summary
Windows Azure provides a comprehensive set of services that you can selectively compose to build your cloud appsGlobal Data Center Footprint99.95% Monthly SLA. Pay only for what you use.
Flexible & Open Compute OptionsVirtual Machines, Web Sites, & Cloud Services
Managed Building Block ServicesSQL Database, Cache, Service Bus, & more
http://WindowsAzure.com
Thanks for your
attention