Slide 1

Slide 1 text

Building  Heroku  Add-­‐ons For  Fun  and  Profit

Slide 2

Slide 2 text

Hello! ͜Μʹͪ͸ʂ

Slide 3

Slide 3 text

@mattonrails

Slide 4

Slide 4 text

Baltimore,  Maryland http://www.flickr.com/photos/timshahan/

Slide 5

Slide 5 text

San  Francisco,  California http://www.flickr.com/photos/art-dara/

Slide 6

Slide 6 text

Tokyo,  Japan

Slide 7

Slide 7 text

It’s  amazing! ͍͢͝Ͷʂ

Slide 8

Slide 8 text

Heroku

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

What  are  add-­‐ons?

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

Kinds  of  Add-­‐on  Services • Email  and  SMS • Analytics • Search • Data  Stores • Logging • Payments

Slide 14

Slide 14 text

Email  and  SMS ϝʔϧ΍4.4

Slide 15

Slide 15 text

Analytics ෼ੳ࿦

Slide 16

Slide 16 text

Search αʔν

Slide 17

Slide 17 text

Data  Stores σʔλϕʔε

Slide 18

Slide 18 text

Logging ϩΪϯά

Slide 19

Slide 19 text

Payments ࢧ෷͍

Slide 20

Slide 20 text

And  more... ͱ΋ͬͱ

Slide 21

Slide 21 text

What  do  they  do?

Slide 22

Slide 22 text

• Cloud  AMQP  writes   info  to  log  stream • Papertrail  alerts  based   on  events Composability Logs  go  in,  logs  go  out

Slide 23

Slide 23 text

How  it  works

Slide 24

Slide 24 text

Overview

Slide 25

Slide 25 text

Provisioning

Slide 26

Slide 26 text

Provisioning

Slide 27

Slide 27 text

Provisioning

Slide 28

Slide 28 text

Provisioning

Slide 29

Slide 29 text

Consuming

Slide 30

Slide 30 text

Consuming

Slide 31

Slide 31 text

Consuming

Slide 32

Slide 32 text

Single  sign-­‐on

Slide 33

Slide 33 text

First  Add-­‐on!

Slide 34

Slide 34 text

Become  a  Provider

Slide 35

Slide 35 text

addons.heroku.com/provider

Slide 36

Slide 36 text

Become  a  Provider • Sign  up  for  Heroku,  register  as  provider • Join  the  provider  mailing  list,  read  docs • Push  up  your  manifest • Build  sample  consumer  (Ruby  gem,  etc)

Slide 37

Slide 37 text

No content

Slide 38

Slide 38 text

addon-­‐manifest.json { "id": "ocha", "name": "Ocha", "api": { "password": "pasuwādo", "sso_salt": "rc0kUK2xvctX8UQW", "regions": ["us"], "production": { "base_url": "http://.../heroku/resources", "sso_url": "http://.../sso/login" }, "test": { "base_url": "http://localhost:5000/heroku/ resources", "sso_url": "http://localhost:5000/sso/login" } }, "requires": ["syslog_drain"] }

Slide 39

Slide 39 text

Kensa ݕࠪ

Slide 40

Slide 40 text

Kensa • Create  your  add-­‐on • Test-­‐drive  its  API • Validate  your  add-­‐on   manifest gem  install  kensa github.com/kensa

Slide 41

Slide 41 text

Testing $ kensa test Testing POST /heroku/resources Check response [PASS] Check valid JSON [PASS] Check authentication [PASS] Testing response Check contains an id [PASS] (id 1) Testing PUT /heroku/resources/1 Check response [PASS] Check authentication [PASS] Testing DELETE /heroku/resources/1 Check response [PASS] Check authentication [PASS] done.

Slide 42

Slide 42 text

The  Business

Slide 43

Slide 43 text

The  Business • Edit  Features,  Benefits  and  Plans • Edit  documentation • User  and  revenue  reports • User  feedback

Slide 44

Slide 44 text

Marketing ϚʔέςΟϯά

Slide 45

Slide 45 text

Billing ՝ۚ

Slide 46

Slide 46 text

What  will  you  build?

Slide 47

Slide 47 text

Help  make  add-­‐ons  better Providers Users

Slide 48

Slide 48 text

Cute! ͔Θ͍͍ʂ

Slide 49

Slide 49 text

Thank  you. ͋Γ͕ͱ͏͍͟͝·ͨ͠