JAWS-UG Osaka勉強会 第2回 「災害後 活動報告」
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

JAWS-UG Osaka勉強会 第2回 「災害後 活動報告」

  • 1,626 views
Uploaded on

震災後にJAWSUGチームで活動した際にやっとこと、感じたことをまとめました。

震災後にJAWSUGチームで活動した際にやっとこと、感じたことをまとめました。

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to like this
No Downloads

Views

Total Views
1,626
On Slideshare
1,606
From Embeds
20
Number of Embeds
4

Actions

Shares
Downloads
6
Comments
1
Likes
0

Embeds 20

http://www.cloudpack.jp 13
http://paper.li 5
http://10.33.22.52:81 1
http://10.33.22.52 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. JAWS-UG Osaka 2 kaz@cloudpack.jp 2011.4.23
  • 2. :cloudpackJAWS-UG TokyoJAWS-UG Osaka AWS : S3Blog: http://5net.com/ Email: kaz@cloudpack.jp Twitter: @kaz_goto2 JAWSUG Osaka 13 Cloud Days Tokyo34 AWS 2
  • 3. Amazon EC2 AWS2010 42011 12011 4 30 100 3
  • 4. 4
  • 5. :ECCMS 5
  • 6. :AWS DC/ 6
  • 7. 7
  • 8. 8
  • 9. 9
  • 10. 10
  • 11. 11
  • 12. ...12
  • 13. 13
  • 14. 14
  • 15. 15
  • 16. 16
  • 17. 17
  • 18. 18
  • 19. 19
  • 20. 20
  • 21. ( )21
  • 22. 22
  • 23. 23
  • 24. ( )24
  • 25. 25
  • 26. 26
  • 27. OKSMS/Facebook 27
  • 28. 28
  • 29. 29
  • 30. 30
  • 31. 31
  • 32. JAWS-UG / cloudpack 32
  • 33. !"#$%#&
  • 34. !"#$%&
  • 35. 35
  • 36. CMS AMISAVE JAPAN: (CDN)JustGiving: AWS (DB LB )buji.me: AWS ( ) : ( )medica.net: AWSsinsai.info: ( ) : DNS 36
  • 37. SAVE JAPAN! PROJECT http://savejapan.simone-inc.com/Twitter 37
  • 38. SAVE JAPAN! PROJECT http://savejapan.simone-inc.com/3/12 0:29 38
  • 39. SAVE JAPAN! PROJECT http://savejapan.simone-inc.com/3/12 1:15 39
  • 40. SAVE JAPAN! PROJECT http://savejapan.simone-inc.com/3/12 1:25 40
  • 41. SAVE JAPAN! PROJECT http://savejapan.simone-inc.com/ Text3/12 3:00 30 41
  • 42. SAVE JAPAN! PROJECT http://savejapan.simone-inc.com/Twitter 30 CDN S3+CloudFront 42
  • 43. SAVE JAPAN! PROJECT http://savejapan.simone-inc.com/Twitter 30 CDN S3+CloudFront S3 ... 42
  • 44. Just Givinghttp://justgiving.jp/ 43
  • 45. JustGiving Japan http://justgiving.jp/3/12 13:41 44
  • 46. JustGiving Japan http://justgiving.jp/3/12 14:10 45
  • 47. JustGiving Japan http://justgiving.jp/3/12 18:50 46
  • 48. JustGiving Japan http://justgiving.jp/3/12 18:53 47
  • 49. JustGiving Japan http://justgiving.jp/3/12 19:13 48
  • 50. JustGiving Japan http://justgiving.jp/3/12 19:16 49
  • 51. JustGiving Japan http://justgiving.jp/12 13 AWS DB RDS (db.m2.4xlarge 1 ) (m1.large 1 ) / (c1.xlarge 1 ) 50
  • 52. JustGiving Japan http://justgiving.jp/12 13 AWS DB RDS (db.m2.4xlarge 1 ) (m1.large 1 ) / (c1.xlarge 1 ) AWS 50
  • 53. 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/ / ... 51
  • 54. 13:22top - 13:22:34 up 13:57, 10 users,  load average: 91.19, 89.79, 66.40Tasks: 473 total,  70 running, 403 sleeping,   0 stopped,   0 zombieCpu(s): 16.3%us,  7.1%sy,  0.0%ni, 72.7%id,  0.1%wa,  0.0%hi,  1.7%si,  2.1Mem:   7136220k total,  6683404k used,   452816k free,   201388k buffersSwap:        0k total,        0k used,        0k free,  1002020k cached  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND       9060 apache    20   0  383m  16m 5384 S 29.8  0.2   0:06.13 httpd         8701 apache    20   0  397m  26m 8144 R 23.5  0.4   0:20.02 httpd         9022 apache    20   0  406m  40m 6040 R 23.5  0.6   0:07.74 httpd         8996 apache    20   0  396m  25m 7716 R 20.4  0.4   0:07.21 httpd         8556 apache    20   0  388m  21m 6248 R 18.8  0.3   0:18.46 httpd         8750 apache    20   0  391m  25m 6140 S 18.8  0.4   0:14.28 httpd         8585 apache    20   0  388m  22m 6168 R 17.2  0.3   0:20.89 httpd         8655 apache    20   0  407m  36m 8112 R 17.2  0.5   0:17.60 httpd         8733 apache    20   0  398m  28m 8220 R 17.2  0.4   0:13.14 httpd         8467 apache    20   0  405m  39m 6064 S 15.7  0.6   0:18.56 httpd         8487 apache    20   0  433m  62m 8032 R 15.7  0.9   0:27.72 httpd         8645 apache    20   0  407m  41m 6156 R 15.7  0.6   0:22.01 httpd         8744 apache    20   0  387m  21 52
  • 55. 16:23 (scaleup-ed, but Horiemon-shot attacked)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 53
  • 56. JustGiving Japan http://justgiving.jp/c1.xlarge (7GB 20ECU) → m2.2xlarge (34.2GB 13ECU)Apache ReverseProxy→Redirect ...HTMLDB memcached 54
  • 57. JustGiving Japan http://justgiving.jp/c1.xlarge (7GB 20ECU) → m2.2xlarge (34.2GB 13ECU)Apache ReverseProxy→Redirect ...HTMLDB memcached 54
  • 58. JustGiving Japan http://justgiving.jp/ 55
  • 59. 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/ 56
  • 60. AWS57
  • 61. AWS57
  • 62. AWS IaaSVM 57
  • 63. AWS IaaSVMS3 57
  • 64. AWS IaaSVMS3 57
  • 65. 58
  • 66. 58
  • 67. DR OScloudworks 58
  • 68. DR OScloudworks 58
  • 69. [TechTarget ] http://techtarget.itmedia.co.jp/tt/news/1103/30/news03.html IIJ [ITmedia] http://www.itmedia.co.jp/enterprise/special/0608/disaster/index.html 59
  • 70. S3 EC2 mount s3fsSticky Session with ELB 60
  • 71. Thank You!