SlideShare a Scribd company logo
EC2

2009/9/8   EC2



                       1
•


•   EC2




          2
Agenda

•
•
•       EC2

• EC2
•
•
                       3
chapter 1




     10




            4
•
•         paperboy&co.
    EC



                   lolipop        JUGEM
    GMO
                         (3633)

                                          5
1,000   ASP
              6
•



•
    EC



         7
•   2000


• 2000      10      Web
          CMS      (Windows Media , Real Server , SMIL )
    Flash        Flash4   actionscript FCS
    Web            ASP → Java Servlet , Struts )


• 2006      1     Paperboy&co.
    LAMP , Flash , JavaScript


                                                           8
•

•
•2
    F’s Garage (blog)
    2003
    http://www.milkstand.net/fsgarage

                                        9
•   2006   7

•   FedoraCore5

•   PowerEdge SC430 (Celeron D)

•   B                                    1Mbps www

•              F’s Garage (apache 2.0)

•   DNS (bind)

•   Drupal ( RSS

                                                     10
•
•
•



    11
chapter 2




            12
•
          (PC, iPhone , Windows Mobile, Android


• 2007         4

•

• PHP5 + MySQL
    (eo                       MVC

                                                  13
•         api



•
•   URL         Web




                      14
•   15
          twitter
    10%

•
                    15
16
17
•   RAID HDD
                               HDD

•
•
•
•
•   Web
           CPU (AMD Phenom 9950      →

•                    UStream

                                         18
•   HDD   /bin




                 19
Web               EC2
        DB
        ML115(Opteron)    (HP ML115
                         Phenom 9950)
SC430




               Web
                                        Yamaha RT1000   twitter
                HP ML115
              (Athlon64 X2)

                                                                  20
• AMD
     600   PV



 ※              in/out




                         21
EC2

•
              EC2

• EC2

•

•
                    22
EC2


•
•

•
    twitter api

        →            → twitter api
                vs
        → EC2                → twitter api
                                             23
chapter 3

    EC2



            24
EC2


•                             id:rx7




Amazon EC2/S3                  -
         (Amazon Web Services           )
http://d.hatena.ne.jp/rx7/20080528/p1

                                            25
EC2


•                     Elastic Load Balancing

•   Web                                        30

•   DB                     IP

•                         Medium
    ( 32bit Xeon 2.3GHz         1.7GByte   350GB
      1          0.2$ /hour           144$ +

•   PHP                     NFS



                                                    26
•
    Web    proxy    heteml

•            DB    EC2   small

•                   MySQL
          DB EC2
           Large Instance 0.4 /hour   7.5GB

•            DNS



                                              27
EC2


•                            CPU

•   I/O              Web             small instance


    (     200   PV

•                    medium × 3
    1 Phenom (9950BE

•   medium instance        small                (AMI)
                small              medium



                                                        28
Web
                                30min




•   Web                 AMI
    >ec2-run-instances ami-xxxx -t c1.medium -k *****

•                                                       rsync
    >/root/ec2app_update.sh

•           AMI



•


                                                                29
AMI



•   mkdir /var/session

•   mount -o nolock -t nfs ip-xxxxxxxxxx.ec2.internal:/var/
    session /var/session

•   /etc/init.d/sendmail start

•   /sbin/chkconfig sendmail on

•   pecl install channel://pecl.php.net/oAuth-0.99.9

•   cp /var/www/twitter/cron/httpd_logrotate /etc/logrotate.d/

•           php.ini                 Web

•             AMI


                                                                 30
•
                  $977 (Medium     6
           $225
                      $23
    S3   $1.2
            $1,226

•
                  $1,200 (Medium       7.8
           $340
                      $24
    S3   $1.2
            $1,606
                                             31
EC2

•              Load Balancer IP
    →ec2      DNS         CNAME
       movatwitter.jp    www.movatwitter.jp

•   Cloud watch or WAKAME



•              Script

•   EBS

•   Reserved Instance                         EC2



•              EC2

                                                    32
chapter 4

EC2



                  33
EC2

•     h

•                      ec2
    e-learning   IR




                             34
•   GUI




    >ec2-run-instances ami-xxxxxxxx -t c1.medium -k *******



    >elb-register-instances-with-lb movatwitter-lb --instances i-xxxxxx,i-
    xxxxx



    >elb-describe-instance-health --lb movatwitter-lb


                                                                             35
iPhone


•   Touch Term
                          SSH

•




                                36
chapter 5




            37
•         AMI
     OS

•
•
•   HDD

•

    →
                38
•

•




    39
40
•
            EC2

•

•
    (AMI)




                  41
42

More Related Content

PDF
Soirée de lancement Visual Studio - .Net Core 3 et ASP.Net Core 3
KEY
Plone Deployment Secrets & Tricks
PDF
톰캣 #09-쓰레드
KEY
Plone Deployment (PloneConf Edition)
PDF
Capistrano
KEY
Performance Pack
 
PPTX
Deployment with Fabric
PDF
WordPress Performance & Scalability
Soirée de lancement Visual Studio - .Net Core 3 et ASP.Net Core 3
Plone Deployment Secrets & Tricks
톰캣 #09-쓰레드
Plone Deployment (PloneConf Edition)
Capistrano
Performance Pack
 
Deployment with Fabric
WordPress Performance & Scalability

What's hot (18)

PDF
Building Real-Time Applications with Android and WebSockets
PDF
Phorum MySQL tricks
PDF
Scripting Yor Java Application with BSF3
 
PDF
From One to a Cluster
PDF
Virtual Infrastructure
PDF
PDF
Salt Stack - Subhankar Sengupta
PPTX
201904 websocket
PDF
體驗 Hhvm
PDF
Fisl - Deployment
KEY
Deploy, Scale and Sleep at Night with JRuby
PPTX
Magento Meetup Wrocław 6. "Docker for Mac - possible solutions to performance...
PDF
Fast stuff… on speed
PDF
WebSockets with Spring 4
PDF
快快樂樂用Homestead
ODP
PXEless Discovery with Foreman
PDF
Nvmfs benchmark
PDF
WordPress Home Server with Raspberry Pi
Building Real-Time Applications with Android and WebSockets
Phorum MySQL tricks
Scripting Yor Java Application with BSF3
 
From One to a Cluster
Virtual Infrastructure
Salt Stack - Subhankar Sengupta
201904 websocket
體驗 Hhvm
Fisl - Deployment
Deploy, Scale and Sleep at Night with JRuby
Magento Meetup Wrocław 6. "Docker for Mac - possible solutions to performance...
Fast stuff… on speed
WebSockets with Spring 4
快快樂樂用Homestead
PXEless Discovery with Foreman
Nvmfs benchmark
WordPress Home Server with Raspberry Pi
Ad

Viewers also liked (9)

PDF
モバツイッタープレゼン
PPTX
Illescas julia aguado
PDF
セミッタープレゼン 20090718
PPTX
Android ui design
PPS
Illescas cristian medina
PDF
Mashup Awards 2016
PDF
SIer出身者を採用したい非SI経験+採用責任者の叫び
PDF
【プレゼン】見やすいプレゼン資料の作り方【初心者用】
PDF
見やすいプレゼン資料の作り方 - リニューアル増量版
モバツイッタープレゼン
Illescas julia aguado
セミッタープレゼン 20090718
Android ui design
Illescas cristian medina
Mashup Awards 2016
SIer出身者を採用したい非SI経験+採用責任者の叫び
【プレゼン】見やすいプレゼン資料の作り方【初心者用】
見やすいプレゼン資料の作り方 - リニューアル増量版
Ad

Similar to EC2ナイトセミナプレゼン資料 Rel2 (20)

PDF
AWS利用の勘所とトレーニングでの活用
PPTX
Amazon web services
PDF
Use Somebody Else's Infrastructure - Utilizing Amazon S3 and EC2
PDF
Rails Conf Europe 2007 - Utilizing Amazon S3 and EC2 in Rails
PDF
Games + Amazon = Love - Presentation quo vadis 2011
PPT
re7jweiss
PDF
PDF
Introduction to First Commercial Memcached Service for Cloud
KEY
プラットフォーム分科会_20100804
PDF
[Harvard CS264] 08a - Cloud Computing, Amazon EC2, MIT StarCluster (Justin Ri...
PDF
Cs264 intro-to-cloud-computing
PDF
Netflix Moving To Cloud
PDF
Cloud Computing: AWS for Lean Startups
PDF
Cloud Computing BP-Study 20090319
KEY
Drupal In The Cloud
PDF
クラウドで災害対策
PDF
Why Memcached?
PDF
S3 and EC2 Rails Scenarios
PDF
Cdn配置方法
KEY
Bare Metal Cloud: 実マシンを提供するクラウドサービス (SWoPP 2010)
AWS利用の勘所とトレーニングでの活用
Amazon web services
Use Somebody Else's Infrastructure - Utilizing Amazon S3 and EC2
Rails Conf Europe 2007 - Utilizing Amazon S3 and EC2 in Rails
Games + Amazon = Love - Presentation quo vadis 2011
re7jweiss
Introduction to First Commercial Memcached Service for Cloud
プラットフォーム分科会_20100804
[Harvard CS264] 08a - Cloud Computing, Amazon EC2, MIT StarCluster (Justin Ri...
Cs264 intro-to-cloud-computing
Netflix Moving To Cloud
Cloud Computing: AWS for Lean Startups
Cloud Computing BP-Study 20090319
Drupal In The Cloud
クラウドで災害対策
Why Memcached?
S3 and EC2 Rails Scenarios
Cdn配置方法
Bare Metal Cloud: 実マシンを提供するクラウドサービス (SWoPP 2010)

More from 真一 藤川 (20)

PDF
DXに立ち向かうための マインドセット(公開用)
PDF
部下に対して「難しいね」で終わらせないマネジメント
PDF
2019/10/31 BASE社発表資料 - EOF2019
PPTX
20180215 devsumi-base
PPTX
G's Academy メンター資料 / 20180216
PPTX
20171219 / phpway / BASE,Inc.
PPTX
Baseエンジニアイベント 20170516
PPTX
Mastodon schoo 201705
PPTX
Ipmeeting 2016 fujikawa
PDF
20161117 base introduce.key
PDF
TechCrunch Tokyo CTO-Night 2015 presentation
PPTX
Hacker's meetup boost_vol1発表資料_20150902
PPTX
Ssi 20150519
PPTX
【WCAN 2015 spring】ワクワクドリブンエンジニアリング_公開版
PPTX
Web業界就職戦略
PDF
〜100万人から教わったウェブサービスの極意〜
PDF
ファンドロイド 仙台講演 プレゼン資料
PPTX
Startup design-thinkng
PPTX
100万人に使われるサービスの作り方 第一歩 (2013/10/12 spinout登壇資料)
PPTX
エンジニアの未来サミット for student
DXに立ち向かうための マインドセット(公開用)
部下に対して「難しいね」で終わらせないマネジメント
2019/10/31 BASE社発表資料 - EOF2019
20180215 devsumi-base
G's Academy メンター資料 / 20180216
20171219 / phpway / BASE,Inc.
Baseエンジニアイベント 20170516
Mastodon schoo 201705
Ipmeeting 2016 fujikawa
20161117 base introduce.key
TechCrunch Tokyo CTO-Night 2015 presentation
Hacker's meetup boost_vol1発表資料_20150902
Ssi 20150519
【WCAN 2015 spring】ワクワクドリブンエンジニアリング_公開版
Web業界就職戦略
〜100万人から教わったウェブサービスの極意〜
ファンドロイド 仙台講演 プレゼン資料
Startup design-thinkng
100万人に使われるサービスの作り方 第一歩 (2013/10/12 spinout登壇資料)
エンジニアの未来サミット for student

Recently uploaded (20)

PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
cuic standard and advanced reporting.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPT
Teaching material agriculture food technology
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
KodekX | Application Modernization Development
PPTX
Big Data Technologies - Introduction.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
Programs and apps: productivity, graphics, security and other tools
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
Network Security Unit 5.pdf for BCA BBA.
NewMind AI Weekly Chronicles - August'25 Week I
cuic standard and advanced reporting.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Dropbox Q2 2025 Financial Results & Investor Presentation
Review of recent advances in non-invasive hemoglobin estimation
Reach Out and Touch Someone: Haptics and Empathic Computing
Teaching material agriculture food technology
Mobile App Security Testing_ A Comprehensive Guide.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
KodekX | Application Modernization Development
Big Data Technologies - Introduction.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
sap open course for s4hana steps from ECC to s4
Programs and apps: productivity, graphics, security and other tools
“AI and Expert System Decision Support & Business Intelligence Systems”

EC2ナイトセミナプレゼン資料 Rel2

  • 1. EC2 2009/9/8 EC2 1
  • 2. • • EC2 2
  • 3. Agenda • • • EC2 • EC2 • • 3
  • 4. chapter 1 10 4
  • 5. • • paperboy&co. EC lolipop JUGEM GMO (3633) 5
  • 6. 1,000 ASP 6
  • 7. • • EC 7
  • 8. 2000 • 2000 10 Web CMS (Windows Media , Real Server , SMIL ) Flash Flash4 actionscript FCS Web ASP → Java Servlet , Struts ) • 2006 1 Paperboy&co. LAMP , Flash , JavaScript 8
  • 9. • • •2 F’s Garage (blog) 2003 http://www.milkstand.net/fsgarage 9
  • 10. 2006 7 • FedoraCore5 • PowerEdge SC430 (Celeron D) • B 1Mbps www • F’s Garage (apache 2.0) • DNS (bind) • Drupal ( RSS 10
  • 12. chapter 2 12
  • 13. (PC, iPhone , Windows Mobile, Android • 2007 4 • • PHP5 + MySQL (eo MVC 13
  • 14. api • • URL Web 14
  • 15. 15 twitter 10% • 15
  • 16. 16
  • 17. 17
  • 18. RAID HDD HDD • • • • • Web CPU (AMD Phenom 9950 → • UStream 18
  • 19. HDD /bin 19
  • 20. Web EC2 DB ML115(Opteron) (HP ML115 Phenom 9950) SC430 Web Yamaha RT1000 twitter HP ML115 (Athlon64 X2) 20
  • 21. • AMD 600 PV ※ in/out 21
  • 22. EC2 • EC2 • EC2 • • 22
  • 23. EC2 • • • twitter api → → twitter api vs → EC2 → twitter api 23
  • 24. chapter 3 EC2 24
  • 25. EC2 • id:rx7 Amazon EC2/S3 - (Amazon Web Services ) http://d.hatena.ne.jp/rx7/20080528/p1 25
  • 26. EC2 • Elastic Load Balancing • Web 30 • DB IP • Medium ( 32bit Xeon 2.3GHz 1.7GByte 350GB 1 0.2$ /hour 144$ + • PHP NFS 26
  • 27. Web proxy heteml • DB EC2 small • MySQL DB EC2 Large Instance 0.4 /hour 7.5GB • DNS 27
  • 28. EC2 • CPU • I/O Web small instance ( 200 PV • medium × 3 1 Phenom (9950BE • medium instance small (AMI) small medium 28
  • 29. Web 30min • Web AMI >ec2-run-instances ami-xxxx -t c1.medium -k ***** • rsync >/root/ec2app_update.sh • AMI • 29
  • 30. AMI • mkdir /var/session • mount -o nolock -t nfs ip-xxxxxxxxxx.ec2.internal:/var/ session /var/session • /etc/init.d/sendmail start • /sbin/chkconfig sendmail on • pecl install channel://pecl.php.net/oAuth-0.99.9 • cp /var/www/twitter/cron/httpd_logrotate /etc/logrotate.d/ • php.ini Web • AMI 30
  • 31. $977 (Medium 6 $225 $23 S3 $1.2 $1,226 • $1,200 (Medium 7.8 $340 $24 S3 $1.2 $1,606 31
  • 32. EC2 • Load Balancer IP →ec2 DNS CNAME movatwitter.jp www.movatwitter.jp • Cloud watch or WAKAME • Script • EBS • Reserved Instance EC2 • EC2 32
  • 34. EC2 • h • ec2 e-learning IR 34
  • 35. GUI >ec2-run-instances ami-xxxxxxxx -t c1.medium -k ******* >elb-register-instances-with-lb movatwitter-lb --instances i-xxxxxx,i- xxxxx >elb-describe-instance-health --lb movatwitter-lb 35
  • 36. iPhone • Touch Term SSH • 36
  • 37. chapter 5 37
  • 38. AMI OS • • • HDD • → 38
  • 39. • • 39
  • 40. 40
  • 41. EC2 • • (AMI) 41
  • 42. 42