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

Building Dynamic Website by Firebase Hosting x ...

Building Dynamic Website by Firebase Hosting x Cloud Run

Get to know how to build dynamic website by Firebase Hosting and Cloud Run

Firebase Thailand

November 09, 2019
Tweet

More Decks by Firebase Thailand

Other Decks in Technology

Transcript

  1. #FirebaseDevDay Firebase Hosting x Cloud Run • Hello _ •

    What is Hosting • What is Cloud Run • Magic goes here ... • Demo • Q & A
  2. #FirebaseDevDay Hosting • Serve content over SSL • Host static,

    dynamic content* and microservices* • Deliver content fast (CDN) • Deploy new versions with one command • Rollback with one click • File configuration
  3. #FirebaseDevDay Cloud Run • Just container • Managed • Simple

    developer experience • Fast autoscaling • Integrated logging and monitoring
  4. #FirebaseDevDay Cloud Run Run your stateless containers on serverless infrastructure.

    But: • Stateless design • PORT env • HOST env (optional)
  5. #FirebaseDevDay Firebase Hosting x Cloud Run • Serve dynamic content

    *** • Build REST APIs • Cache dynamic content • Prerender your single-page apps
  6. #FirebaseDevDay Consideration Setup Container + listen to PORT Runtime environment

    Any Language and frameworks support Any that Dockerfiles support Concurrency Up to 80 requests per container instance Billing Free usage quota Required billing account
  7. #FirebaseDevDay $ run demo \ -task build-app \ -task deploy-to-cloud-run

    \ -task config-hosting # need docker, gcloud CLI and firebase-tool CLI