aws introduction, technology and $ sense

38
Sachin Dole

Upload: sachin-dole

Post on 15-Jul-2015

82 views

Category:

Engineering


3 download

TRANSCRIPT

Page 1: Aws Introduction, technology and $ sense

Sachin Dole

Page 2: Aws Introduction, technology and $ sense

Web software engineer

Love consumer websites

Belief: people first, software second

Java on top, in the middle, at the bottom

Soccer coach for kids

[email protected], @sdoledotcom

Page 3: Aws Introduction, technology and $ sense

“What do you want from me?” – Pink Floyd

Live in clouds?

Are you AWSome?

You shall ask! I will try to give!

Page 4: Aws Introduction, technology and $ sense

Basic intro to what cloud is

AWS console demo

Overview of facebook and google consoles

Why businesses might like cloud

Page 5: Aws Introduction, technology and $ sense

Source: Venturebeat.com

Page 6: Aws Introduction, technology and $ sense

IAAS PAAS SAAS

Page 7: Aws Introduction, technology and $ sense
Page 8: Aws Introduction, technology and $ sense
Page 9: Aws Introduction, technology and $ sense

AMI

Instance

Ephemeral, EBS (IOPS)

IAM (keypairs)

S3, Glacier

RDS

AutoScale

Page 10: Aws Introduction, technology and $ sense
Page 11: Aws Introduction, technology and $ sense

Start a new linux instance◦ Capacity options

◦ EBS, Ephemeral

◦ Keypairs, security groups

◦ IOPS

◦ Start, stop, terminate behavior

◦ Volumes, snapshots and AMIs

◦ Convert AMZ key to putty keys

◦ Connect to instance with putty

Page 12: Aws Introduction, technology and $ sense

Route 53 setup

S3 buckets

Run through RDS setup

SES setup

Show pricing ◦ EC2

◦ S3

◦ RDS

◦ Calculator

◦ Usage reports

Page 13: Aws Introduction, technology and $ sense

Web, region 1

Web, region 2

Services, region 1

Services, region 1

CDN

CDN

DNS

Firewall

Caching

Image storeLong term store

Failover

Failover

Failover

FailoverDatabase

Replication

eMail

Page 14: Aws Introduction, technology and $ sense

Linux, Windows

EC2

EC2, Cloud formation

MapReduce

Cloudfront

Cloudfront

Route 53

Security groups

Elasticache

S3Glacier

EC2

EC2

EC2

EC2RDS

RDS

SES, SNS

Page 15: Aws Introduction, technology and $ sense

EC2 Range: $ 0.06 to $ 8.35 /h

Types: by OS, by onDem/Res/Spot

Data transfer

Storage: EBS, IOPS, S3, Glacier

Monitoring

Services

http://calculator.s3.amazonaws.com/calc5.html

Page 16: Aws Introduction, technology and $ sense

CLI reference (click)

UI equivalents (show in console)

JAVA API

Page 17: Aws Introduction, technology and $ sense

InputStream creds = getResourceAsStream("/cred.properties");

PropertiesCredentials creds = new PropertiesCredentials(creds);

AmazonS3Client s3Client = new AmazonS3Client(creds);

PutObjectRequest putter = new PutObjectRequest(…);

GetObjectRequest getter = new GetObjectRequest(…);

Page 18: Aws Introduction, technology and $ sense

Google API console https://cloud.google.com/console#/project

Facebook https://developers.facebook.com/apps

Page 19: Aws Introduction, technology and $ sense

Why businesses, CIOs & managers might like AWS (or

any cloud)

Page 20: Aws Introduction, technology and $ sense

Because, it’s cost structure and characteristics are better

for financing

Page 21: Aws Introduction, technology and $ sense

Definitions◦ Op-ex : Tax deductible in current year.

◦ Cap-ex : Amortized over 5+ years

Page 22: Aws Introduction, technology and $ sense

Examples Lockheed Martin: cap-ex intensive

Ford motors: cap-ex heavy

Accenture, Deloitte: Minimal cap-ex

UPS, Fedex: Low cap-ex

Page 23: Aws Introduction, technology and $ sense
Page 24: Aws Introduction, technology and $ sense

Initial cap-ex

Page 25: Aws Introduction, technology and $ sense

Revenue

Page 26: Aws Introduction, technology and $ sense

Loss

Income

Page 27: Aws Introduction, technology and $ sense

Variation in Reality

Page 28: Aws Introduction, technology and $ sense

Investment

Possible nightmare!

Page 29: Aws Introduction, technology and $ sense

What if my revenue does not materialize

What if my capital acquisition was not right

What if there are large failures of equipment

What if my planning/strategy was not right

What if markets move faster than I

I really want my plan to play out

My equipment has no present value (mtm)

I need to keep staff that knows my equipment

Page 30: Aws Introduction, technology and $ sense

Income

Investment

Page 31: Aws Introduction, technology and $ sense

Worst case!

Page 32: Aws Introduction, technology and $ sense

Income

Investment

Page 33: Aws Introduction, technology and $ sense

Low start up investment

No equipment to be bought, no staff

No sunk costs (commitments)

Plans and strategy can change without $$$

Can respond to market changes without $$$

Costs follow revenue vs leading

Page 34: Aws Introduction, technology and $ sense

Regulatory, customer, security requirements…

Need to be nimble, control costs…

Page 35: Aws Introduction, technology and $ sense

IAAS PAAS SAAS

Everything I do is bespoke

I use only third party software

Page 36: Aws Introduction, technology and $ sense
Page 37: Aws Introduction, technology and $ sense

http://venturebeat.com/2011/11/14/cloud-iaas-paas-saas/

http://aws.amazon.com/documentation/

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html

http://aws.amazon.com/sdkforjava/

http://calculator.s3.amazonaws.com/calc5.html

Page 38: Aws Introduction, technology and $ sense

Thank you