31
Amazon Web Services vs. and Windows Azure Rob Gillen rob.gillenfamily .net @argodev

AWS vs. Azure

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: AWS vs. Azure

Amazon Web Services vs. and Windows Azure

Rob Gillenrob.gillenfamily.net@argodev

Page 2: AWS vs. Azure

2 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

Page 3: AWS vs. Azure

3 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

Agenda

• What do you want to know/discuss?

• Market Overview

• Discussion of cloud primitives

• Vendor-specific Lessons-Learned

• Guestbook – a side-by-side code comparison

Page 4: AWS vs. Azure

4 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

Types of Clouds

Private(On-Premise)

Infrastructure

(as a Service)

Platform(as a

Service)

Storage

Server HW

Networking

Servers

Databases

Virtualization

Runtimes

Applications

Security & Integration

Storage

Server HW

Networking

Servers

Databases

Virtualization

Runtimes

Applications

Security & Integration

Storage

Server HW

Networking

Servers

Databases

Virtualization

Runtimes

Applications

Security & Integration

You m

anage Managed b

y v

endor

Managed b

y v

endor

You m

anage

You m

anage

Page 5: AWS vs. Azure

5 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

Types of Clouds

Private(On-Premise)

Infrastructure

(as a Service)

Platform(as a

Service)

Page 6: AWS vs. Azure

6 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

Where They Fit

• Two Years Ago

• Now

• Two Years from Now ???

Infrastructure As A Service Platform As A Service

Amazon Web Services Microsoft Windows Azure

Amazon Web Services

Microsoft Windows Azure

Amazon Web Services

Microsoft Windows Azure

Compute As A Service

Page 7: AWS vs. Azure

7 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

AWS Stack

• Elastic Compute Cloud

• Elastic Map Reduce

• Auto Scaling

• Cloud Front

• SimpleDB

• Relational Database Service

• Simple Storage Svc

• Elastic Block Storage

• Simple Email Service

• Simple Queue Service

• Simple Notification Service

• CloudWatch

• Virtual Private Cloud

• Elastic Load Balancing

• Import/Export

• Cloud Formation

• Elastic BeanStalk

• GovCloud

Page 8: AWS vs. Azure

8 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

Windows Azure Stack

Compute

Storage

Data SQL Azure Data Sync

Connectivity

Azure Connect

Security “Geneva”

Application Services

Frameworks

“Dublin” “Velocity”

Service Bus

Access Control

Table Storage

Blob Storage

Queue DriveContent Delivery Network

Page 9: AWS vs. Azure

9 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

Storage

Amazon Web Services• S3

– Buckets

• EBS

• SDB– domains

– Easy to use

• SQS

• CloudFront

• AWS Import/Export

Windows Azure• Blob Storage

– Containers

• Azure Drive

• Table Storage– Tables

– More painful than it should be

• Queues

• CDN

• Storage Stats

Page 10: AWS vs. Azure

10 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

Databases

Amazon Web Services• MySQL

• Oracle

• Multi-AZ Mode

Windows Azure• MS SQL

• SQL Sync

Page 11: AWS vs. Azure

11 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

Compute

Amazon Web Services• Raw VM Access

• EBS/S3-based Booting

• Specialized Nodes (CCI, CCI+GPU)

• Elastic Map Reduce

Windows Azure• Black-Box access (Worker

Role/Web Role)

• VM Role is non-persistent

Page 12: AWS vs. Azure

12 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

Networking

Amazon Web Services• IP / Elastic IP / ELB

• Virtual Private Cloud

• Route 53

• ELB

• Firewall heavily configurable

Windows Azure• Automatic IP

assignment/Load-balancing – No Static IPs available

• Azure Connect

• Built-in Load Balancing

• Endpoints defined in csdef/cscfg

Page 13: AWS vs. Azure

13 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

Deployment

Amazon Web Services• Amazon Machine Instance

(AMI)

• Traditional Deployment Models

• Fine-grained updates

• More Responsibility

• Less magic

• Elastic Beanstalk

• Cloud Formation

Windows Azure• Cspkg (fancy zip file)

