Google Cloud Serverless: Accelerate your AI

Google Cloud Tech · Beginner ·🔧 Backend Engineering ·2y ago

Key Takeaways

Google Cloud Serverless accelerates AI with Cloud Run and Vertex AI, providing a pay-as-you-go compute platform for various AI applications. The video features demos of serverless AI integration using Cloud Run, Vertex AI, and Gemini.

Full Transcript

[Music] I'm here at Google Cloud next with Sarah and she's going to talk to us about the talk she did about accelerating your AI with serverus Sarah thank you so much for being here with us and chatting with us yeah thank you thank you for having me of course it's a pleasure uh can you tell me a little bit about yourself what do you do here at Google and a little bit about your talk yeah sure I'm a developer relations engineer at Google on the serverless team yes wonderful and your talk was accelerate your AI with serverless so it was basically an overview of how Google Cloud does serverless AKA Cloud run and also had a a three demos that show how you can use vertex AI with Cloud run oh wonderful okay so in these three demos can you walk me through what were these demos and why did you choose them specifically yeah so I'll start with the why uh because I wanted to show different contexts where you could use serverless or Cloud run where you could use a cloud run service with uh with vertex AI or with Gemini so the first demo was a Gemini demo which showed how to do a cloudon service with a Gemini power uh Gemini powered chatbot then the second one it was called um very similar to the first demo but it used function calling so basically LS can seem Frozen in Time based on their training data for example if I ask Gemini hey what is the uh current weather in Seattle it's going to say I don't know because uh it's training data ended April of 2023 right but with function calling you could go to like for example a cloud run service and find out what is the current weather in Seattle which I hardcoded as 40° and rainy because that is the yeah ask me how I feel about Seattle and so that was demo number two so you make the call on Gemini's behalf and then demo three was using a different type of cloud run resource there server there's um Cloud run services but there's also Cloud run jobs and a a cloud run job just runs a container or the code to completion and so I showed how to use different non- Gemini specific uh vertex AI apis in that Deo wonderful okay and just to give Folks at home maybe a little bit of the background what is serverless and what are the benefits of it yeah sure so uh server lless is where I would think of it as like you Outsource your Sr or your devops to Google so where you get to focus on your application development and uh your performance monitoring and we will take care of Autos scaling up if you have more traffic or scaling down like if you're like me you're experimenting you're prototyping you put you spin up an instance but then you don't you can just forget about it because after 15 minutes of idle time uh Cloud will spin down that instance based on traffic oh got it okay okay so then uh in terms of using Cloud run you know a lot of people ask where should I run my code yeah yeah so so usually I always start with okay where are you where are you starting from like are you comfortable with containers or not if you're let's say like you you just have your code and that was my first and second demo uh demos 1 and two where I use build packs to show that you don't have to have a Docker file we will containerize your code for you so you can just bring your code uh for I think there's seven languages that are supported by Bill PX and demo number three I actually use a Docker file because I had to install a third party or a third um third party binary um ffmpeg for that for that specific demo but usually yeah I always like like are you comfortable with kubernetes if you are check out gke okay wonderful okay so if uh folks want to watch maybe other sessions on servus that have been happening at next what would you recommend yeah so there's uh there's what's new in Cloud run where they demoed this morning in the keyot the uh app canvas where you can describe your architecture in actal language and uh it will produce not only a diagram um of the your architecture but you can actually hit deploy and it will actually deploy that yeah so that was uh my teammate vza so if you want to see this live go to his session and uh staring the PM for uh Cloud run it's uh it was called um generative AI using Lang chain with Cloud run but yeah it was it was pretty cool he asked I want a cloud run service with a cloud SQL and then it it generates a scaffold or it shows you what the architecture will look like then he says give me a cloud run uh a cloud sequel um Cloud sequel give me a uh I want to use a Gemini and then it wires up gemini or vertex AI integration and then you hit deploy and it deploys it for you yes okay I did the manual way cuz uh I wanted to show step by step uh what is going on when you're writing code and I also want to just call out that um everything I demoed in my talk I have a step by step by step guide in the Cod laabs so I told my audience do not take notes take a screenshot of these QR codes everything is already taken care of you go to the code laab you can start from scratch wonderful okay and we'll make sure to link those code labs in the description as well so all of you can check those out and okay I'm going to throw you a little bit of a curveball here if uh developers want want to get started you know seamlessly integrate this into their workflow what can they do can you tell me in 60 seconds or less if you want to get started with Cloud run you can go to the cloud console and from there you will see how you can deploy an already uh uh created container image of the the hello world Happy dancing unicorn that is what I call it and you can just go from there and get a feel of the auto scaling I would say yes start there in the cloud console get an idea of the auto scaling scaling up and down the knobs and dials that you can find tun for yourself and then you can do the source based deployments uh it's kind of like the next step in our documentation so that you can get your own code uh deployed and then you can go from there from like continuous deployment wherever you have your get repo and so forth wonderful thank you so much for chatting with us Sarah and have a great rest of your next thank you for having me thank you [Music] oh [Music]

