This document summarizes ShakeSoul Inc.'s use of Amazon Web Services (AWS). It describes how ShakeSoul uses Amazon EC2, S3, Elastic Load Balancing, CloudWatch, Auto Scaling, and the boto library to build scalable and reliable applications. Key aspects covered include using EC2 for virtual servers, S3 for storage, Elastic Load Balancing for traffic distribution, CloudWatch for monitoring, Auto Scaling for automatic scaling, and boto for programmatic access to AWS APIs.
5. • AWS
• Amazon w
•
•
doc. ver. 1.0 5 ShakeSoul, Inc.
6. AWS
• :
• DropBox, Tumblr, Evernote, Animoto, SlideShare, etc...
• :
• Preferred Infrastructure
•
• mixi Amazon EC2
• IDC OS
• CTC : VMware
• IDC : Hyper-V Windows OS
• SIer ( )
• 2010 AWS
• http://aws.amazon.com/about-aws/whats-new/2009/11/12/aws-asia/
• “.. multiple Availability Zones in Singapore in the first half of 2010, then in other Availability
Zones within Asia over the second half of 2010.”
doc. ver. 1.0 6 ShakeSoul, Inc.
8. ( )
Internet
Amazon Web Service
external Router/
DNS Elastic Load Balancing 1:1 NAT
internal DHCP Server
DNS
security security security security
group group group group
instance instance instance instance
doc. ver. 1.0 8 ShakeSoul, Inc.
10. Security Group
• Internet => instance filter
• TCP/UDP/ICMP, Port , Source IP address
• instance => Ineternet any
• AWS
•
• Security Group Security
Group
• default group : key
doc. ver. 1.0 10 ShakeSoul, Inc.
11. demo
• Amazon Management Console Security
Group
doc. ver. 0.1 11 ShakeSoul, Inc.
12. Linux
• NTP
• http://developer.amazonwebservices.com/connect/
thread.jspa?messageID=50437
• “We use NTP to synchronise all our servers. I believe that
the EC2 time inside instances is actually sourced from the
host machine (there's some Xen setting for this which
escapes me at the moment).”
• sshd.conf PermitRootLogin without-password
• NIC 1
doc. ver. 1.0 12 ShakeSoul, Inc.