SlideShare a Scribd company logo
1 of 13
Download to read offline
ro
                Ramon Navar
                CTO Is kra

                             kr   a.cat
                r.navarro@is




Practical example of cloud pyramid APP
       with Amazon Web Services
ro
                                                                    Ramon Navar
                 On rebre i gestionar totes les factures de casa    CTO Iskra
                 Abril 2013                                                      kr   a.cat
                                                                    r.navarro@is




QUÈ ÉS DOCPOPULI

És el teu lloc segur on-line
per a tot el que és important
És l'espai virtual que et permet gestionar de forma fàcil i
eficaç tota aquella documentació que és realment important
(factures llum, aigua, electricitat, gas, telèfon, etc., nòmines,
declaració de la Renda, revisions mèdiques, la garantia dels
electrodomèstics, assegurances, etc.)




S'ha acabat perdre papers, i no trobar-los quan els busques!
ro
                                                              Ramon Navar
            On rebre i gestionar totes les factures de casa   CTO Iskra
            Abril 2013                                                     kr   a.cat
                                                              r.navarro@is




GOALS




• fast, incremental, use case devel
• easy and cheap to scale
• secure and reliable



S'ha acabat perdre papers, i no trobar-los quan els busques!
ro
                                                           Ramon Navar
On rebre i gestionar totes les factures de casa            CTO Iskra
Abril 2013                                                              kr   a.cat
                                                           r.navarro@is




www              FE
                  FE            FE
                                 FE
                   FE             FE

                    REST API
                       BE
                       BE                         PFE    auth
                        BE

API                              AMAZON API
                  Dynamo
EBE                 DB
                                    S3             IAM   CDN
ro
                                                                  Ramon Navar
                On rebre i gestionar totes les factures de casa   CTO Iskra
                Abril 2013                                                     kr   a.cat
                                                                  r.navarro@is




Auth

Manages users/tokens/dnie

       signin
       signup                AWS                     token        FE
        dnie
       profile                         Pyramid to manage token
                                      ASYNC user management
       forgot                             No data on Auth
ro
                                                                   Ramon Navar
            On rebre i gestionar totes les factures de casa        CTO Iskra
            Abril 2013                                                          kr   a.cat
                                                                   r.navarro@is




Frontend

Thiny layer with HTML5/CSS3/JS


           HTML                      PyView                   BE

      Pyramid to serve UI and connect BE
          AJAX management of view
                No data on FE
     REST API wrapper to validate before BE
ro
                                                              Ramon Navar
          On rebre i gestionar totes les factures de casa     CTO Iskra
          Abril 2013                                                       kr   a.cat
                                                              r.navarro@is




Backend

All the logic and external wrapper

                                        BE

                   AWS                                  EBE
         Pyramid to serve REST API
                 No data on BE
     Connect to external providers and AWS
    REST API wrapper to validate before EBE
ro
                                                               Ramon Navar
             On rebre i gestionar totes les factures de casa   CTO Iskra
             Abril 2013                                                     kr   a.cat
                                                               r.navarro@is




Batch/continuous

Continuous analysis




           X FE / Y BE
             AND DYNAMO DB TUNNING
ro
                                                          Ramon Navar
        On rebre i gestionar totes les factures de casa   CTO Iskra
        Abril 2013                                                     kr   a.cat
                                                          r.navarro@is




TEMPS

FAST DEVELOPMENT




           3 months
            1,5 developers/designers
ro
                                                         Ramon Navar
       On rebre i gestionar totes les factures de casa   CTO Iskra
       Abril 2013                                                     kr   a.cat
                                                         r.navarro@is




PREU

Cheap hosting



       80€/servers
        30€/DB/S3
                         1000 users
ro
                                                           Ramon Navar
         On rebre i gestionar totes les factures de casa   CTO Iskra
         Abril 2013                                                     kr   a.cat
                                                           r.navarro@is




LOAD

Scales




                  700 u/s
         (“Scalr” for future on demand)
ro
                                                                      Ramon Navar
              On rebre i gestionar totes les factures de casa         CTO Iskra
              Abril 2013                                                            kr   a.cat
                                                                       r.navarro@is




WHAT WE USED


Pieces of software
   Fabric
   Boto
   Cornice                                              MongoDB backend
   Supervisor
   Buildout                                             AWS CDN
   Puppet (awstools )                                   AWS R53
   Apache
   Varnish                                              Batch Hadoop/MapReduce
   HAProxy
   Sentry                                               FunkLoad
   Pyramid
   Plone                                                Backbone.js

   Twitter Bootstrap
   JQuery
ro
Ramon Navar
CTO Is kra

             kr   a.cat
