Тёмный

Deploy the same app to App Engine, Cloud Functions, and Cloud Run? 

Google Cloud Tech
Подписаться 1,1 млн
Просмотров 11 тыс.
50% 1

Nebulous Google Cloud serverless & API sample applications → goo.gle/3qa6HSJ
In this episode of Serverless Expeditions Extended, Google engineers Martin and Wesley follow-up with their earlier video about picking the right serverless platform by deploying the same sample app to App Engine, Cloud Functions, and Cloud Run, all with no code changes! Watch to see the differences in configuration.
Chapters:
0:00 - Introduction
1:05 - Deployments overview
1:45 - Getting set up
4:45 - Deploy Node.js app to App Engine
5:33 - Deploy Node.js app to Cloud Functions
6:31 - Deploy Node.js app to Cloud Run
7:32 - Deploy Python 2 app to App Engine
8:20 - Deploy Python 3 app to App Engine
9:14 - Deploy Python 3 app to Cloud Functions
10:19 - Deploy Python 2 app to Cloud Run with Docker
11:21 - Deploy Python 3 app to Cloud Run with Docker
12:36 - Deploy Python 3 app to Cloud Run without Docker via Cloud Buildpacks
14:05 - Summary
Related links:
Exploring serverless with a nebulous app: Deploy the same app to App Engine, Cloud Functions, or Cloud Run_→ goo.gle/3XhWDGs
Picking the right serverless platform video → goo.gle/3Assria
Code repo (Node.js & Python) → goo.gle/3qa6HSJ
Node.js codelab → goo.gle/3tJlXI4
Python 2 & 3 run on Flask locally codelab → goo.gle/3TOHKZo
Python 2 App Engine deployment codelab → goo.gle/3Xcuf8P
Python 3 App Engine deployment codelab → goo.gle/3V7LJ4b
Python 3 Cloud Functions deployment codelab → goo.gle/3GtHsE5
Python 2 Cloud Run with Docker deployment codelab → goo.gle/3ElMwYB
Python 3 Cloud Run with Docker deployment codelab → goo.gle/3EGi3pv
Python 3 Cloud Run without Docker via Cloud Buildpacks deployment codelab → goo.gle/3AoIvS0
Check out more episodes of Serverless Expeditions → goo.gle/ServerlessExpeditions
Subscribe to Google Cloud Tech → goo.gle/GoogleCloudTech
#ServerlessExpeditions​ #ServerlessExpeditionsExtended

Наука

Опубликовано:

 

12 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 8   
@cindysi63
@cindysi63 Год назад
Impressive how simple moving between deployment is in google cloud. That was a good demo. Thank you.
@googlecloudtech
@googlecloudtech Год назад
Learn about deploying the same app to App Engine, Cloud Functions, and Cloud Run with no code changes! We’d love to hear what you have questions about in the comments! Subscribe to Google Cloud Tech → goo.gle/GoogleCloudTech Be sure to check out Part 1: Picking the right serverless platform → goo.gle/3PsgUFS
@WesleyChun
@WesleyChun Год назад
NOTE: the 3rd deployment featured at 6:31 should say "Deploy Node.js app to Cloud Run *via Cloud Buildpacks* " as that's what is used. (It doesn't use Docker [because there's no `Dockerfile` ].)
@andreas_o.
@andreas_o. Год назад
Hi there, Thank you for this great video :) Just a quick question for my understanding: Only the last sample / #7 has "without Docker via Cloud Buildpacks deployment" in the title. Isn't sample #1, #2, #3, #4, #5 and #6 also using Cloud Buildpacks in the background? This video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-suhCr5W_bFc.html states that App Engine, Cloud Run and Cloud Functions also build via Cloud Buildpacks. Thank you in advance! #1) 4:45 - Deploy Node.js app to App Engine #2) 5:33 - Deploy Node.js app to Cloud Functions #3) 6:31 - Deploy Node.js app to Cloud Run #4) 7:32 - Deploy Python 2 app to App Engine #5) 8:20 - Deploy Python 3 app to App Engine #6) 9:14 - Deploy Python 3 app to Cloud Functions #7) 10:19 - Deploy Python 2 app to Cloud Run with Docker #8) 11:21 - Deploy Python 3 app to Cloud Run with Docker #9) 12:36 - Deploy Python 3 app to Cloud Run without Docker via Cloud Buildpacks
@WesleyChun
@WesleyChun Год назад
Congrats for being such a careful viewer! You're close. The buildpacks that build GAE & GCF apps have some proprietary magic, so yes, while they are "buildpacks," it's not "Cloud Buildpacks." Cloud Buildpacks are only used for Cloud Run, meaning the deploys of either the Node.js or Python 3 apps to Cloud Run; the rest use Google-internal buildpacks. Another example of Cloud Buildpacks is using the Functions Framework where Cloud Buildpacks takes your locally-developed Cloud Function and containerizes it for Cloud Run.
@LarsRyeJeppesen
@LarsRyeJeppesen Год назад
Thanks guys great stuff
@veenashetty3118
@veenashetty3118 Год назад
Great Knowledge shared in few mints , Cant wait to try these Thanks Wes and Martin!! Question: Can I know which serverless mode would be better for a ML model pickle file picked API and pass the result to another web application or suggest ways to frame Pickle file driven API in GCP
@WesleyChun
@WesleyChun Год назад
Hi Veena, and thanks for your comment. Your use case sounds fairly simple, straightforward, and consists of just one main piece of functionality (serving pickled ML models via an API), so this sounds like a job for Python 3 Cloud Functions, but you probably guessed that already. App Engine and Cloud Run are better choices for apps. With this video, you can get a prototype running on all 3 to better understand them.
Далее
How to design a serverless app
9:55
Просмотров 12 тыс.
How Many Balloons Does It Take To Fly?
00:18
Просмотров 47 млн
Dora’s Tyla Dance is Everywhere 😨 #shorts
00:14
Просмотров 2,9 млн
Cloud Run QuickStart - Docker to Serverless
7:50
Просмотров 180 тыс.
Picking the right serverless platform (Part 1)
14:02
Просмотров 14 тыс.
What are smoke tests? | Serverless Reliability
8:34
Просмотров 10 тыс.
100+ Docker Concepts you Need to Know
8:28
Просмотров 854 тыс.
Run your React app on Google Cloud
16:28
Просмотров 16 тыс.
Three ways to improve CI/CD in your serverless app
7:46
Simplify Cloud Run development with Visual Studio Code
19:16
Deploy your Flask app on Google Cloud Platform
17:51
Просмотров 12 тыс.
API vs. SDK: What's the difference?
9:21
Просмотров 1,4 млн
Я УКРАЛ ТЕЛЕФОН В МИЛАНЕ
9:18
Просмотров 75 тыс.
iPhone socket cleaning #Fixit
0:30
Просмотров 3,1 млн