これでAWSマスター!? 初心者向けAWS簡単講座
Preview:
DESCRIPTION
2012/7/13開催の「AzureとAWSをクラウド女子部が語る!クラウド勉強会 in 福岡」http://atnd.org/events/30235の資料です。
Citation preview
- 1. !? AWS AWS in 20127
- 2. ! ! Twitter #jawsug ( ) Copyright 2012 Serverworks Co, Ltd.
All Rights Reserved. 2
- 3. 1 Amazon Web Services()2 Amazon Web Services3 Amazon Web
Services Copyright 2012 Serverworks Co, Ltd. All Rights Reserved.
3
- 4. AWS IDE SDK Web AWS Toolkit for Eclipse Elastic
Beanstalk.NET, Java, PHP, Management AWS Toolkit for Visual
CloudFormationRuby,Android, iOS Console Studio Simple workflow IAM
VPC & Direct ConnectConsolidated CloudWatch CloudSearch Elastic
LB Billing Route 53 Elastic Devpay SNS ElastiCache SESMapReduce FPS
CloudFront SQS RDS S3 EC2 SimpleDB EBS DynamoDB AWS (//) Copyright
2012 Serverworks Co, Ltd. All Rights Reserved. 4
- 5. Amazon Web Services Copyright 2012 Serverworks Co, Ltd. All
Rights Reserved. 5
- 6. AWS! (Region)! (Availability Zone)! (Edge location)! ! !
(Amazon Management Console)! API Copyright 2012 Serverworks Co,
Ltd. All Rights Reserved. 6
- 7. (Region)l /l Copyright 2012 Serverworks Co, Ltd. All Rights
Reserved. 7
- 8. (Availability Zone)! (30km) ! EC2 / RDS! ! extra AZ B AZ AZ
AZ AZ A C A B AZ D Copyright 2012 Serverworks Co, Ltd. All Rights
Reserved. 8
- 9. (Edge Location)! CloudFrontRoute53 (32! Direct Connect (10)
AZ AZ A B Copyright 2012 Serverworks Co, Ltd. All Rights Reserved.
9
- 10. ! ! n ! Amazon n AWS) n EBS n n n I/OAPI ! n 7EC2( n EC2 (:
SMTPSES Copyright 2012 Serverworks Co, Ltd. All Rights Reserved.
10
- 11. ! ! ! http://aws.amazon.com/jp/free/#freetierdetails1
Amazon EBS Amazon SWF Amazon VPC Amazon EC2 Amazon Amazon Amazon
SES DynamoDB CloudFormation Amazon S3 Amazon SimpleDB Amazon
Elastic Elastic Load Amazon SQS Beanstalk Balancing Amazon SNS
Amazon IAM Amazon CloudWatch Copyright 2012 Serverworks Co, Ltd.
All Rights Reserved. 11
- 12. Cloudworks! AWS! API! Copyright 2012 Serverworks Co, Ltd.
All Rights Reserved. 12
- 13. API (Application Program Interface) ! AWS ! SDK// I$ec2 =
new AmazonEC2();// $response = $ec2->run_instances(ami-84db39ed,
1, 1, array( InstanceType =>
m1.small));//var_dump($response->isOK()); $ ec2-describe-regions
REGION eu-west-1 ec2.eu-west-1.amazonaws.com REGION sa-east-1
ec2.sa-east-1.amazonaws.com REGION us-east-1
ec2.us-east-1.amazonaws.com Copyright 2012 Serverworks Co, Ltd. All
Rights Reserved. 13
- 14. Amazon Web Services Copyright 2012 Serverworks Co, Ltd. All
Rights Reserved. 14
- 15. Amazon SimpleStorage Service (S3) S3
- 16. S3(/Simple Storage Service)! ! 7! 15TBHTTP/HTTPS Copyright
2012 Serverworks Co, Ltd. All Rights Reserved. 16
- 17. S3 (object) ACL(bucket) (key) S3
https://s3-ap-northeast-1.amazonaws.com/swx-fukuoka/ people.jpg
Copyright 2012 Serverworks Co, Ltd. All Rights Reserved. 17
- 18. S3! Standard Storage Option( n 99.99999999999% => (911 n
99.99% n 1G/101T/1! Reduced Redundancy Storage (RSS) Option n
99.99% n 99.99% n 0.01% n 1G/71T/7000 Copyright 2012 Serverworks
Co, Ltd. All Rights Reserved. 18
- 19. S3! ! Web! ! ! (ACL)! APISDK! Import/Export( Copyright 2012
Serverworks Co, Ltd. All Rights Reserved. 19
- 20. Amazon ElasticCompute Cloud (EC2) EC2
- 21. EC2 ! Elastic Compute Cloud () ! (Citrix Xen ! ! (CPU// ) !
n (Dedicated instance/ ) CPU Instance Copyright 2012 Serverworks
Co, Ltd. All Rights Reserved. 21
- 22. EC2 : ECU! EC2 Compute Unit(ECU) n 1 ECU1.0-1.2GHz 2007
Opteron 2007 Xeon CPU n 2007 Xeon = 20061.7 GHz Xeon (Woodcraft
51105120) = Mac Pro2 ! n NECU1 n : 2ECU x 2 = 4ECU Copyright 2012
Serverworks Co, Ltd. All Rights Reserved. 22
- 23. ECU (CPU) ()2 613MB 32/ $0.027/ 64 $19/ 1 1 1.7GB 160GB 32/
$0.09/ 64 $65/ 2 1 3.75GB 410GB 32/ $0.18/ 64 $130/ 2 2 7.5GB 850GB
64 $0.37/ $266/ 2 4 15GB 1,690GB 64 $0.74/ $533/ Copyright 2012
Serverworks Co, Ltd. All Rights Reserved. 23
- 24. () ECU (CPU) 3.25 2 17.1GB 420GB 64 $0.52/ $373/ 3.25 4
34.2GB 850GB 64 $1.04/ $746/ 3.25 8 68.4GB 1,690GB 64 $2.07/
$1,492/ Copyright 2012 Serverworks Co, Ltd. All Rights Reserved.
24
- 25. (CPU) ECU (CPU) 2.5 2 1.7GB 350GB 64 $0.19/ $139/ 2.5 8 7GB
1,690GB 64 $0.76/ $547/ Copyright 2012 Serverworks Co, Ltd. All
Rights Reserved. 25
- 26. EBS
- 27. EBS! Elastic Block Store( n n 1T n EC2( vs Instance-Store)
n ()S3 n $0.12/GB/ 100G = $12 Snapshot Copyright 2012 Serverworks
Co, Ltd. All Rights Reserved. 27
- 28. Elastic Load Balancer ELB
- 29. ELB! Elastic Load Balancing( /ELB) n n IPv6 n EC2 n SSL n n
: HTTP, HTTPS, SSL, TCP n Zone ApexRoute 53(AA) Availability Zone
Availability Zone Copyright 2012 Serverworks Co, Ltd. All Rights
Reserved. 29
- 30. Amazon RelationalDatabase Service (RDS) RDS
- 31. RDS! Amazon Relational Database Service n MySQL, Oracle,
SQL Server! Multi-AZ n ! n Amazon Relational Database Service
(RDS)! n 8 n 5 Availability Zone! Availability Zone Copyright 2012
Serverworks Co, Ltd. All Rights Reserved. 31
- 32. EC2! Elastic IP( n IP(IPv4)! Virtual Private Cloud (/VPC n
VPN! CloudWatch() n AWS! Auto Scaling() n EC2! (HPC)! VM import n
Vmware ESX VMDK, Citirix Xen VHDMicrosoft Windows Server
2003(R2)/2008(R1 or R2),Microsoft Hyper-V VHD Copyright 2012
Serverworks Co, Ltd. All Rights Reserved. 32
- 33. EC2 www.yourApp.com media.yourApp.com (Static data) Amazon
Route 53 Amazon Hosted Zone CloudFront Elastic Load Balancer Amazon
EC2 Amazon Instances CloudWatch Alarms Web Web Server Server Amazon
S3 Amazon SNS Auto Scaling Group Bucket Notifications App App
Server Server Amazon App Tier SimpleDB Domains Amazon SES Email
ElastiCache Tier AZ-1 Amazon RDS AZ-2 RegionCopyright 2012
Serverworks Co, Ltd. All Rights Reserved. 33
- 34. AWS IDE SDK Web AWS Toolkit for Eclipse Elastic
Beanstalk.NET, Java, PHP, Management AWS Toolkit for Visual
CloudFormationRuby,Android, iOS Console Studio Simple workflow IAM
VPC & Direct ConnectConsolidated CloudWatch CloudSearch Elastic
LB Billing Route 53 Elastic Devpay SNS ElastiCache SESMapReduce FPS
CloudFront SQS RDS S3 EC2 SimpleDB EBS DynamoDB AWS (//) Copyright
2012 Serverworks Co, Ltd. All Rights Reserved. 34
- 35. 110! Amazon Web Services Copyright 2012 Serverworks Co,
Ltd. All Rights Reserved. 35
- 36. Amazon Web Services! http://aws.amazon.com/jp/!
http://aws.amazon.com/jp/documentation/! AWS
http://www.slideshare.net/kentamagawa! Cloud Design Pattern
http://aws.clouddesignpattern.org! Twitter #jawsug! AWS
https://forums.aws.amazon.com/category.jspa? categoryID=9! AWS
Support http://aws.amazon.com/jp/premiumsupport/ Copyright 2012
Serverworks Co, Ltd. All Rights Reserved. 36
- 37. ! ! Amazon Web Services Mail : aya_komuro@serverworks.co.jp
Copyright 2012 Serverworks Co, Ltd. All Rights Reserved. 37