r.navarro@is




Gràcies

More Related Content

Viewers also liked

Max Glutathione Study
Max Glutathione StudyMax Glutathione Study
Max Glutathione Study
Mark Royer
 
Presentatie februari
Presentatie februariPresentatie februari
Presentatie februari
Bibherzele
 
Taking notes on_research_sources
Taking notes on_research_sourcesTaking notes on_research_sources
Taking notes on_research_sources
chrissienehrenberg
 
Mobile gestrue research
Mobile gestrue researchMobile gestrue research
Mobile gestrue research
Haoxiang Shen
 
New Strategic Planning by Arash Izadkhah
New Strategic Planning by Arash IzadkhahNew Strategic Planning by Arash Izadkhah
New Strategic Planning by Arash Izadkhah
Arash Izadkhah
 
2012 03-27 developers e-commercedag presentatie1 magento
2012 03-27 developers e-commercedag presentatie1 magento2012 03-27 developers e-commercedag presentatie1 magento
2012 03-27 developers e-commercedag presentatie1 magento
Combell NV
 
Vocab Outsiders Jane C
Vocab Outsiders Jane CVocab Outsiders Jane C
Vocab Outsiders Jane C
jane940325
 
Pengembangan Kawasan Andalan Riau
Pengembangan Kawasan Andalan RiauPengembangan Kawasan Andalan Riau
Pengembangan Kawasan Andalan Riau
Ari Raharjo
 

Viewers also liked (18)

Innovation x
Innovation xInnovation x
Innovation x
 
Scaling in the cloud mswebcafe
Scaling in the cloud mswebcafeScaling in the cloud mswebcafe
Scaling in the cloud mswebcafe
 
Max Glutathione Study
Max Glutathione StudyMax Glutathione Study
Max Glutathione Study
 
story
storystory
story
 
Erickson
EricksonErickson
Erickson
 
Presentatie februari
Presentatie februariPresentatie februari
Presentatie februari
 
LA 4.5 Lillo
LA 4.5 LilloLA 4.5 Lillo
LA 4.5 Lillo
 
vle stuffy stuff
vle stuffy stuffvle stuffy stuff
vle stuffy stuff
 
Carolines Presentaion
Carolines PresentaionCarolines Presentaion
Carolines Presentaion
 
Taking notes on_research_sources
Taking notes on_research_sourcesTaking notes on_research_sources
Taking notes on_research_sources
 
Gospel in the home
Gospel in the home Gospel in the home
Gospel in the home
 
Mobile gestrue research
Mobile gestrue researchMobile gestrue research
Mobile gestrue research
 
New Strategic Planning by Arash Izadkhah
New Strategic Planning by Arash IzadkhahNew Strategic Planning by Arash Izadkhah
New Strategic Planning by Arash Izadkhah
 
2012 03-27 developers e-commercedag presentatie1 magento
2012 03-27 developers e-commercedag presentatie1 magento2012 03-27 developers e-commercedag presentatie1 magento
2012 03-27 developers e-commercedag presentatie1 magento
 
Brand Valuation - Review of the 2013 League Tables
Brand Valuation - Review of the 2013 League TablesBrand Valuation - Review of the 2013 League Tables
Brand Valuation - Review of the 2013 League Tables
 
Wimba Voice Board
Wimba Voice BoardWimba Voice Board
Wimba Voice Board
 
Vocab Outsiders Jane C
Vocab Outsiders Jane CVocab Outsiders Jane C
Vocab Outsiders Jane C
 
Pengembangan Kawasan Andalan Riau
Pengembangan Kawasan Andalan RiauPengembangan Kawasan Andalan Riau
Pengembangan Kawasan Andalan Riau
 

More from Ramon Navarro

Multilingual sites in plone
Multilingual sites in ploneMultilingual sites in plone
Multilingual sites in plone
Ramon Navarro
 

More from Ramon Navarro (12)

Guillotina
GuillotinaGuillotina
Guillotina
 
Pipelines for model deployment
Pipelines for model deploymentPipelines for model deployment
Pipelines for model deployment
 
Plone server
Plone serverPlone server
Plone server
 
How containers helped a SaaS startup be developed and go live
How containers helped a SaaS startup be developed and go liveHow containers helped a SaaS startup be developed and go live
How containers helped a SaaS startup be developed and go live
 
Plone 5 and machine learning
Plone 5 and machine learningPlone 5 and machine learning
Plone 5 and machine learning
 
CI on large open source software : Plone & Plone 5 is here!
CI on large open source software : Plone & Plone 5 is here!CI on large open source software : Plone & Plone 5 is here!
CI on large open source software : Plone & Plone 5 is here!
 
