JAWS-UG Fukuoka               3                            AWS         kaz@cloudpack.jp            2011.6.21
:                                                 @kaz_goto         JAWS-UG: Tokyo, Osaka, Fukuoka new!      AWS          ...
Web2003 8             23         : IT      Web                  3
4
Amazon EC2  AWS2010   42011   12011   6     40   100                        5
//       24         5   (SMALL   )             6
7       /    7
Amazon Web Services   ...                            8
/Web           DB       ...          /EBS          (                  )                                 OS                ...
10
11
http://www.pga.or.jp/         12
http://www.pga.or.jp/         13
http://www.pga.or.jp/                ELB                                (master)slave                                 slav...
.comhttp://www.takumen.com/          15
.com     http://www.takumen.com/TV               16
.com          1                        http://www.takumen.com/      www.takumen.com                         cdn.takumen.co...
.com        2             http://www.takumen.com/      (EC)EC(           )        EC2                       18
.com          http://www.takumen.com/1CDN2    EC23                 → 6/24                    19
20
21
cloudpack               CMS      AMISAVE JAPAN:                    (CDN)JustGiving: AWS                                (DB...
Just Givinghttp://justgiving.jp/         23
JustGiving Japan                http://justgiving.jp/3/12 13:41                         24
JustGiving Japan                http://justgiving.jp/3/12 14:10                         25
JustGiving Japan                http://justgiving.jp/3/12 19:13                         26
JustGiving Japan                http://justgiving.jp/3/12 19:16                         27
JustGiving Japan               http://justgiving.jp/3 12 13    AWS DB RDS   (db.m2.4xlarge 1        )                (m1.l...
13            1. PHP APC              2. Apache MaxClients        256 → 600                                               ...
16:23        (                                                                                         )top - 16:23:31 up ...
JustGiving Japan                       http://justgiving.jp/c1.xlarge(7GB, 20ECU) → m2.2xlarge(34.2GB, 13ECU)Apache       ...
JustGiving Japan   http://justgiving.jp/            32
AWS  sinsai.info   http://sinsai.info/     buji.me                AWS  http://ww.buji.me/                            S3   ...
AWS     IaaSOS     PaaSS3                 (MySQL/Apache)            34
#AWS77  35
Thank You! http://www.cloudpack.jp/  suuport@cloudpack.jp      @cloudpack_jp
Upcoming SlideShare
Loading in …5
×

JAWS-UG Fukuoka勉強会 第3回 災害時の対応とAWSの力

1,593 views
1,531 views

Published on

2011年6月21日に行われたJAWS-UG大阪にて、LTで発表した資料。RDSの紹介とRDS for Oracleへの移行でハマる箇所の紹介。

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,593
On SlideShare
0
From Embeds
0
Number of Embeds
236
Actions
Shares
0
Downloads
5
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

JAWS-UG Fukuoka勉強会 第3回 災害時の対応とAWSの力

  1. 1. JAWS-UG Fukuoka 3 AWS kaz@cloudpack.jp 2011.6.21
  2. 2. : @kaz_goto JAWS-UG: Tokyo, Osaka, Fukuoka new! AWS : Gold 1SSID: kaz_goto4 AWS JAWS-UG Osaka 25 AWS Partner Advisory Summit in Seattle 2
  3. 3. Web2003 8 23 : IT Web 3
  4. 4. 4
  5. 5. Amazon EC2 AWS2010 42011 12011 6 40 100 5
  6. 6. // 24 5 (SMALL ) 6
  7. 7. 7 / 7
  8. 8. Amazon Web Services ... 8
  9. 9. /Web DB ... /EBS ( ) OS 9
  10. 10. 10
  11. 11. 11
  12. 12. http://www.pga.or.jp/ 12
  13. 13. http://www.pga.or.jp/ 13
  14. 14. http://www.pga.or.jp/ ELB (master)slave slave slave slave slave 5 EC2 SMALL 1 5 : ReverseProxy CMS rsync 14
  15. 15. .comhttp://www.takumen.com/ 15
  16. 16. .com http://www.takumen.com/TV 16
  17. 17. .com 1 http://www.takumen.com/ www.takumen.com cdn.takumen.com Text (EC)EC( ) CSS JS SWF CloudFront 17
  18. 18. .com 2 http://www.takumen.com/ (EC)EC( ) EC2 18
  19. 19. .com http://www.takumen.com/1CDN2 EC23 → 6/24 19
  20. 20. 20
  21. 21. 21
  22. 22. cloudpack CMS AMISAVE JAPAN: (CDN)JustGiving: AWS (DB LB )buji.me: AWS ( ) : ( )medica.net: AWSsinsai.info: ( ) : DNS 22
  23. 23. Just Givinghttp://justgiving.jp/ 23
  24. 24. JustGiving Japan http://justgiving.jp/3/12 13:41 24
  25. 25. JustGiving Japan http://justgiving.jp/3/12 14:10 25
  26. 26. JustGiving Japan http://justgiving.jp/3/12 19:13 26
  27. 27. JustGiving Japan http://justgiving.jp/3/12 19:16 27
  28. 28. JustGiving Japan http://justgiving.jp/3 12 13 AWS DB RDS (db.m2.4xlarge 1 ) (m1.large 1 ) / (c1.xlarge 1 ) AWS 28
  29. 29. 13 1. PHP APC 2. Apache MaxClients 256 → 600 Apache 3. LoadModule DB 4. → 5. Apache Timeout 120 → 20 6. S3 7. c1.xlarge → m2.2xlarge 8. 9. Apache disk cache 10. DB Slow Query 11. DB QueryCache Slow Query 12. disk cache Last-Modfied + Expire 13. memcached 14. 15. 1014 0 16. 18 /DB/ / ... 29
  30. 30. 16:23 ( )top - 16:23:31 up 1:13, 8 users, load average: 273.91, 166.21, 115.99Tasks: 704 total, 400 running, 304 sleeping, 0 stopped, 0 zombieCpu(s): 43.7%us, 13.8%sy, 0.0%ni, 39.1%id, 0.4%wa, 0.0%hi, 2.9%si, 0.2%stMem: 35133768k total, 9500728k used, 25633040k free, 101084k buffersSwap: 0k total, 0k used, 0k free, 867780k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND4004 apache 20 0 376m 29m 16m R 1.3 0.1 0:09.98 httpd4018 apache 20 0 391m 40m 13m R 1.3 0.1 0:07.36 httpd4030 apache 20 0 373m 25m 15m R 1.3 0.1 0:06.82 httpd4036 apache 20 0 379m 32m 16m R 1.3 0.1 0:08.54 httpd4043 apache 20 0 372m 24m 15m R 1.3 0.1 0:07.54 httpd4044 apache 20 0 394m 44m 14m R 1.3 0.1 0:04.96 httpd4048 apache 20 0 385m 36m 15m R 1.3 0.1 0:07.04 httpd4062 apache 20 0 391m 41m 13m R 1.3 0.1 0:04.45 httpd4072 apache 20 0 372m 24m 15m R 1.3 0.1 0:07.69 httpd4090 apache 20 0 380m 31m 14m R 1.3 0.1 0:05.05 httpd4108 apache 20 0 374m 25m 15m R 1.3 0.1 0:05.71 httpd4111 apache 20 0 382m 31m 19m R 1.3 0.1 0:06.02 httpd4114 apache 20 0 372m 24m 15m R 1.3 0.1 0:04.89 httpd 30
  31. 31. JustGiving Japan http://justgiving.jp/c1.xlarge(7GB, 20ECU) → m2.2xlarge(34.2GB, 13ECU)Apache ReverseProxy→Redirect ...HTMLDB memcached 31
  32. 32. JustGiving Japan http://justgiving.jp/ 32
  33. 33. AWS sinsai.info http://sinsai.info/ buji.me AWS http://ww.buji.me/ S3 for iPhone AWS medica.net http://medica.net/ DNS (Route53) DNS (Route53)http://www.ibaraki.ac.jp/ 33
  34. 34. AWS IaaSOS PaaSS3 (MySQL/Apache) 34
  35. 35. #AWS77 35
  36. 36. Thank You! http://www.cloudpack.jp/ suuport@cloudpack.jp @cloudpack_jp

×