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

Hassle-free webapps on Heroku

Hassle-free webapps on Heroku

A Heroku introduction

Raúl Raja Martínez

January 29, 2014
Tweet

More Decks by Raúl Raja Martínez

Other Decks in Technology

Transcript

  1. Hassle-free web apps on

    View Slide

  2. 47 Degrees
    http://47deg.com
    https://partners.heroku.com/47-degrees
    !
    Raúl Raja
    https://github.com/raulraja
    @raulraja
    Who are we?

    View Slide

  3. Let’s get started!
    Sign up for an account at heroku.com

    View Slide

  4. Download & Install the Heroku Toolbelt at 

    https://toolbelt.heroku.com/

    View Slide

  5. git clone http://github.com/47deg/heroku-play2-demo.git
    Heroku uses Git for deployments.
    Let’s clone our sample app

    View Slide

  6. Once our app is downloaded create a Heroku app in its root.
    A Git remote is automatically added pointing to your Heroku app in the cloud.

    View Slide

  7. Next we provision the Database with the Mongolab addon.

    View Slide

  8. Logentries for log management

    View Slide

  9. Loader.io to simulate load testing and get ready for prime time

    View Slide

  10. And finally New Relic to monitor our app internals

    View Slide

  11. > heroku create:app
    > heroku addons:add logentries
    > heroku addons:add mongolab
    > heroku addons:add newrelic
    > heroku addons:add loaderio

    View Slide

  12. > heroku addons:add logentries
    > heroku addons:add mongolab
    > heroku addons:add newrelic
    > heroku addons:add loaderio

    View Slide

  13. http://47deg.tumblr.com/

    View Slide

  14. http://47deg.tumblr.com/

    View Slide

  15. View Slide

  16. View Slide

  17. http://www.vibrant.com/cable-messes.php
    Running on spaghetti servers?

    View Slide

  18. http://www.vibrant.com/cable-messes.php
    Running on spaghetti servers?

    View Slide

  19. THANKS!
    !
    Sample Project
    https://github.com/47deg/heroku-play2-demo/
    !
    Buildpacks
    https://devcenter.heroku.com/articles/buildpacks
    !
    Heroku Addons
    https://addons.heroku.com/
    !
    47
    http://47deg.com

    View Slide