Resource registries plone conf 2014
Resource registries plone conf 2014Resource registries plone conf 2014
Resource registries plone conf 2014
 
Pyramid
PyramidPyramid
Pyramid
 
Multilingual sites in plone
Multilingual sites in ploneMultilingual sites in plone
Multilingual sites in plone
 
Presentacio meetup Python BCN
Presentacio meetup Python BCNPresentacio meetup Python BCN
Presentacio meetup Python BCN
 
plone.app.multilingual
plone.app.multilingual plone.app.multilingual
plone.app.multilingual
 
WPD Barcelona 2008 Què és Plone ?
WPD Barcelona 2008 Què és Plone ?WPD Barcelona 2008 Què és Plone ?
WPD Barcelona 2008 Què és Plone ?
 

Practical example of cloud pyramid app with AWS - Docpopuli

  • 1. ro Ramon Navar CTO Is kra kr a.cat r.navarro@is Practical example of cloud pyramid APP with Amazon Web Services
  • 2. ro Ramon Navar On rebre i gestionar totes les factures de casa CTO Iskra Abril 2013 kr a.cat r.navarro@is QUÈ ÉS DOCPOPULI És el teu lloc segur on-line per a tot el que és important És l'espai virtual que et permet gestionar de forma fàcil i eficaç tota aquella documentació que és realment important (factures llum, aigua, electricitat, gas, telèfon, etc., nòmines, declaració de la Renda, revisions mèdiques, la garantia dels electrodomèstics, assegurances, etc.) S'ha acabat perdre papers, i no trobar-los quan els busques!
  • 3. ro Ramon Navar On rebre i gestionar totes les factures de casa CTO Iskra Abril 2013 kr a.cat r.navarro@is GOALS • fast, incremental, use case devel • easy and cheap to scale • secure and reliable S'ha acabat perdre papers, i no trobar-los quan els busques!
  • 4. ro Ramon Navar On rebre i gestionar totes les factures de casa CTO Iskra Abril 2013 kr a.cat r.navarro@is www FE FE FE FE FE FE REST API BE BE PFE auth BE API AMAZON API Dynamo EBE DB S3 IAM CDN
  • 5. ro Ramon Navar On rebre i gestionar totes les factures de casa CTO Iskra Abril 2013 kr a.cat r.navarro@is Auth Manages users/tokens/dnie signin signup AWS token FE dnie profile Pyramid to manage token ASYNC user management forgot No data on Auth
  • 6. ro Ramon Navar On rebre i gestionar totes les factures de casa CTO Iskra Abril 2013 kr a.cat r.navarro@is Frontend Thiny layer with HTML5/CSS3/JS HTML PyView BE Pyramid to serve UI and connect BE AJAX management of view No data on FE REST API wrapper to validate before BE
  • 7. ro Ramon Navar On rebre i gestionar totes les factures de casa CTO Iskra Abril 2013 kr a.cat r.navarro@is Backend All the logic and external wrapper BE AWS EBE Pyramid to serve REST API No data on BE Connect to external providers and AWS REST API wrapper to validate before EBE
  • 8. ro Ramon Navar On rebre i gestionar totes les factures de casa CTO Iskra Abril 2013 kr a.cat r.navarro@is Batch/continuous Continuous analysis X FE / Y BE AND DYNAMO DB TUNNING
  • 9. ro Ramon Navar On rebre i gestionar totes les factures de casa CTO Iskra Abril 2013 kr a.cat r.navarro@is TEMPS FAST DEVELOPMENT 3 months 1,5 developers/designers
  • 10. ro Ramon Navar On rebre i gestionar totes les factures de casa CTO Iskra Abril 2013 kr a.cat r.navarro@is PREU Cheap hosting 80€/servers 30€/DB/S3 1000 users
  • 11. ro Ramon Navar On rebre i gestionar totes les factures de casa CTO Iskra Abril 2013 kr a.cat r.navarro@is LOAD Scales 700 u/s (“Scalr” for future on demand)
  • 12. ro Ramon Navar On rebre i gestionar totes les factures de casa CTO Iskra Abril 2013 kr a.cat r.navarro@is WHAT WE USED Pieces of software Fabric Boto Cornice MongoDB backend Supervisor Buildout AWS CDN Puppet (awstools ) AWS R53 Apache Varnish Batch Hadoop/MapReduce HAProxy Sentry FunkLoad Pyramid Plone Backbone.js Twitter Bootstrap JQuery
  • 13. ro Ramon Navar CTO Is kra kr a.cat r.navarro@is Gràcies