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

Toward use of FaaS / #abejameetup

tnir
August 03, 2016

Toward use of FaaS / #abejameetup

Innovation Meetup ~Startup Infrastructure~ の発表資料です
http://abeja-innovation-meetup.connpass.com/event/36707/

tnir

August 03, 2016
Tweet

More Decks by tnir

Other Decks in Technology

Transcript

  1. @tnir • Takuya Noguchi • ~ 20 yr of Digital

    Transformation & Local Business Management • GH: @tnir • Tw: @tn961ir • FB: takuya.noguchi.961 • Founder of Kamiyacho.k8s • Head of Local Business Unit • Member of iRidge Golf Club • Software/Infra Engineer/Corporate IT at iRidge, Inc.
  2. iRidge, Inc. • No.1 O2O solution company (est. 2008) •

    Made IPO in 2015 • 57 members (38 for eng, 13 for sales, 6 for corp) (as of Apr, 2016) • SaaS:Client-work=2:8 • Japan-UK Innovation Tech Awards 2015 • PyCon JP 2016 sponsorship via: IR Library 3Q2016
  3. popinfo Solution • O2O platform SaaS w/iOS/Android SDK • 45M

    active users (Aug, 2016) via: IR Library 3Q2016
  4. Team • No CTO • No CIO • No Infra/DevOps

    Engineer • Each dev responsible for productivity engineering
  5. IT • No on-premise servers • Google Apps • Network/WiFi

    • Corporate Web site (WordPress) • Badget requests for employee PCs
  6. 2013: Trac & Subversion • “Could you review the code

    on our Trac/SVN?” https://trac.edgewall.org/wiki/TracMercurial
  7. 2013: BitBucket (.org) • Git & Mercurial • 5 members

    per project for free • Forced to be small project teams
  8. 2014: GitLab • https://about.gitlab.com/ • OSS • Ruby on Rails-based

    application • Hard for developers to manage • Git codebase, CI/CD with pipelines
  9. Org. Size and Style • 500+ (code) projects, 150+ developers

    • a codebase for project (e.g., server-side, iOS/ Android apps)
  10. Organization & Management • We want to employ “Microservices” but

    … • We’re changing our organization structure and management for our goal “Microservices”.
  11. Tests through CI/CD • 2012: Jenkins 1 • Non-clean environment

    • No Jenkins manager • 2013: private GitLab CI • No users’ integration • 2014: wrecker for Docker-based builds • Docker-based builds • 2015: integrated GitLab CI • Simplify developers’ settings with cost reduction
  12. Cost for development • GH:E: 50,000 USD/yr+Infra • GitLab: 0

    USD+Infra • Circle CI Enterprise: ???? USD/yr • GitLab CI: 0 USD • Docker Private Registry: ??? USD/yr • GitLab Private Registry: 0 USD • => saves cost for 1 eng
  13. Servers • Had used AWS EC2 instances like on-premise. •

    t2 family with Autoscaling: not enough for ultra high peak/trough ratio • Are transiting to Docker with high density containers and/or Cloud-native architecture.
  14. Migration to GCP • Cost reduction: • 100(AWS)=>8.888(GCP) • BigQuery

    for analysis/datalake platform • SQL & Low cost
  15. Docker? • The most famous container technology • Started to

    use Docker technology in 2014. • Had many smaller projects to test Docker.
  16. Docker stuffs • Fig (Docker Compose) • Docker Machine •

    CoreOS (???) • GKE (testing) • Kubernetes on EC2/AWS • Docker for mac (GA)
  17. Current Status • All apps deployed on VM instances •

    except for Google App Engine/Heroku • Next step • Dockerize all apps • Monitoring