amazon web services for the .net developer

44
Rob Gillen Amazon Web Services for the .NET Developer

Upload: rob-gillen

Post on 10-May-2015

1.460 views

Category:

Technology


0 download

DESCRIPTION

Presentation on AWS delivered at CodeStock 2010.

TRANSCRIPT

Page 1: Amazon Web Services for the .NET Developer

Rob GillenAmazon Web Services for the

.NET Developer

Page 2: Amazon Web Services for the .NET Developer

CodeStock is proudly partnered with:

Send instant feedback on this session via Twitter:

Send a direct message with the room number to @CodeStock d codestock 401 This session is great!

For more information on sending feedback using Twitter while at CodeStock, please see the “CodeStock README” in your CodeStock guide.

RecruitWise and Staff with Excellence - www.recruitwise.jobs

Page 3: Amazon Web Services for the .NET Developer
Page 4: Amazon Web Services for the .NET Developer

Amazon Web ServicesFor the .NET Developer

CodeStock 2010June 2010

Rob Gillen

Cloud Computing Research

[email protected]

Page 5: Amazon Web Services for the .NET Developer

Target Audience

If this is your idea of a good time, this talk probably isn’t for you

Page 6: Amazon Web Services for the .NET Developer

Today

Introduction

Amazon Web Services overview

EC2, S3, SQS, SDB and other TLAs

Machine Startup Walkthrough

Application Demos

Questions

Page 7: Amazon Web Services for the .NET Developer

Who am I?

Software development background

10+ Years with Planet:

Senior Developer/Solutions Architect

Federal, Commercial, Foreign, Non-Profit

3+ Years at Oak Ridge National Laboratory

Software Solutions Architect

Cloud Computing/HPC Research

Page 8: Amazon Web Services for the .NET Developer

AWS Products

Elastic Compute Cloud

Elastic Map Reduce

Auto Scaling

Cloud Front

SimpleDB

Relational Database Service

Simple Storage Svc

Elastic Block Storage

Simple Queue Service

Simple Notification Service

CloudWatch

Virtual Private Cloud

Elastic Load Balancing

Import/Export

Page 9: Amazon Web Services for the .NET Developer

Amazon S3 Concepts

Objects:Opaque data to be stored (1 byte … 5 Gigabytes)Authentication and access controls

Buckets:Object container – any number of objects100 buckets per account / buckets are “owned”

Keys:Unique object identifier within bucketUp to 1024 bytes longFlat object storage model

Standards-Based Interfaces:REST and SOAPURL-Addressability – every object has a URL

Page 10: Amazon Web Services for the .NET Developer

Amazon SQS Concepts

Queues:Named message containerPersistent

Messages:Up to 256KB of data per messagePeek / Lock access model

Scalable:Unlimited number of queues per accountUnlimited number of messages per queue

Page 11: Amazon Web Services for the .NET Developer

Amazon EC2 Concepts

Amazon Machine Image (AMI):Bootable root diskPre-defined or user-builtCatalog of user-built AMIsOS: Fedora, Centos, Gentoo, Debian, Ubuntu, Windows ServerApp Stack: LAMP, mpiBLAST, Hadoop

Instance:Running copy of an AMILaunch in less than 2 minutesStart/stop programmatically

Network Security Model:Explicit access controlSecurity groups

Inter-service bandwidth is free

Page 12: Amazon Web Services for the .NET Developer

EBS Boot vs. S3 Boot

S3 (original)Image copied from S3 to Ephemeral disks

Lower IO charges during runtime

Target: farm of identical machines

EBS (newer)Auto Saving (sort of)

Performance

Ephemeral disks not used

Potential higher IO charges

Target: single machines

Be certain you understand Shutdown & Terminationand the ramifications of such

Page 13: Amazon Web Services for the .NET Developer

Tooling

Command Line

Browser Plug-ins

3rd Party Tools

Broad SDK Support

AWS Management Console

Page 14: Amazon Web Services for the .NET Developer

CloudBerry Explorer

Page 15: Amazon Web Services for the .NET Developer

ElasticFox

Page 16: Amazon Web Services for the .NET Developer
Page 17: Amazon Web Services for the .NET Developer

AWS Management Console

Page 18: Amazon Web Services for the .NET Developer

Stock Windows Instances

Page 19: Amazon Web Services for the .NET Developer

Machine Setup Walkthrough

Page 20: Amazon Web Services for the .NET Developer
Page 21: Amazon Web Services for the .NET Developer
Page 22: Amazon Web Services for the .NET Developer
Page 23: Amazon Web Services for the .NET Developer
Page 24: Amazon Web Services for the .NET Developer
Page 25: Amazon Web Services for the .NET Developer
Page 26: Amazon Web Services for the .NET Developer
Page 27: Amazon Web Services for the .NET Developer
Page 28: Amazon Web Services for the .NET Developer
Page 29: Amazon Web Services for the .NET Developer
Page 30: Amazon Web Services for the .NET Developer
Page 31: Amazon Web Services for the .NET Developer
Page 32: Amazon Web Services for the .NET Developer
Page 33: Amazon Web Services for the .NET Developer
Page 35: Amazon Web Services for the .NET Developer

Additional Features

Amazon/Microsoft BYOL Program

“Bring Your Own EA Windows Server License to Amazon EC2”

90-day commitment

Beta – must apply for participation

Instance Types

On-Demand

Spot

Reserved

Page 36: Amazon Web Services for the .NET Developer

Code Walkthrough

Page 37: Amazon Web Services for the .NET Developer
Page 38: Amazon Web Services for the .NET Developer
Page 39: Amazon Web Services for the .NET Developer
Page 40: Amazon Web Services for the .NET Developer

Component Overview

Page 41: Amazon Web Services for the .NET Developer
Page 42: Amazon Web Services for the .NET Developer

Topics

Queue Interactions

Blob Interactions

Simple DB Interactions

Page 43: Amazon Web Services for the .NET Developer

Tips/Tricks

Be careful with “Terminate” vs. “Shutdown”

Keypairs are important (and easy)

Security Group == Private Firewall

Parallelism can significantly help transfers