Cloud Truth
 SPARK & ASSOCIATES
          April, 2011




     Spark & Associates   1
Table of contents




                    • What is the Cloud?

                    • How to think like Cloud?

                    • What we have to prepare for Cloud?




                                                           Spark & Associates   2
What is the

 “Cloud”?


              Spark & Associates   3
What is the Cloud?




                     Cloud is not a Magic Carpet.
                       ( before you understand what it is )
                                                              Spark & Associates   4
What is the Cloud?



    Misunderstands

    • Cloud can support perfect redundancy.

    • Current applications can be migrated into cloud easily.

    • Oracle RAC can be migrated into cloud, what a perfect idea!

    • Expect high performance with low price.

    • Fully secured service will be provided.




                                                                    Spark & Associates   5
What is the Cloud?



    But the truth is…

    • Without “distribution”, the cloud could be useless.

    • If you really need to use Oracle, use it in your house, not on cloud.

    • Build/migrate your application can be distributed.

    • Without “automation” you’ll get suffered by operation nightmare.

    • You have to deal with security without h/w based firewalls.

    • If you wrote wrong application on cloud, you may get paid more.




                                                                     Spark & Associates   6
What is the Cloud?



     Traditional service networks
     Medium                                                                           CDN
     Secured                                                                          Network
     Network
                Web               Web               Web     Img/File    Img/File
               Server            Server            Server    Server      Server


     Fully
     Secured
     Network             Web               Web
                         App.              App.                      File
                        Server            Server                   Storage


     Fully
     Secured
     Network    Oracle           Oracle        Oracle
                 #1               #2            #3




                                                                                   Spark & Associates   7
What is the Cloud?



    Compute Cloud Architecture

                                               External
                                               Network
                                    G/W
                                  Functional
                                     VM




                                               Internal
                                               Network
                        Your         Your
                       Virtual      Virtual
                     Machine #1   Machine #2




                                                          Spark & Associates   8
What is the Cloud?



      Don’t try this at your service


                 Big
                JAVA


                                       CLOUD
                       MIGRATION?

                Big
              ORACLE




                                           Spark & Associates   9
What is the Cloud?



      “WRONG MIGRATION”




                          Spark & Associates   10
What is the Cloud?



       OMG!
       What I have to do to get in cloud?




                                        Spark & Associates   11
What is the Cloud?



       • Analysis your system architecture and service needs, and find
        out which is best part to migrate.
          – Does our DB architecture really need relations?


       • Migrate from small/easy components like,
          – Light weight web service first. ( file send )
          – Session sharing
          – Simple DB, not SAN based one. ( CouchDB, MySQL, etc )
          – PHP based web applications.
          – Most expandable part of your system.

       • Think about Distributed application architecture



                                                               Spark & Associates   12
What is the Cloud?




                     Non-elastic vs. Elastic




                                               Spark & Associates   13
Table of contents




                    • What do you think about Cloud?

                    • How to think like Cloud

                    • What we have to prepare for Cloud?




                                                           Spark & Associates   14
How to think like Cloud




                          Someday,
                          Simpson thinks about
                          Web shopping mall.



                                    Spark & Associates   15
How to think like Cloud



       But he’s got in trouble
       with ….


                                 • Buying Service components
                                   - Which spec? How many?
                                   - Switches?
                                   - 2 year contract?

                                 • Licenses
                                   - Databases?
                                   - Web servers?

                                 • And more.




                                                    Spark & Associates   16
How to think like Cloud




      So, he googled about it, and realizes
      Amazon EC2 service!

      He decides to launch his shopping
      mall application with EC2.
                                              EC2 Means
                                              Elastic Compute Cloud

                                                              Spark & Associates   17
How to think like Cloud




                            Only
                          Opens at
                           7PM –
                           10PM
                                     Homer’s Shopping Needs.

                                      - Site opens at 07PM
                                      - Site closes at 10PM
                                      - Apache
                                      - PHP
                                      - MySQL
                                      - Expandable as business
                                     grows
                                      - Get paid as much as I used.




                                                     Spark & Associates   18
How to think like Cloud



    CREATE A VM in EC2!




                    Apache
                     PHP         Create php codes and Image, DB.
                    MySQL        Keep the source tarballs in PC.
                                 Backup DB before VM shutdown.
                  Installed VM




                                                         Spark & Associates   19
