SlideShare a Scribd company logo
1 of 42
Download to read offline
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

What's hot

Building Real-Time Applications with Android and WebSockets
Building Real-Time Applications with Android and WebSocketsBuilding Real-Time Applications with Android and WebSockets
Building Real-Time Applications with Android and WebSocketsSergi Almar i Graupera
 
Phorum MySQL tricks
Phorum MySQL tricksPhorum MySQL tricks
Phorum MySQL tricksguestd34230
 
Scripting Yor Java Application with BSF3
Scripting Yor Java Application with BSF3Scripting Yor Java Application with BSF3
Scripting Yor Java Application with BSF3day
 
From One to a Cluster
From One to a ClusterFrom One to a Cluster
From One to a Clusterguestd34230
 
Virtual Infrastructure
Virtual InfrastructureVirtual Infrastructure
Virtual InfrastructureBryan McLellan
 
Salt Stack - Subhankar Sengupta
Salt Stack - Subhankar SenguptaSalt Stack - Subhankar Sengupta
Salt Stack - Subhankar SenguptaDevOpsBangalore
 
Fisl - Deployment
Fisl - DeploymentFisl - Deployment
Fisl - DeploymentFabio Akita
 
Deploy, Scale and Sleep at Night with JRuby
Deploy, Scale and Sleep at Night with JRubyDeploy, Scale and Sleep at Night with JRuby
Deploy, Scale and Sleep at Night with JRubyJoe Kutner
 
Magento Meetup Wrocław 6. "Docker for Mac - possible solutions to performance...
Magento Meetup Wrocław 6. "Docker for Mac - possible solutions to performance...Magento Meetup Wrocław 6. "Docker for Mac - possible solutions to performance...
Magento Meetup Wrocław 6. "Docker for Mac - possible solutions to performance...Magento Meetup Wrocław
 
快快樂樂用Homestead
快快樂樂用Homestead快快樂樂用Homestead
快快樂樂用HomesteadChen Cheng-Wei
 
PXEless Discovery with Foreman
PXEless Discovery with ForemanPXEless Discovery with Foreman
PXEless Discovery with ForemanStephen Benjamin
 
Nvmfs benchmark
Nvmfs benchmarkNvmfs benchmark
Nvmfs benchmarkLouis liu
 
WordPress Home Server with Raspberry Pi
WordPress Home Server with Raspberry PiWordPress Home Server with Raspberry Pi
WordPress Home Server with Raspberry PiYuriko IKEDA
 

What's hot (18)

Building Real-Time Applications with Android and WebSockets
Building Real-Time Applications with Android and WebSocketsBuilding Real-Time Applications with Android and WebSockets
Building Real-Time Applications with Android and WebSockets
 
Phorum MySQL tricks
Phorum MySQL tricksPhorum MySQL tricks
Phorum MySQL tricks
 
Scripting Yor Java Application with BSF3
Scripting Yor Java Application with BSF3Scripting Yor Java Application with BSF3
Scripting Yor Java Application with BSF3
 
From One to a Cluster
From One to a ClusterFrom One to a Cluster
From One to a Cluster
 
Virtual Infrastructure
Virtual InfrastructureVirtual Infrastructure
Virtual Infrastructure
 
D2
D2D2
D2
 
Salt Stack - Subhankar Sengupta
Salt Stack - Subhankar SenguptaSalt Stack - Subhankar Sengupta
Salt Stack - Subhankar Sengupta
 
201904 websocket
201904 websocket201904 websocket
201904 websocket
 
體驗 Hhvm
體驗 Hhvm體驗 Hhvm
體驗 Hhvm
 
Fisl - Deployment
Fisl - DeploymentFisl - Deployment
Fisl - Deployment
 
Deploy, Scale and Sleep at Night with JRuby
Deploy, Scale and Sleep at Night with JRubyDeploy, Scale and Sleep at Night with JRuby
Deploy, Scale and Sleep at Night with JRuby
 
