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

[WIP] esa.io、その後の話

[WIP] esa.io、その後の話

YAP(achimon)C::Asia Hachioji 2016 mid in Shinagawaで、主に去年のYAPC::Asiaの後のesa.ioについてお話しました。

http://yapcasia8oji-2016mid.hachiojipm.org/time_table_7_2/

fukayatsu

July 02, 2016
Tweet

More Decks by fukayatsu

Other Decks in Technology

Transcript

  1. [WIP] esa.ioɺͦͷޙͷ࿩
    fukayatsu @ esa LLC

    View full-size slide

  2. "(\(⁰⊖⁰)/)"
    • @fukayatsu (;͔΍ͭ)
    • ΤϯδχΞ/co-founder of esa LLC
    • esa.ioͷ։ൃɺӡӦ
    • @esa_ioͷதͷਓ
    2

    View full-size slide

  3. https://esa.io

    View full-size slide

  4. esa.io
    • MarkdownʹΑΔνʔϜ಺υΩϡϝϯτڞ༗
    αʔϏε
    • ݱࡏ໿1300νʔϜ
    • 2ϲ݄+ͷແྉτϥΠΞϧ => ¥500 / (ਓ਺ɾ݄)
    4

    View full-size slide

  5. • esa.ioΛ։ൃ͢Δձࣾ(ࣾһ਺: 2)
    • since 2014/11
    • σβΠφʔ/co-founder: @ken_c_lo(੺௩)
    5

    View full-size slide

  6. esa LLCͷ೔ৗ
    ~404ϖʔδฤ~
    6

    View full-size slide

  7. ࠓ೔͓࿩͍ͨ͜͠ͱ
    • esa͕੒௕͍ͯ͠Δ༷ࢠ
    • ͜ͷ1೥ͷओͳग़དྷࣄ
    • গਓ਺Ͱ΍͍ͬͯͨ͘Ίʹେ੾ʹ͍ͯ͠Δ͜ͱ
    11

    View full-size slide

  8. esa͕੒௕͍ͯ͠Δ༷ࢠ
    12

    View full-size slide

  9. 2015(Ն)
    2016(Ն)
    2016(ਖ਼݄)
    1೥ͰWAU͕໿4ഒʹ૿Ճ

    View full-size slide

  10. αʔϏεࠇࣈԽ
    14

    View full-size slide

  11. ͜ͷ1೥ͷओͳग़དྷࣄ
    • ٕज़ސ໰Λটᡈ
    • esa LLC͕pplog.netͷӡӦձࣾʹ
    • esaεϙϯαʔ
    • OAuthೝՄϑϩʔʹରԠ
    • Heroku → DockerԽ + AWSҠߦ
    15

    View full-size slide

  12. ٕज़ސ໰
    • @ppworksࢯΛটᡈ
    • ීஈ͸גࣜձࣾϚωʔϑΥϫʔυͷΤϯδχΞ
    • ि຤ʹPRͷϨϏϡʔͱ͔
    16

    View full-size slide

  13. esa LLC͕pplog.netͷ
    ӡӦձࣾʹ
    17

    View full-size slide

  14. esaεϙϯαʔ
    • ٕज़ܥίϛϡχςΟʹesa.ioΛແঈͰ࢖ͬͯ΋
    Β͏ࢼΈ
    • RubyKaigiɺ౦ژNodeֶԂࡇɺJuliaTokyo౳
    • ڵຯͷ͋Δํ͸͝࿈བྷԼ͍͞ :)
    18

    View full-size slide

  15. OAuthೝՄϑϩʔʹରԠ
    • Ϣʔβʔ͞Μୡ͕ΞϓϦΛ࡞ͬͯ͘Εͨʂ
    • ຊ౰ʹ͋Γ͕ͱ͏͍͟͝·͢ʂʂ
    19

    View full-size slide

  16. Heroku → Docker on AWS ECS
    • ໨త͸ϖʔδදࣔ଎౓վળ
    • Ҡߦ೔هΛॻ͍ͯϞνϕʔγϣϯΛอͭ
    • ؤுΓա͗ͳ͍
    20

    View full-size slide

  17. Ҡߦ೔ه
    • ͪΐ͏ͲʰՐ੕ͷਓʱΛಡྃͨ࣌͠ظ
    • pplog.netʹʮࠓ೔͸ʓʓΛ΍ͬͨʯͱ͔ॻ͍
    ͯͨ
    • Ҡߦઌͷબఆ΍Dockerͷֶश΋ؚΊͯɺ24೔
    ໨ͰҠߦ׬ྃ
    21

    View full-size slide

  18. ؤுΓա͗ͳ͍
    • ෛՙʹԠͯ͡auto scaling͠ͳ͍
    • localͰ͸dockerΛ࢖Θͳ͍
    • docker imageͷαΠζΛ͋·Γؾʹ͠ͳ͍
    • ͓ۚͰղܾͰ͖ΔͳΒҰ୴͓ۚͰղܾ͢Δ
    26

    View full-size slide

  19. ࠷ۙ࡞ͬͨάοζ
    • esaΩʔϗϧμʔ
    • ͔Θ͍͍
    • => esa.booth.pm
    • ͦͷଞTγϟπͳͲ => shop.esa.io
    27

    View full-size slide

  20. ৄ͘͠͸docs.esa.ioͰ!
    • ϦϦʔεϊʔτ
    • ϔϧϓ / ProTip
    • ΠϕϯτϨϙʔτ
    • άοζ঺հ
    28

    View full-size slide

  21. গਓ਺Ͱ΍͍ͬͯͨ͘Ίʹ
    େ੾ʹ͍ͯ͠Δ͜ͱ
    29

    View full-size slide

  22. େ੾ʹ͍ͯ͠Δ͜ͱ
    • Ϟνϕʔγϣϯ
    • ৺ͷ݈߁
    • ମͷ݈߁
    • ٕज़ྗ
    30

    View full-size slide

  23. Ϟνϕʔγϣϯ
    • ࣗ෼͕Կʹ޾ͤΛײ͡Δ͔
    • Ϟνϕʔγϣϯ͕ߴ·Γͦ͏ͳ΋ͷʹ౤ࢿ
    • ϑΟʔυόοΫΛ͖͔͚ͬʹ͢Δ
    • ৭ʑࢼͯ͠ΈΔ
    31

    View full-size slide

  24. ৺ͷ݈߁
    • Ո଒ͷෆ޾ͱ޲͖߹͏
    • ʮ͜Ε͔ΒͲ͏͢Δ͔ʯ
    • ಡॻ: Ξυϥʔ৺ཧֶɺߦಈܦࡁֶɺetc
    • SNS: ৼΓճ͞Εͳ͍
    32

    View full-size slide

  25. ମͷ݈߁
    • ܭଌͱՄࢹԽ
    • ਭ຾ɺମॏɺମࢷ๱཰
    • ےτϨ
    33

    View full-size slide

  26. ٕज़ྗ
    • ग़Ք͗ͰଞͷνʔϜͷதͰ։ൃ͢Δ
    • (͍ͭͰʹυοΫϑʔσΟϯά)
    • ٕज़ސ໰ɺΞυόΠβʔͷॿ͚ΛआΓΔ
    34

    View full-size slide

  27. • ࣗ෼ͷ΍Γ͍ͨ͜ͱΛ΍ͬͯɺ
    • ͦΕͰੜ׆Ͱ͖ͯɺ
    • ͦΕͰपΓͷਓΛ޾ͤʹͰ͖Δͱɺ
    • ࠷ߴʂʂʂʂ
    36

    View full-size slide