How to think like Cloud

    Because of Homer’s famous, the
    shopping mall grows dramatically.
    So he thinks about “Expansion”




                                   Load Balancer                  CDN


                               Apache         Apache
                                PHP            PHP
                              Installed      Installed          Storage
            Amazon EC2           VM             VM

                                                            Amazon S3
                               MySQL          MySQL
            Amazon RDS        (Master)        (Slave)       Amazon
                                                            Cloud Front

                                                         Spark & Associates   20
How to think like Cloud




                          Spark & Associates   21
Table of contents




                    • What is the Cloud?

                    • Happy Business with Cloud

                    • What we have to prepare for Cloud?




                                                           Spark & Associates   22
What we have to prepare for cloud business?




           Understand Cloud Architecture

              • What kind of service solution fit into Cloud?

              • Guide cloud limits and application architecture to
              customers.

              • Suggest hybrid Cloud model if they already have
              infrastructure.

              • Lean technologies like NoSQL, BigTable, and how to
              distribute systems & applications.

              • Lean automation skills


                                                                     Spark & Associates   23
What we have to prepare for cloud business?




                              HYBRID
                             EXAMPLES




                                              Spark & Associates   24
What we have to prepare for cloud business?




           Use Cloud as DDoS Proxy Farm
                                       DNS /
                                     URL Routing




             Main
             Page
            Service                                  Existing
                                                   Web Service
            File/Im                                  Systems
               g                                    (DB, Web
            Service
                                                      App)




                                                           Spark & Associates   25
What we have to prepare for cloud business?




           Use Cloud as HPC Farm



            Render
             ing                      Job Queue
            nodes
                                                  Programmers,
                                                  3D Modelers,
            Calcul
             ating
                                                   Animators,
            nodes                                   Chemists




                                                          Spark & Associates   26
What we have to prepare for cloud business?




              Use Cloud as Firewall Farm




                                F/W
                               nodes




    Unsecured traffic


                                 Existing
    Secured traffic              Service


                                              Spark & Associates   27
What we have to prepare for cloud business?




           Use Cloud as Stream SVC Farm




                   Stream
                   nodes




                   Live Encoder



                                              Spark & Associates   28
Conclusion

 • It’s very important to think like cloud.

 • Cloud cannot solve complexity.

 • Enterprise needs simplify, elasticity.

 • There will be many of applications for cloud. We have
 to find what is best solution for where.

 • Web Front-end ( HTML5, Javascript ) skills are
 getting greater day by day.



                                                     Spark & Associates   29
End of Document




                  Spark & Associates   30

