18
AWS: Introduction Sachin Dole

AWS: Introduction

  • Upload
    doless

  • View
    239

  • Download
    0

Embed Size (px)

DESCRIPTION

A brief intro to AWS accompanied with a live demonstration. I presented this at Chicago Java Users Group on Sep 5 2013

Citation preview

Page 1: AWS: Introduction

AWS: IntroductionSachin Dole

Page 2: AWS: Introduction

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

About me

Page 3: AWS: Introduction

“What do you want from me?” – Pink Floyd Live in clouds? Are you AWSome? You shall ask! I will try to give!

About you

Page 4: AWS: Introduction

PAASing through Clouds

Source: Venturebeat.com

Page 5: AWS: Introduction

Providers

IAAS PAAS

SAAS

Page 6: AWS: Introduction

AWS

Page 7: AWS: Introduction
Page 8: AWS: Introduction

AMI Instance Ephemeral, EBS (IOPS) IAM (keypairs) S3, Glacier RDS AutoScale

Terms

Page 9: AWS: Introduction

Demo: AWS console

Page 10: AWS: Introduction

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

Demo – talking points

Page 11: AWS: Introduction

Demo console Route 53 setup S3 buckets Run through RDS setup SES setup Show pricing

◦ EC2◦ S3◦ RDS◦ Calculator◦ Usage reports

Page 12: AWS: Introduction

Consumer web stack

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 13: AWS: Introduction

AWS consumer web stack

Linux, Windows

EC2

EC2, Cloud formation

MapReduce

Cloudfront

Cloudfront

Route 53

Security groups

Elasticache

S3Glacier

EC2

EC2

EC2

EC2RDS

RDS

SES, SNS

Page 14: AWS: Introduction

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

$: How it varies

Page 15: AWS: Introduction

CLI reference (click) UI equivalents (show in console) JAVA API

Tools & API

Page 16: AWS: Introduction

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

PropertiesCredentials creds = new PropertiesCredentials(creds);

AmazonS3Client s3Client = new AmazonS3Client(creds);

PutObjectRequest putter = new PutObjectRequest(…);

GetObjectRequest getter = new GetObjectRequest(…);

Save picture on S3

Page 17: AWS: Introduction

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

Sources

Page 18: AWS: Introduction

Thank you