aws: introduction
DESCRIPTION
A brief intro to AWS accompanied with a live demonstration. I presented this at Chicago Java Users Group on Sep 5 2013TRANSCRIPT
![Page 1: AWS: Introduction](https://reader033.vdocuments.us/reader033/viewer/2022061208/548b3171b47959ff698b4746/html5/thumbnails/1.jpg)
AWS: IntroductionSachin Dole
![Page 2: AWS: Introduction](https://reader033.vdocuments.us/reader033/viewer/2022061208/548b3171b47959ff698b4746/html5/thumbnails/2.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022061208/548b3171b47959ff698b4746/html5/thumbnails/3.jpg)
“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](https://reader033.vdocuments.us/reader033/viewer/2022061208/548b3171b47959ff698b4746/html5/thumbnails/4.jpg)
PAASing through Clouds
Source: Venturebeat.com
![Page 5: AWS: Introduction](https://reader033.vdocuments.us/reader033/viewer/2022061208/548b3171b47959ff698b4746/html5/thumbnails/5.jpg)
Providers
IAAS PAAS
SAAS
![Page 6: AWS: Introduction](https://reader033.vdocuments.us/reader033/viewer/2022061208/548b3171b47959ff698b4746/html5/thumbnails/6.jpg)
AWS
![Page 7: AWS: Introduction](https://reader033.vdocuments.us/reader033/viewer/2022061208/548b3171b47959ff698b4746/html5/thumbnails/7.jpg)
![Page 8: AWS: Introduction](https://reader033.vdocuments.us/reader033/viewer/2022061208/548b3171b47959ff698b4746/html5/thumbnails/8.jpg)
AMI Instance Ephemeral, EBS (IOPS) IAM (keypairs) S3, Glacier RDS AutoScale
Terms
![Page 9: AWS: Introduction](https://reader033.vdocuments.us/reader033/viewer/2022061208/548b3171b47959ff698b4746/html5/thumbnails/9.jpg)
Demo: AWS console
![Page 10: AWS: Introduction](https://reader033.vdocuments.us/reader033/viewer/2022061208/548b3171b47959ff698b4746/html5/thumbnails/10.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022061208/548b3171b47959ff698b4746/html5/thumbnails/11.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022061208/548b3171b47959ff698b4746/html5/thumbnails/12.jpg)
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
![Page 13: AWS: Introduction](https://reader033.vdocuments.us/reader033/viewer/2022061208/548b3171b47959ff698b4746/html5/thumbnails/13.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022061208/548b3171b47959ff698b4746/html5/thumbnails/14.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022061208/548b3171b47959ff698b4746/html5/thumbnails/15.jpg)
CLI reference (click) UI equivalents (show in console) JAVA API
Tools & API
![Page 16: AWS: Introduction](https://reader033.vdocuments.us/reader033/viewer/2022061208/548b3171b47959ff698b4746/html5/thumbnails/16.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022061208/548b3171b47959ff698b4746/html5/thumbnails/17.jpg)
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](https://reader033.vdocuments.us/reader033/viewer/2022061208/548b3171b47959ff698b4746/html5/thumbnails/18.jpg)
Thank you