Magento Meetup Wrocław 6. "Docker for Mac - possible solutions to performance...
Magento Meetup Wrocław 6. "Docker for Mac - possible solutions to performance...Magento Meetup Wrocław 6. "Docker for Mac - possible solutions to performance...
Magento Meetup Wrocław 6. "Docker for Mac - possible solutions to performance...
 
Fast stuff… on speed
Fast stuff… on speedFast stuff… on speed
Fast stuff… on speed
 
WebSockets with Spring 4
WebSockets with Spring 4WebSockets with Spring 4
WebSockets with Spring 4
 
快快樂樂用Homestead
快快樂樂用Homestead快快樂樂用Homestead
快快樂樂用Homestead
 
PXEless Discovery with Foreman
PXEless Discovery with ForemanPXEless Discovery with Foreman
PXEless Discovery with Foreman
 
Nvmfs benchmark
Nvmfs benchmarkNvmfs benchmark
Nvmfs benchmark
 
WordPress Home Server with Raspberry Pi
WordPress Home Server with Raspberry PiWordPress Home Server with Raspberry Pi
WordPress Home Server with Raspberry Pi
 

Viewers also liked

モバツイッタープレゼン
モバツイッタープレゼンモバツイッタープレゼン
モバツイッタープレゼン真一 藤川
 
セミッタープレゼン 20090718
セミッタープレゼン 20090718セミッタープレゼン 20090718
セミッタープレゼン 20090718真一 藤川
 
SIer出身者を採用したい非SI経験+採用責任者の叫び
SIer出身者を採用したい非SI経験+採用責任者の叫びSIer出身者を採用したい非SI経験+採用責任者の叫び
SIer出身者を採用したい非SI経験+採用責任者の叫び真一 藤川
 
【プレゼン】見やすいプレゼン資料の作り方【初心者用】
【プレゼン】見やすいプレゼン資料の作り方【初心者用】【プレゼン】見やすいプレゼン資料の作り方【初心者用】
【プレゼン】見やすいプレゼン資料の作り方【初心者用】MOCKS | Yuta Morishige
 
見やすいプレゼン資料の作り方 - リニューアル増量版
見やすいプレゼン資料の作り方 - リニューアル増量版見やすいプレゼン資料の作り方 - リニューアル増量版
見やすいプレゼン資料の作り方 - リニューアル増量版MOCKS | Yuta Morishige
 

Viewers also liked (9)

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

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

Hong Qiangning in QConBeijing
Hong Qiangning in QConBeijingHong Qiangning in QConBeijing
Hong Qiangning in QConBeijingshen liu
 
豆瓣技术架构的发展历程 @ QCon Beijing 2009
豆瓣技术架构的发展历程 @ QCon Beijing 2009豆瓣技术架构的发展历程 @ QCon Beijing 2009
豆瓣技术架构的发展历程 @ QCon Beijing 2009Qiangning Hong
 
Rails Conf Europe 2007 - Utilizing Amazon S3 and EC2 in Rails
Rails Conf Europe 2007 - Utilizing Amazon S3 and EC2 in RailsRails Conf Europe 2007 - Utilizing Amazon S3 and EC2 in Rails
Rails Conf Europe 2007 - Utilizing Amazon S3 and EC2 in RailsJonathan Weiss
 
Cloud Computing BP-Study 20090319
Cloud Computing BP-Study 20090319Cloud Computing BP-Study 20090319
Cloud Computing BP-Study 20090319Yukio Andoh
 
Rails in the Cloud
Rails in the CloudRails in the Cloud
Rails in the Cloudiwarshak
 
Use Somebody Else's Infrastructure - Utilizing Amazon S3 and EC2
Use Somebody Else's Infrastructure - Utilizing Amazon S3 and EC2Use Somebody Else's Infrastructure - Utilizing Amazon S3 and EC2
Use Somebody Else's Infrastructure - Utilizing Amazon S3 and EC2Jonathan Weiss
 