Cloud truth

  • 1.
    Cloud Truth SPARK& ASSOCIATES April, 2011 Spark & Associates 1
  • 2.
    Table of contents • What is the Cloud? • How to think like Cloud? • What we have to prepare for Cloud? Spark & Associates 2
  • 3.
    What is the “Cloud”? Spark & Associates 3
  • 4.
    What is theCloud? Cloud is not a Magic Carpet. ( before you understand what it is ) Spark & Associates 4
  • 5.
    What is theCloud? Misunderstands • Cloud can support perfect redundancy. • Current applications can be migrated into cloud easily. • Oracle RAC can be migrated into cloud, what a perfect idea! • Expect high performance with low price. • Fully secured service will be provided. Spark & Associates 5
  • 6.
    What is theCloud? But the truth is… • Without “distribution”, the cloud could be useless. • If you really need to use Oracle, use it in your house, not on cloud. • Build/migrate your application can be distributed. • Without “automation” you’ll get suffered by operation nightmare. • You have to deal with security without h/w based firewalls. • If you wrote wrong application on cloud, you may get paid more. Spark & Associates 6
  • 7.
    What is theCloud? Traditional service networks Medium CDN Secured Network Network Web Web Web Img/File Img/File Server Server Server Server Server Fully Secured Network Web Web App. App. File Server Server Storage Fully Secured Network Oracle Oracle Oracle #1 #2 #3 Spark & Associates 7
  • 8.
    What is theCloud? Compute Cloud Architecture External Network G/W Functional VM Internal Network Your Your Virtual Virtual Machine #1 Machine #2 Spark & Associates 8
  • 9.
    What is theCloud? Don’t try this at your service Big JAVA CLOUD MIGRATION? Big ORACLE Spark & Associates 9
  • 10.
    What is theCloud? “WRONG MIGRATION” Spark & Associates 10
  • 11.
    What is theCloud? OMG! What I have to do to get in cloud? Spark & Associates 11
  • 12.
    What is theCloud? • Analysis your system architecture and service needs, and find out which is best part to migrate. – Does our DB architecture really need relations? • Migrate from small/easy components like, – Light weight web service first. ( file send ) – Session sharing – Simple DB, not SAN based one. ( CouchDB, MySQL, etc ) – PHP based web applications. – Most expandable part of your system. • Think about Distributed application architecture Spark & Associates 12
  • 13.
    What is theCloud? Non-elastic vs. Elastic Spark & Associates 13
  • 14.
    Table of contents • What do you think about Cloud? • How to think like Cloud • What we have to prepare for Cloud? Spark & Associates 14
  • 15.
    How to thinklike Cloud Someday, Simpson thinks about Web shopping mall. Spark & Associates 15
  • 16.
    How to thinklike Cloud But he’s got in trouble with …. • Buying Service components - Which spec? How many? - Switches? - 2 year contract? • Licenses - Databases? - Web servers? • And more. Spark & Associates 16
  • 17.
    How to thinklike Cloud So, he googled about it, and realizes Amazon EC2 service! He decides to launch his shopping mall application with EC2. EC2 Means Elastic Compute Cloud Spark & Associates 17
  • 18.
    How to thinklike Cloud Only Opens at 7PM – 10PM Homer’s Shopping Needs. - Site opens at 07PM - Site closes at 10PM - Apache - PHP - MySQL - Expandable as business grows - Get paid as much as I used. Spark & Associates 18
  • 19.
    How to thinklike Cloud CREATE A VM in EC2! Apache PHP Create php codes and Image, DB. MySQL Keep the source tarballs in PC. Backup DB before VM shutdown. Installed VM Spark & Associates 19
  • 20.
    How to thinklike Cloud Because of Homer’s famous, the shopping mall grows dramatically. So he thinks about “Expansion” Load Balancer CDN Apache Apache PHP PHP Installed Installed Storage Amazon EC2 VM VM Amazon S3 MySQL MySQL Amazon RDS (Master) (Slave) Amazon Cloud Front Spark & Associates 20
  • 21.
    How to thinklike Cloud Spark & Associates 21
  • 22.
    Table of contents • What is the Cloud? • Happy Business with Cloud • What we have to prepare for Cloud? Spark & Associates 22
  • 23.
    What we haveto prepare for cloud business? Understand Cloud Architecture • What kind of service solution fit into Cloud? • Guide cloud limits and application architecture to customers. • Suggest hybrid Cloud model if they already have infrastructure. • Lean technologies like NoSQL, BigTable, and how to distribute systems & applications. • Lean automation skills Spark & Associates 23
  • 24.
    What we haveto prepare for cloud business? HYBRID EXAMPLES Spark & Associates 24
  • 25.
    What we haveto prepare for cloud business? Use Cloud as DDoS Proxy Farm DNS / URL Routing Main Page Service Existing Web Service File/Im Systems g (DB, Web Service App) Spark & Associates 25
  • 26.
    What we haveto prepare for cloud business? Use Cloud as HPC Farm Render ing Job Queue nodes Programmers, 3D Modelers, Calcul ating Animators, nodes Chemists Spark & Associates 26
  • 27.
    What we haveto prepare for cloud business? Use Cloud as Firewall Farm F/W nodes Unsecured traffic Existing Secured traffic Service Spark & Associates 27
  • 28.
    What we haveto prepare for cloud business? Use Cloud as Stream SVC Farm Stream nodes Live Encoder Spark & Associates 28
  • 29.
    Conclusion • It’svery important to think like cloud. • Cloud cannot solve complexity. • Enterprise needs simplify, elasticity. • There will be many of applications for cloud. We have to find what is best solution for where. • Web Front-end ( HTML5, Javascript ) skills are getting greater day by day. Spark & Associates 29
  • 30.
    End of Document Spark & Associates 30