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

Exploiting the power of Serverless with GCP & Java

Exploiting the power of Serverless with GCP & Java

This was the deck used in my presentation during the Digital Innovation One (DIO) Acceleration event held online on 12th June 2021 in partnership with GFT for a whole day series of webinars about cloud software development on Google Cloud Platform & Java. I explored the concept, GCP offerings, demo development of Serverless applications using Cloud Functions and Java.

Bruno Tinoco

June 12, 2021
Tweet

More Decks by Bruno Tinoco

Other Decks in Programming

Transcript

  1. © 2021 | GFT Technologies SE and its affiliates. All

    rights reserved. Global Dev Acceleration #10 – June 2021 Bruno Tinoco Solutions Architect @ GFT Exploiting the Power of Serverless with Google Cloud Functions
  2. 2 Shaping the future of digital business gft.com Type here

    if add info needed for every slide About. me Bruno Tinoco Senior Solutions Architect & Architecture Manager @ GFT 12 June 2021 Google Cloud Certified Professional Cloud Architect +20 years of experience coding in Java Going out with my 3 boys, play games, read books, travel… and now learning to fly! ☺ But I have time for important things like
  3. 3 Shaping the future of digital business gft.com What does

    Serverless really means? ▪ Cloud Computing context term ▪ No backend server hard/soft to be manage by your team ▪ It is broader than a Function as a Service (FaaS) ▪ It offers a pay per use cost model This Photo by Unknown Author is licensed under CC BY-SA
  4. 4 Shaping the future of digital business gft.com Serverless Benefits

    ▪ Enable simpler & faster development, deployment, and operations Speed to market Don’t need to spend time provisioning and setting up environment’s resources. Simple developer experience Free up developers and operators with fully managed infrastructure. No concerns about provisioning, configuration, patching, and managing your servers or clusters Automatic scaling Serverless environments automatically scales your workloads up or down, even to zero, depending on traffic. This Photo by Unknown Author is licensed under CC BY-SA
  5. 5 Shaping the future of digital business gft.com Serverless Common

    Usage Most suitable use cases for serverless compute services Build scalable, secure web apps Code, build, and deploy scalable applications in a fully managed environment with built-in autoscaling and ops management. Develop & manage APIs You can develop REST APIs for web and mobile backends and manage the connection between different parts of your application and internal cloud services with our internal APIs and services. Apps with data processing The pub/sub model of communication makes it easy to ingest and transform large amounts of data and build complex, scalable data pipelines Event orchestration Listen to events from any cloud service, handle webhooks, and manage distributing events and workloads to other components. This Photo by Unknown Author is licensed under CC BY-NC
  6. 6 Shaping the future of digital business gft.com Serverless Products

    on GCP Serverless products available on Google Cloud Platform Serverless Services Compute Services You manage/operate the backend infrastructure including the VMs or the containers that runs your backend server You only take care of your container image and/or your code of your application
  7. 7 Shaping the future of digital business gft.com Serverless Services

    Characteristics GAE is a PaaS offering where Google manages application infrastructure that responds to HTTP requests. Develop server-side code in Java, .NET, Python, Go, PHP, Node, Ruby, .NET Cloud Run is a Container as a Service (CaaS) offering where you bring your own Docker or other OCI image and GCP manages it for you. Any language, any library and binary Cloud Functions is a Function as a Service (FaaS) offering where you can write small code snipperts that respond to events. JavaScript, Python 3, Go, or Java runtimes
  8. 8 Shaping the future of digital business gft.com Serverless Services

    Characteristics Cloud Functions is a Function as a Service (FaaS) offering where you can write small code snipperts that respond to events. JavaScript, Python 3, Go, or Java runtimes
  9. 10 Shaping the future of digital business gft.com Sample Serverless

    Architecture IoT Telemetry Collection using Google Protocol Buffers, Google Cloud Functions, Cloud Pub/Sub
  10. 11 Shaping the future of digital business gft.com Addition use

    cases You can find additional use cases on GCP functions page https://cloud.google.com/functions
  11. 12 Shaping the future of digital business gft.com Building Simple

    Function github.com/brunocrt/serverless-demo gcloud CLI functions-framework-api function-maven-plugin Requirements Maven Dependencies github.com/brunocrt/pubsub-function github.com/GoogleCloudPlatform/functions-framework-java
  12. 13 Shaping the future of digital business gft.com More Information

    github.com/GoogleCloudPlatform/functions-framework-java