(Twitter: @KenTamagawa) v 1.1 - July 21st, 2011
(Ken Tamagawa) Twitter: @KenTamagawa
2011 8 6 Japan Innovation Leaders Summit
IT IT
AWS
90% AWS 90%
アーキテクチャ設計
Intro
}7 Intro 1 2 3 4 5 6 7
Intro 1 2 3 4 5 6 7 End
Intro 1 2 3 4 5 6 7 End
vs.
DAS (Direct-Attached Storage) SAN (Storage Area Network) NAS (Network-Attached Storage)
EC2 ( ) EBS (Elastic Block Store) S3 (Simple Storage Service) SimpleDB, SQS, etc.
S : 99.999999999 % S3 (Simple Storage Service)
Medium Large Small
Web Management Console Software Libraries and SDK Command Line Interface Resource Management Tools Amazon Web Services API
vs
vs EC2 (, CPU, )
EC2 : Small vs Medium 1 ECU = 1.2 GHz Xeon Small Medium Elastic Compute Unit 1 5X 5 RAM 1.7 GB 1.7 GB 160 GB 2.2X 350 GB ( ) 7 2X 14
/ ( )
Demo: EC2
/ ( )
vs.
EBS EC2 ELB Route 53 Cloudfront S3 DB AZ RDS
Intro 1 2 3 4 5 6 7 End
EBS AMI / (ELB) (AZ) EC2 Relational Database Service + AZ Elastic IP
AWS
: US West US East AP Japan EU West AP Singapore
(AZ) AZ US West A B C US East A B C D A B C EU West AP Japan A B A B AP Singapore
(AZ) AZ US West A B C US East A B C D A B C EU West AP Japan A B A B AP Singapore
AZ Tokyo-1a Tokyo-1b EC2 EC2 EC2 EC2 A B AP Tokyo AP Tokyo
RDS AZ Tokyo-1a Tokyo-1b DB RDS RDS AP Tokyo
Demo: RDS AZ
Intro 1 2 3 4 5 6 7 End
Cursus Publicus
M Legion VI M Londinium Legion III M Lutetia Legion XI M Hispania M M M Rome Legion IX
Simple Queue Service / / AWS
: A B C D
: A B C D M M M MMM M MM M M SQS SQS SQS
: C A C C B C D M M M MMM M M M MM SQS SQS SQS
Intro 1 2 3 4 5 6 7 End
Amazon EC2 Cloudwatch EC2 EC2 EC2 EC2 EC2 EC2 EC2 EC2 EC2 EC2 EC2 EC2 Amazon Web Services
Amazon EC2 Cloudwatch EC2 EC2 EC2 EC2 EC2 EC2 EC2 EC2 EC2 Amazon Web Services EC2 EC2 EC2
Amazon EC2 Cloudwatch EC2 EC2 EC2 EC2 EC2 EC2 EC2 Amazon Web Services EC2 EC2 EC2 EC2 EC2
Amazon EC2 Cloudwatch EC2 EC2 EC2 EC2 EC2 EC2 EC2 EC2 EC2 EC2 Amazon Web Services EC2 EC2
Elasticity: : / / AutoScaling CloudWatch ( )
Elasticity: : / / CloudWatch ( ) EC2 (1 5 ) EBS (20 GB 100 GB)
Demo: Autoscaling EC2
/ Intro 1 2 3 4 5 6 7 End
/ EC2 : AZ : Cloudfront
Amazon Cloudfront + Route 53 (CDN) + DNS Palo Alto Seattle Newark New York Dublin London Amsterdam Stockholm Tokyo Paris Frankfurt Los Angeles Ashburn Dallas Jacksonville Hong Kong St.Louis Miami Singapore
Intro 1 2 3 4 5 6 7 End
Elastic Map Reduce (EMR): Hadoop for Amazon S3 Elastic Load Balancing
Demo: Elastic Load Balancing
Intro 1 2 3 4 5 6 7 End
?
?
? / /
? / / RAM? (Memcached)
? / / RAM? (Memcached)? EBS Raid
RDS AZ
RDS Tokyo-1a Tokyo-1b Read RDS RDS RDS RDS
Intro 1 2 3 4 5 6 7 End
DC OS : ISO 27001, PCI-DSS 1 : SSL Endpoints, Encrypted FS IAM: Identity Access Management VPC: Virtual Private Cloud
PC (107.3.8.123) RDS-servers RDS RDS RDS 22 80 1521 web-servers app-servers DB-servers EC2 EC2 EC2 EC2 any EC2 22 EC2 1521 EC2 EC2 EC2
Demo:
VPC: Virtual Private Cloud local local local local local EC2 EC2 EC2 AWS EC2 EC2 EC2 EC2 3 2 NAT EC2 EC2 EC2 EC2 EC2 VPN Virtual Private Cloud EC2 EC2 EC2 1
IAM: Identity Access Management AWS / API LDAP
Intro 1 2 3 4 5 6 7 End
Firmitas ( ) Utilitas ( ) Venustas ( )
7 1. 2. 3. 4. / 5. 6. 7.
AWS http://aws.amazon.com/jp/ AWS http://aws.typepad.com/aws_japan/ http://www.slideshare.net/kentamagawa/3aws Acknowledgement: Simone Brunozzi, Jinesh Varia, Matt Wood