---
# System prepended metadata

title: Cloud Run
tags: [gcp]

---

---
title: Cloud Run
tags: gcp
---

[toc]

# Serverless

![serverless](https://i.imgur.com/u5HEpXJ.png)

* [Knative](https://knative.dev/docs/)

# Cloud Run
* 自動擴展
* 流量拆分
* 自定網域 & 憑證
* 自動冗餘

## 執行模式
* HTTPS
* gRPC
* WebSockets
* Pub/Sub Trigger

## 網路
* Cloud SQL connections
* VPC Connector
* all traffic
* internal traffic 
* traffic from Cloud Load Balancing

## Price
* https://cloud.google.com/run#section-13

# Cloud Function
* 程式碼片段(Function)
* 第三方套件
* 請求並發數量