Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Lasta FluteをGCPにデプロイしてみた

64 views

Published on

DBFlute Fess 2018のLT資料です。
※2019/01/03 修正版

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Lasta FluteをGCPにデプロイしてみた

  1. 1. Lasta Flute GCP(Google Cloud Platform)
  2. 2. DBFlute 7 Java Scala Ruby PHP Web Web Takeshi Kato @_miyasama_ About me.
  3. 3. Clock It! https://clock-it.com Web
  4. 4. Clock It! TODO
  5. 5. β
  6. 6. LastaFlute GCP
  7. 7. Google Cloud Platform
  8. 8. GCP Google App Engine Paas AWS VPS
  9. 9. GCP Google App Engine Google Cloud SQL Firebase Hosting
  10. 10. Google App Engine
  11. 11. Google Cloud SQL
  12. 12. Firebase Hosting
  13. 13. LT
  14. 14. LT lastaflute GCP lastaflute-example-maihama harbar(API ) magical-camp(SPA ) GCP
  15. 15. https://github.com/miyasama/lastaflute-example-maihama/tree/for- google-app-engine
 https://github.com/miyasama/lastaflute-example-maihama/pull/1
 LT
  16. 16. LT LastaFlute GCP LT
  17. 17. GAE Standard (harbar) (API ) Cloud SQL (MySQL) Firebase Hosting (magical-camp) (HTML/CSS/JS) Firebase Hosting PJ GCP PJ
  18. 18. GCP
  19. 19. Cloud SQL(MySQL)
  20. 20. GAE Standard (harbar) (API ) Cloud SQL (MySQL) Firebase Hosting (magical-camp) (HTML/CSS/JS) Firebase Hosting PJ GCP PJ
  21. 21. DB Cloud Shell
  22. 22. Google App Engine API
  23. 23. GAE Standard (harbar) (API ) Cloud SQL (MySQL) Firebase Hosting (magical-camp) (HTML/CSS/JS) Firebase Hosting PJ GCP PJ
  24. 24. 2 Google App Engine Standard PaaS 
 memcached Flexible PaaS Docker Standard memcached
  25. 25. Flexible Standard Standard
  26. 26. Google App Engine
  27. 27. DB CloudSQL
  28. 28. mysql-socket-factory
  29. 29. JDBC jdbc:google:mysql://[CloudSQL ]/[DB ]
  30. 30. HttpResponseHeader
  31. 31. ResponseHeader Access-Control-Allow-Headers x-authrization Access-Control-Allow-Origin *
  32. 32. ResponseHeader HangarFwAssistantDirector
  33. 33. appengine-web.xml
  34. 34. src/main/webapp/WEB-INF appengine-web.xml GAE Standard appengine-web.xml src/main/webapp/WEB-INF OK xml
  35. 35. appengine-web.xml
  36. 36. appengine-web.xml
  37. 37. appengine-web.xml
  38. 38. appengine-web.xml lasta.env
  39. 39. maven-plugin
  40. 40. appengine-maven-plugin mvn appengine:deploy GAE
  41. 41. appengine-maven-plugin appengine-web.xml GAE
  42. 42. API
  43. 43. Firebase Hosting SPA Client
  44. 44. GAE Standard (harbar) (API ) Cloud SQL (MySQL) Firebase Hosting (magical-camp) (HTML/CSS/JS) Firebase Hosting PJ GCP PJ
  45. 45. Firebase Hosting firebase deploy
  46. 46. GAE Standard (harbar) (API ) Cloud SQL (MySQL) Firebase Hosting (magical-camp) (HTML/CSS/JS) Firebase Hosting PJ GCP PJ
  47. 47. Thanks

×