小咄:BlazeDS+AMF Client+MySQLで実現するKey-Value Storage
小咄:BlazeDS+AMF Client+MySQLで実現するKey-Value Storage小咄:BlazeDS+AMF Client+MySQLで実現するKey-Value Storage
小咄:BlazeDS+AMF Client+MySQLで実現するKey-Value Storagemoai kids
 
How to build a state-of-the-art rails cluster
How to build a state-of-the-art rails clusterHow to build a state-of-the-art rails cluster
How to build a state-of-the-art rails clusterTim Lossen
 
Nevmug Lighthouse Automation7.1
Nevmug   Lighthouse   Automation7.1Nevmug   Lighthouse   Automation7.1
Nevmug Lighthouse Automation7.1csharney
 
Getting Started with PoolParty and EC2
Getting Started with PoolParty and EC2Getting Started with PoolParty and EC2
Getting Started with PoolParty and EC2Nate Murray
 
Yakiniku on the Cloud
Yakiniku on the CloudYakiniku on the Cloud
Yakiniku on the CloudTakao Funami
 
Hands-On: Deploy Remote Graphics Desktops for Content Production (CMP422) - A...
Hands-On: Deploy Remote Graphics Desktops for Content Production (CMP422) - A...Hands-On: Deploy Remote Graphics Desktops for Content Production (CMP422) - A...
Hands-On: Deploy Remote Graphics Desktops for Content Production (CMP422) - A...Amazon Web Services
 
Genkidama:実装と課題
Genkidama:実装と課題Genkidama:実装と課題
Genkidama:実装と課題Takuya ASADA
 
Deploying and Scaling using AWS
Deploying and Scaling using AWSDeploying and Scaling using AWS
Deploying and Scaling using AWSwr0ngway
 

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

Hong Qiangning in QConBeijing
Hong Qiangning in QConBeijingHong Qiangning in QConBeijing
Hong Qiangning in QConBeijing
 
豆瓣技术架构的发展历程 @ QCon Beijing 2009
豆瓣技术架构的发展历程 @ QCon Beijing 2009豆瓣技术架构的发展历程 @ QCon Beijing 2009
豆瓣技术架构的发展历程 @ QCon Beijing 2009
 
re7jweiss
re7jweissre7jweiss
re7jweiss
 
Blogopolisの裏側
Blogopolisの裏側Blogopolisの裏側
Blogopolisの裏側
 
Rails Conf Europe 2007 - Utilizing Amazon S3 and EC2 in Rails
Rails Conf Europe 2007 - Utilizing Amazon S3 and EC2 in RailsRails Conf Europe 2007 - Utilizing Amazon S3 and EC2 in Rails
Rails Conf Europe 2007 - Utilizing Amazon S3 and EC2 in Rails
 
Cloud Computing BP-Study 20090319
Cloud Computing BP-Study 20090319Cloud Computing BP-Study 20090319
Cloud Computing BP-Study 20090319
 
Rails in the Cloud
Rails in the CloudRails in the Cloud
Rails in the Cloud
 
Use Somebody Else's Infrastructure - Utilizing Amazon S3 and EC2
Use Somebody Else's Infrastructure - Utilizing Amazon S3 and EC2Use Somebody Else's Infrastructure - Utilizing Amazon S3 and EC2
Use Somebody Else's Infrastructure - Utilizing Amazon S3 and EC2
 
小咄:BlazeDS+AMF Client+MySQLで実現するKey-Value Storage
小咄:BlazeDS+AMF Client+MySQLで実現するKey-Value Storage小咄:BlazeDS+AMF Client+MySQLで実現するKey-Value Storage
小咄:BlazeDS+AMF Client+MySQLで実現するKey-Value Storage
 
