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

Continuously Delivering, Managing, and Scaling Apps

Continuously Delivering, Managing, and Scaling Apps

Slides from Chris Castle and Bradley Johnson's (https://twitter.com/wrenchley) talk at Dreamforce 2016. A recording of the talk including the demo can be found at https://www.salesforce.com/video/296600/.

Explore the Heroku developer experience, designed to help you build, deploy, and manage everything from large complex applications to last night’s hack. In this session, you’ll get a tour of Heroku’s many deployment options, a demonstration of how you can attach 3rd party add-ons in a single click, setup a team-based continuous delivery pipeline, and gain visibility into the runtime characteristics of a production application using metrics.

7224890c5ec4a3506f48908b425c3e62?s=128

Chris Castle

October 04, 2016
Tweet

Transcript

  1. A Tour of Heroku chris.castle@salesforce.com bradleyjohnson@salesforce.com Brought to you by:


    Chris Castle & Bradley Johnson Continuously Delivering, Managing, and Scaling Apps
  2. What is Heroku?

  3. None
  4. Platform-as-a-Service

  5. None
  6. None
  7. $ heroku create my-first-app

  8. $ heroku create my-first-app Creating my-first-app... done, stack is cedar-14

  9. $ heroku create my-first-app Creating my-first-app... done, stack is cedar-14

    $ git push heroku master
  10. $ heroku create my-first-app Creating my-first-app... done, stack is cedar-14

    $ git push heroku master -----> PHP app detected
  11. $ heroku create my-first-app Creating my-first-app... done, stack is cedar-14

    $ git push heroku master -----> PHP app detected -----> Setting up runtime environment... - PHP 7.0.11 - Apache 2.4.20
  12. $ heroku create my-first-app Creating my-first-app... done, stack is cedar-14

    $ git push heroku master -----> PHP app detected -----> Setting up runtime environment... - PHP 7.0.11 - Apache 2.4.20 -----> Installing dependencies... Composer version 1.2.1 Loading composer repositories with package information Installing dependencies from lock file - Installing monolog/monolog (1.12.0) Loading from cache Generating optimized autoload files
  13. $ heroku create my-first-app Creating my-first-app... done, stack is cedar-14

    $ git push heroku master -----> PHP app detected -----> Setting up runtime environment... - PHP 7.0.11 - Apache 2.4.20 -----> Installing dependencies... Composer version 1.2.1 Loading composer repositories with package information Installing dependencies from lock file - Installing monolog/monolog (1.12.0) Loading from cache Generating optimized autoload files -----> Compressing... done, 12.4MB -----> Launching... done, v3 http://my-first-app.herokuapp.com/ deployed to Heroku
  14. 11+ Billion requests/day

  15. 11+ Billion requests/day 5+ Million apps created

  16. 11+ Billion requests/day 5+ Million apps created 150+ add-on services

  17. Add-Ons

  18. your app needs

  19. your app needs a relational database

  20. your app needs

  21. your app needs a document-oriented database

  22. your app needs

  23. your app needs full-text search

  24. your app needs

  25. your app needs monitoring

  26. your app needs

  27. your app needs content delivery

  28. your app needs

  29. your app needs an email gateway

  30. your app needs

  31. your app needs log storage

  32. your app needs

  33. your app needs add-ons

  34. $ heroku addons:create

  35. $ heroku addons:create heroku-postgresql

  36. $ heroku addons:create

  37. $ heroku addons:create heroku-redis

  38. $ heroku addons:create

  39. $ heroku addons:create mongolabs

  40. $ heroku addons:create

  41. $ heroku addons:create foundelasticsearch

  42. $ heroku addons:create

  43. $ heroku addons:create newrelic

  44. $ heroku addons:create

  45. $ heroku addons:create fastly

  46. $ heroku addons:create

  47. $ heroku addons:create sendgrid

  48. $ heroku addons:create

  49. $ heroku addons:create papertrail

  50. None
  51. Scaling

  52. $ heroku ps:scale web=9:Standard-2X Scaling dynos... done, now running web

    at 9:2X.
  53. $ heroku ps:scale web=9:Standard-2X Scaling dynos... done, now running web

    at 9:2X. $ heroku ps === web (2X): `vendor/bin/heroku-php-apache2 web/` web.1: starting 2014/11/05 20:36:39 (~ 4s ago) web.2: starting 2014/11/05 20:36:39 (~ 4s ago) web.3: starting 2014/11/05 20:36:39 (~ 4s ago) web.4: starting 2014/11/05 20:36:38 (~ 4s ago) web.5: starting 2014/11/05 20:36:38 (~ 4s ago) web.6: starting 2014/11/05 20:36:39 (~ 4s ago) web.7: starting 2014/11/05 20:36:38 (~ 4s ago) web.8: starting 2014/11/05 20:36:39 (~ 4s ago) web.9: starting 2014/11/05 20:36:38 (~ 4s ago)
  54. $ heroku ps:scale web=9:Standard-2X Scaling dynos... done, now running web

    at 9:2X. $ heroku ps === web (2X): `vendor/bin/heroku-php-apache2 web/` web.1: starting 2014/11/05 20:36:39 (~ 4s ago) web.2: starting 2014/11/05 20:36:39 (~ 4s ago) web.3: starting 2014/11/05 20:36:39 (~ 4s ago) web.4: starting 2014/11/05 20:36:38 (~ 4s ago) web.5: starting 2014/11/05 20:36:38 (~ 4s ago) web.6: starting 2014/11/05 20:36:39 (~ 4s ago) web.7: starting 2014/11/05 20:36:38 (~ 4s ago) web.8: starting 2014/11/05 20:36:39 (~ 4s ago) web.9: starting 2014/11/05 20:36:38 (~ 4s ago) $ heroku ps:scale web=1:Standard-1X Scaling dynos... done, now running web at 1:1X.
  55. None
  56. Demo Time!

  57. Heroku Data Services

  58. Heroku Postgres

  59. Heroku Redis

  60. Apache Kafka on Heroku

  61. Heroku Connect

  62. Heroku Pipelines Heroku Teams Visit the Booth!

  63. Thank Y u

  64. None