Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How we took our server side application to the cloud and liked what we got

How we took our server side application to the cloud and liked what we got

A session at 33rd Degree 2013

Taking traditional Java server-side applications to the multi-tenant Cloud introduces lots of challenges. In this session, we will share our experience of creating a SaaS offering, which is currently being used successfully by the Java community. We will start by reviewing the challenges we faced during the SaaS conversion. Next, we will share our experience with the EC2 platform. We will discuss the importance of automation and how we use tools like Chef and Puppet for SaaS provisioning. Finally, we will describe how creating a SaaS version of our product shifted our way of thinking about software release. We will recommend what’s required to successfully release both SaaS and downloadable versions of your product.

Baruch Sadogursky

March 15, 2013
Tweet

More Decks by Baruch Sadogursky

Other Decks in Technology

Transcript

  1. View Slide




  2. View Slide




  3. View Slide

  4. View Slide

  5. View Slide

  6. View Slide

  7. View Slide

  8. View Slide

  9. View Slide

  10. View Slide

  11. View Slide

  12. View Slide

  13. View Slide

  14. View Slide

  15. View Slide

  16. View Slide

  17. View Slide

  18. View Slide

  19. View Slide

  20. View Slide

  21. View Slide

  22. View Slide

  23. Benefits for the user:

    View Slide

  24. Benefits for the user:
    – Zero maintenance

    View Slide

  25. Benefits for the user:
    – Zero maintenance
    – Support

    View Slide

  26. Benefits for the user:
    – Zero maintenance
    – Support
    – Always updated

    View Slide

  27. Benefits for the user:
    – Zero maintenance
    – Support
    – Always updated
    Drawbacks for the user:

    View Slide

  28. Benefits for the user:
    – Zero maintenance
    – Support
    – Always updated
    Drawbacks for the user:
    – Can’t install plugins

    View Slide

  29. Benefits for the user:
    – Zero maintenance
    – Support
    – Always updated
    Drawbacks for the user:
    – Can’t install plugins

    View Slide

  30. Benefits for the user:
    – Zero maintenance
    – Support
    – Always updated
    Drawbacks for the user:
    – Can’t install plugins

    View Slide

  31. View Slide

  32. View Slide

  33. View Slide

  34. View Slide

  35. View Slide

  36. View Slide

  37. View Slide

  38. View Slide

  39. View Slide

  40. View Slide

  41. View Slide

  42. View Slide

  43.  

    View Slide

  44.  
     

    View Slide

  45.  
     
     

    View Slide

  46.  
     
     
     

    View Slide

  47. View Slide

  48.  

    View Slide

  49.  
     

    View Slide

  50.  
     
     

    View Slide

  51.  
     
     
     

    View Slide

  52. View Slide

  53. View Slide

  54. View Slide

  55. View Slide

  56. Java 7: 07/2011

    View Slide

  57. Java 7: 07/2011
    + 24 months =

    View Slide

  58. Java 7: 07/2011
    + 24 months =
    Java 8: 07/2013

    View Slide

  59. Java 7: 07/2011
    + 24 months =
    Java 8: 09/2013

    View Slide

  60. Java 7: 07/2011
    + 24 months =
    Java 8: 09/2013
    + 24 months =

    View Slide

  61. Java 7: 07/2011
    + 24 months =
    Java 8: 09/2013
    + 24 months =
    Java 9: 09/2015

    View Slide

  62. Java 7: 07/2011
    + 24 months =
    Java 8: 09/2013
    + 24 months =
    Java 9: 12/2015

    View Slide

  63. Java 7: 07/2011
    + 24 months =
    Java 8: 09/2013
    + 24 months =
    Java 9: 12/2015

    View Slide

  64. View Slide

  65. View Slide

  66. View Slide

  67. View Slide

  68. View Slide

  69. View Slide

  70. View Slide

  71. View Slide

  72. View Slide


  73. View Slide

  74.  

    View Slide

  75.  


    View Slide

  76.  




    View Slide

  77.  





    View Slide

  78.  






    View Slide

  79.  








    View Slide

  80.  









    View Slide

  81.  










    View Slide

  82. ┌── lib
    ├── webapps
    │ ├── customer-name
    │ ├── other-customer-name
    │ └── many other customers
    └── other dirs (bin, conf, log, etc)

    View Slide

  83. View Slide

  84. View Slide

  85. View Slide

  86. View Slide

  87. View Slide

  88. View Slide

  89. View Slide

  90. View Slide

  91. View Slide

  92. View Slide

  93. public class AppCtxHolder implements ApplicationContextAware {
    private static ApplicationContext ctx;
    public AppCtxHolder() { }
    public void setApplicationContext(ApplicationContext applicationContext) {
    ctx = applicationContext;
    }
    public static ApplicationContext getApplicationContext() {
    return ctx;
    }
    }

    View Slide

  94. public class AppCtxHolder implements ApplicationContextAware {
    private static ApplicationContext ctx;
    public AppCtxHolder() { }
    public void setApplicationContext(ApplicationContext applicationContext) {
    ctx = applicationContext;
    }
    public static ApplicationContext getApplicationContext() {
    return ctx;
    }
    }

    View Slide

  95. public class AppCtxHolder implements ApplicationContextAware {
    private static ApplicationContext ctx;
    public AppCtxHolder() { }
    public void setApplicationContext(ApplicationContext applicationContext) {
    ctx = applicationContext;
    }
    public static ApplicationContext getApplicationContext() {
    return ctx;
    }
    }

    View Slide

  96. View Slide

  97. View Slide

  98. View Slide

  99. View Slide

  100. View Slide

  101. View Slide

  102. View Slide

  103. View Slide

  104. View Slide

  105. ┌── lib
    ├── webapps
    │ ├── customer-name
    │ │ ├── favicon.ico
    │ │ ├── META-INF
    │ │ └── WEB-INF
    │ │ ├── web.xml
    │ │ └── classes
    │ │ └── DUMMY.TXT
    │ ├── other-customer-name
    │ │ ├── favicon.ico
    │ │ │ └── META-INF
    │ │ └── WEB-INF
    │ └── many other customers
    └── other dirs (bin, conf, log, etc)

    View Slide

  106. ┌── lib
    ├── webapps
    │ ├── customer-name
    │ │ ├── favicon.ico
    │ │ ├── META-INF
    │ │ └── WEB-INF
    │ │ ├── web.xml
    │ │ └── classes
    │ │ └── DUMMY.TXT
    │ ├── other-customer-name
    │ │ ├── favicon.ico
    │ │ │ └── META-INF
    │ │ └── WEB-INF
    │ └── many other customers
    └── other dirs (bin, conf, log, etc)

    View Slide

  107. ┌── lib
    ├── webapps
    │ ├── customer-name
    │ │ ├── favicon.ico
    │ │ ├── META-INF
    │ │ └── WEB-INF
    │ │ ├── web.xml
    │ │ └── classes
    │ │ └── DUMMY.TXT
    │ ├── other-customer-name
    │ │ ├── favicon.ico
    │ │ │ └── META-INF
    │ │ └── WEB-INF
    │ └── many other customers
    └── other dirs (bin, conf, log, etc)

    View Slide

  108. ┌── lib
    │ ├── artifactory
    │ │ ├── artifactory-*.jar
    │ │ ├── jackrabbit-core-jfrog-2.2.8c.jar
    │ │ ├── spring-core-3.1.1.RELEASE.jar
    │ │ ├── wicket-core-1.5.3.jar
    │ │ └── other jars
    │ ├── catalina.jar
    │ ├── servlet-api.jar
    │ └── other jars
    ├── webapps
    └── other dirs (bin, conf, log, etc)

    View Slide

  109. ┌── lib
    │ ├── artifactory
    │ │ ├── artifactory-*.jar
    │ │ ├── jackrabbit-core-jfrog-2.2.8c.jar
    │ │ ├── spring-core-3.1.1.RELEASE.jar
    │ │ ├── wicket-core-1.5.3.jar
    │ │ └── other jars
    │ ├── catalina.jar
    │ ├── servlet-api.jar
    │ └── other jars
    ├── webapps
    └── other dirs (bin, conf, log, etc)

    View Slide

  110. ┌── lib
    │ ├── artifactory
    │ │ ├── artifactory-*.jar
    │ │ ├── jackrabbit-core-jfrog-2.2.8c.jar
    │ │ ├── spring-core-3.1.1.RELEASE.jar
    │ │ ├── wicket-core-1.5.3.jar
    │ │ └── other jars
    │ ├── catalina.jar
    │ ├── servlet-api.jar
    │ └── other jars
    ├── webapps
    └── other dirs (bin, conf, log, etc)

    View Slide

  111. ┌── lib
    │ ├── artifactory
    │ │ ├── artifactory-*.jar
    │ │ ├── jackrabbit-core-jfrog-2.2.8c.jar
    │ │ ├── spring-core-3.1.1.RELEASE.jar
    │ │ ├── wicket-core-1.5.3.jar
    │ │ └── other jars
    │ ├── catalina.jar
    │ ├── servlet-api.jar
    │ └── other jars
    ├── webapps
    └── other dirs (bin, conf, log, etc)

    View Slide

  112. ┌── lib
    │ ├── artifactory
    │ │ ├── artifactory-*.jar
    │ │ ├── jackrabbit-core-jfrog-2.2.8c.jar
    │ │ ├── spring-core-3.1.1.RELEASE.jar
    │ │ ├── wicket-core-1.5.3.jar
    │ │ └── other jars
    │ ├── catalina.jar
    │ ├── servlet-api.jar
    │ └── other jars
    ├── webapps
    └── other dirs (bin, conf, log, etc)

    View Slide

  113. View Slide

  114. View Slide

  115. View Slide

  116. View Slide

  117. View Slide

  118. View Slide

  119. View Slide

  120. View Slide

  121. View Slide

  122. View Slide

  123. View Slide

  124. View Slide

  125. View Slide

  126. View Slide

  127. View Slide

  128. View Slide