• Upload via portal or API via blob storage

• Course-grained updates

• “click to scale”

• More magic

Page 14: AWS vs. Azure

14 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

Middleware

Amazon Web Services• Simple Notification Services

• CloudWatch/AutoScale ??

• Simple Email Services

Windows Azure• Service Bus

• Caching

• Access Control

Page 15: AWS vs. Azure

15 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

Tooling

Amazon Web Services• Command line

• REST-API

• Web Portal

• Numerous 3rd Party Tools

• No local dev/test

Windows Azure• Web Portal

• Rest API

• Visual Studio Extensions

• Numerous 3rd Party Tools

• Dev Fabric (great for compute, OK for storage)

Page 16: AWS vs. Azure

16 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

Page 17: AWS vs. Azure

17 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

What Happened

• Incorrect Network Change == Replication Storm for EC2

• “Affected Availability Zone”

• Actually affected *multiple* AZs (initially)• "Each availability zone runs on its own physically distinct, independent

infrastructure, and is engineered to be highly reliable. Common points of failures like generators and cooling equipment are not shared across Availability Zones. Additionally, they are physically separate, such that even extremely uncommon disasters such as fires, tornados or flooding would only affect a single Availability Zone." http://aws.amazon.com/ec2/faqs/#How_isolated_are_Availability_Zones_from_one_another

• Amazon had a “cloud burst”

Page 18: AWS vs. Azure

18 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

Oh No! The Cloud Can’t be Trusted!!!

• Is your data center any better?

• How would YOU recover from this type of issue

• Do you regularly TEST your HA/Recovery plans.

• What would it cost you to independently provide the same level of redundancy/fault-tolerance as current cloud providers offer?– How do you cost-justify that compared to current cloud

offerings?

Page 19: AWS vs. Azure

19 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

Page 20: AWS vs. Azure

20 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

Fault Tolerance

AWS• Regions

• Availability Zones

• Elastic Load Balancing

• RDS in Multi-AZ mode

• S3/SDB/SQS

Azure• Multiple Instances

• Regions

• Global Traffic Manager

• SQL Azure Sync

• Blobs/Tables/Queues

Page 21: AWS vs. Azure

21 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

Design Tenants

• Use independent components

• Design everything as a black box

• Load balance and scale clusters

• Think about graceful degradation

• Use queues to isolate components

Page 22: AWS vs. Azure

ApplicationExamples

Page 23: AWS vs. Azure

23 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

Computer Forensics

Page 24: AWS vs. Azure

24 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

Document Clustering – Dynamic Scaling

R

C1 C2 C4C3

Page 25: AWS vs. Azure

25 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

Document Clustering – Dynamic Scaling

Patent Pending

R

C1 C2 C4

C3b

C3a

QC1C2

Page 26: AWS vs. Azure

26 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

Document Clustering – Fault Tolerance

C1

C1C2

C3C2

C1C3

C3C4

C4

Page 27: AWS vs. Azure

27 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

Document Clustering – Fault Tolerance

C1

C1C2

C3C2

C1C3

C3C4

C4

Page 28: AWS vs. Azure

28 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

Document Clustering – Fault Tolerance

C1

C1C2

C2

C1C3

C3C4

C4

Page 29: AWS vs. Azure

29 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

Document Clustering – Fault Tolerance

C1

C1C2

C5C2

C1C3

C3C4

C4

Page 30: AWS vs. Azure

30 Managed by UT-Battellefor the U.S. Department of Energy Business Sensitive

Guest Book Example

Blob Store

Queue

No-SQL Store

Web Site

Background Image Processing Service

1. User Written to Table

2. Full-Res image written to blob store

3. Generate Thumbnail task stored

4. Background service receives task

5. Full-Size image retrieved from storage

6. Thumbnail generated and written to storage

7. No-SQL Store is updated with path to thumbnail

Page 31: AWS vs. Azure

Questions?

Rob Gillen

http://rob.gillenfamily.net

@argodev

Free Access:

http://bit.ly/AzureTrial

http://aws.amazon.com/free/