How to build a state-of-the-art rails cluster
How to build a state-of-the-art rails clusterHow to build a state-of-the-art rails cluster
How to build a state-of-the-art rails cluster
 
XS Boston 2008 Network Topology
XS Boston 2008 Network TopologyXS Boston 2008 Network Topology
XS Boston 2008 Network Topology
 
Nevmug Lighthouse Automation7.1
Nevmug   Lighthouse   Automation7.1Nevmug   Lighthouse   Automation7.1
Nevmug Lighthouse Automation7.1
 
Getting Started with PoolParty and EC2
Getting Started with PoolParty and EC2Getting Started with PoolParty and EC2
Getting Started with PoolParty and EC2
 
Amazon Ec2
Amazon Ec2Amazon Ec2
Amazon Ec2
 
Cloudpack
CloudpackCloudpack
Cloudpack
 
Yakiniku on the Cloud
Yakiniku on the CloudYakiniku on the Cloud
Yakiniku on the Cloud
 
Hands-On: Deploy Remote Graphics Desktops for Content Production (CMP422) - A...
Hands-On: Deploy Remote Graphics Desktops for Content Production (CMP422) - A...Hands-On: Deploy Remote Graphics Desktops for Content Production (CMP422) - A...
Hands-On: Deploy Remote Graphics Desktops for Content Production (CMP422) - A...
 
Genkidama:実装と課題
Genkidama:実装と課題Genkidama:実装と課題
Genkidama:実装と課題
 
Deploying and Scaling using AWS
Deploying and Scaling using AWSDeploying and Scaling using AWS
Deploying and Scaling using AWS
 
Netcf Gc
Netcf GcNetcf Gc
Netcf Gc
 

More from 真一 藤川

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

More from 真一 藤川 (20)

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

Recently uploaded

UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8DianaGray10
 
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfMachine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfAijun Zhang
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationIES VE
 
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online CollaborationCOMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online Collaborationbruanjhuli
 
Videogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfVideogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfinfogdgmi
 
OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureOpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureEric D. Schabell
 
Spring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdfSpring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdfAnna Loughnan Colquhoun
 
COMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a WebsiteCOMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a Websitedgelyza
 
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAAnypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAshyamraj55
 
Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024D Cloud Solutions
 
PicPay - GenAI Finance Assistant - ChatGPT for Customer Service
PicPay - GenAI Finance Assistant - ChatGPT for Customer ServicePicPay - GenAI Finance Assistant - ChatGPT for Customer Service
PicPay - GenAI Finance Assistant - ChatGPT for Customer ServiceRenan Moreira de Oliveira
 
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IES VE
 
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Will Schroeder
 
Comparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioComparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioChristian Posta
 
Linked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond OntologiesLinked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond OntologiesDavid Newbury
 
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1DianaGray10
 
Computer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsComputer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsSeth Reyes
 
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfUiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfDianaGray10
 
Introduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptxIntroduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptxMatsuo Lab
 
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UbiTrack UK
 

Recently uploaded (20)

UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8
 
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfMachine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdf
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
 
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online CollaborationCOMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
 
Videogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfVideogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdf
 
OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureOpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability Adventure
 
Spring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdfSpring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdf
 
COMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a WebsiteCOMPUTER 10 Lesson 8 - Building a Website
COMPUTER 10 Lesson 8 - Building a Website
 
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAAnypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
 
Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024
 
PicPay - GenAI Finance Assistant - ChatGPT for Customer Service
PicPay - GenAI Finance Assistant - ChatGPT for Customer ServicePicPay - GenAI Finance Assistant - ChatGPT for Customer Service
PicPay - GenAI Finance Assistant - ChatGPT for Customer Service
 
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
 
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
 
Comparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioComparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and Istio
 
Linked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond OntologiesLinked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond Ontologies
 
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
 
Computer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsComputer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and Hazards
 
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfUiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
 
Introduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptxIntroduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptx
 
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
 

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