Original Description

Generative AI can transform customer service, enhance employee productivity, and automate business processes among other possibilities. Join Debi Cabrera as she sits down with Senior Developer Relations Engineer, Sara Ford, to discuss Google Cloud's “pay-as-you-go” compute platform to provide these experiences. With Google Cloud serverless you can focus on what's core to your business and leave the autoscaling to Google. Chapters: 0:00 - Meet Sara 0:50 - Why use Cloud Run with gen AI? 2:19 - What is serverless? 2:55 - Where should developers run their code? 3:47 - Serverless session recommendations 5:27 - Getting started with serverless 6:17 - Wrap up Resources: Watch the full session here → https://goo.gle/3xGfeE2 How to deploy a Gemini-powered chat app on Cloud Run → https://goo.gle/3U6VyAL How to use Cloud Run with Gemini Function Calling → https://goo.gle/3W64iJK How to use Cloud Run Jobs & Video Intelligence APIs to process videos → https://goo.gle/4b35IJy Watch more Cloud Next 2024 → https://goo.gle/Next-24 Subscribe to Google Cloud Tech → https://goo.gle/GoogleCloudTech #GoogleCloudNext #GoogleGemini Event: Google Cloud Next 2024 Speakers: Debi Cabrera, Sara Ford Products Mentioned: Cloud Run, Vertex AI
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Google Cloud Tech · Google Cloud Tech · 0 of 60

← Previous Next →
1 I’m going for it #GoogleCloudCertified
I’m going for it #GoogleCloudCertified
Google Cloud Tech
2 I had to get #GoogleCloudCertified
I had to get #GoogleCloudCertified
Google Cloud Tech
3 Be better overall at what you do #GoogleCloudCertified
Be better overall at what you do #GoogleCloudCertified
Google Cloud Tech
4 Cloud Monitoring on our radar #Analysis #Uptime
Cloud Monitoring on our radar #Analysis #Uptime
Google Cloud Tech
5 Introduction to Generative AI Studio
Introduction to Generative AI Studio
Google Cloud Tech
6 How to use Github Actions with Google's Workload Identity Federation
How to use Github Actions with Google's Workload Identity Federation
Google Cloud Tech
7 Introduction to Responsible AI
Introduction to Responsible AI
Google Cloud Tech
8 Networking updates and CDMC-certified architecture
Networking updates and CDMC-certified architecture
Google Cloud Tech
9 Create and use a Cloud Storage bucket
Create and use a Cloud Storage bucket
Google Cloud Tech
10 How to digitize text from documents
How to digitize text from documents
Google Cloud Tech
11 Faster analytical queries with AlloyDB
Faster analytical queries with AlloyDB
Google Cloud Tech
12 Next ‘23 sessions and FaaS Wave
Next ‘23 sessions and FaaS Wave
Google Cloud Tech
13 Introduction to Assured Open Source Software
Introduction to Assured Open Source Software
Google Cloud Tech
14 BigQuery Cost Optimization: Storage
BigQuery Cost Optimization: Storage
Google Cloud Tech
15 BigQuery Cost Optimization: Compute
BigQuery Cost Optimization: Compute
Google Cloud Tech
16 BigQuery Cost Optimization: Select Queries
BigQuery Cost Optimization: Select Queries
Google Cloud Tech
17 Remote Field Equipment Management with Manufacturing Data Engine
Remote Field Equipment Management with Manufacturing Data Engine
Google Cloud Tech
18 Supercharging your applications with Cloud SQL Enterprise Plus
Supercharging your applications with Cloud SQL Enterprise Plus
Google Cloud Tech
19 Vector Support on our radar #GenAI
Vector Support on our radar #GenAI
Google Cloud Tech
20 Architecting a blockchain startup with Google Cloud
Architecting a blockchain startup with Google Cloud
Google Cloud Tech
21 Kubernetes and multitasking updates!
Kubernetes and multitasking updates!
Google Cloud Tech
22 GKE: Using Kubernetes Events
GKE: Using Kubernetes Events
Google Cloud Tech
23 How to configure firewall rules for Cloud Composer
How to configure firewall rules for Cloud Composer
Google Cloud Tech
24 Vertex AI Embeddings API + Matching Engine: Grounding LLMs made easy
Vertex AI Embeddings API + Matching Engine: Grounding LLMs made easy
Google Cloud Tech
25 Geospatial analytics on our radar #EarthEngine #BigQuery
Geospatial analytics on our radar #EarthEngine #BigQuery
Google Cloud Tech
26 Ensuring requests are set in Kubernetes
Ensuring requests are set in Kubernetes
Google Cloud Tech
27 Cloud Next 2023, Google research program, and more!
Cloud Next 2023, Google research program, and more!
Google Cloud Tech
28 How to migrate projects between organizations with Resource Manager
How to migrate projects between organizations with Resource Manager
Google Cloud Tech
29 How to run #MySQL in Google Cloud
How to run #MySQL in Google Cloud
Google Cloud Tech
30 #GenerativeAI for enterprises and #Next2023
#GenerativeAI for enterprises and #Next2023
Google Cloud Tech
31 How Google Photos scales to store 4 trillion photos and videos
How Google Photos scales to store 4 trillion photos and videos
Google Cloud Tech
32 Google Cross-Cloud Interconnect (Demo 2)
Google Cross-Cloud Interconnect (Demo 2)
Google Cloud Tech
33 GKE Cost Optimization Golden Signals: Introduction
GKE Cost Optimization Golden Signals: Introduction
Google Cloud Tech
34 GKE Cost Optimization Golden Signals: Workload Rightsizing
GKE Cost Optimization Golden Signals: Workload Rightsizing
Google Cloud Tech
35 GKE Load Balancing: Overview
GKE Load Balancing: Overview
Google Cloud Tech
36 GKE Load Balancing: Best Practices
GKE Load Balancing: Best Practices
Google Cloud Tech
37 Disaster Recovery in GKE
Disaster Recovery in GKE
Google Cloud Tech
38 How to configure IP masquerade agent in GKE Standard clusters
How to configure IP masquerade agent in GKE Standard clusters
Google Cloud Tech
39 Enable and use GKE Control plane logs
Enable and use GKE Control plane logs
Google Cloud Tech
40 Compliance in Australia with Assured Workloads
Compliance in Australia with Assured Workloads
Google Cloud Tech
41 Creating budgets and budget alerts in Google Cloud #FinOps
Creating budgets and budget alerts in Google Cloud #FinOps
Google Cloud Tech
42 Cloud SQL Enterprise Plus on our radar #mySQL
Cloud SQL Enterprise Plus on our radar #mySQL
Google Cloud Tech
43 What's Next for Google Cloud?
What's Next for Google Cloud?
Google Cloud Tech
44 How Loveholidays scaled with Contact Center AI
How Loveholidays scaled with Contact Center AI
Google Cloud Tech
45 What is fleet team management in GKE?
What is fleet team management in GKE?
Google Cloud Tech
46 Troubleshoot VPC Network Peering
Troubleshoot VPC Network Peering
Google Cloud Tech
47 Introduction to DocAI and Contact Center AI
Introduction to DocAI and Contact Center AI
Google Cloud Tech
48 Cloud Run Direct VPC egress explained
Cloud Run Direct VPC egress explained
Google Cloud Tech
49 Database deployment options in GKE
Database deployment options in GKE
Google Cloud Tech
50 Analyze cloud billing data with #BigQuery
Analyze cloud billing data with #BigQuery
Google Cloud Tech
51 Tips to becoming a world-class Prompt Engineer
Tips to becoming a world-class Prompt Engineer
Google Cloud Tech
52 Serverless is simple. Do I need CI/CD?
Serverless is simple. Do I need CI/CD?
Google Cloud Tech
53 Accelerating model deployment with MLOps
Accelerating model deployment with MLOps
Google Cloud Tech
54 How Hawaii's Department of Human Services scaled with CCAI
How Hawaii's Department of Human Services scaled with CCAI
Google Cloud Tech
55 Pricing API on our #Radar
Pricing API on our #Radar
Google Cloud Tech
56 How Recommendations AI for Media can boost customer retention
How Recommendations AI for Media can boost customer retention
Google Cloud Tech
57 Troubleshooting: Node Not Ready Status
Troubleshooting: Node Not Ready Status
Google Cloud Tech
58 One weekend until Cloud Next 2023!
One weekend until Cloud Next 2023!
Google Cloud Tech
59 #GoogleCloudNext starts tomorrow!
#GoogleCloudNext starts tomorrow!
Google Cloud Tech
60 #GoogleCloudNext will be demand!
#GoogleCloudNext will be demand!
Google Cloud Tech

This video teaches how to accelerate AI with Google Cloud Serverless using Cloud Run and Vertex AI, and provides demos of serverless AI integration. It covers the benefits of serverless computing and how to get started with Cloud Run.

Key Takeaways
  1. Create a Cloud Run service
  2. Integrate Vertex AI with Cloud Run
  3. Use Gemini for AI-powered chatbots
  4. Deploy a container image to Cloud Run
  5. Configure auto-scaling in Cloud Run
💡 Serverless computing allows developers to focus on application development while outsourcing DevOps to Google Cloud, providing a pay-as-you-go compute platform for AI acceleration.

Related Reads

Chapters (7)

Meet Sara
0:50 Why use Cloud Run with gen AI?
2:19 What is serverless?
2:55 Where should developers run their code?
3:47 Serverless session recommendations
5:27 Getting started with serverless
6:17 Wrap up
Up next
Indian Express Editorial Analysis by Chandan Sharma - 1 JULY 2026 | UPSC Current Affairs 2026
StudyIQ IAS
Watch →