This document summarizes a presentation about GCP operations learned from Fantia. It discusses trends in the number and categories of Fantia fan clubs over the past 5 years. It also outlines GCP features used like Instance Groups, CloudArmor, and CloudDNS. Instance Group issues and how CloudArmor's preview and rule settings help security are covered. The benefits of services like AWS Aurora are briefly mentioned.
67. Copyright 2021 Toranoana Inc.
67
今後利用していきたいGCP機能
① セッション保持しない外部からのREST API
ーアクセス頻度をコントロールしにくい
ー柔軟なオートスケールが必要だが、本体サービスとは切り離したい
② 定期バッチ処理
ーバッチ処理がサービス拡大とともに増えてゆくリスク
ー単一サーバーだけで実施する場合はメモリ不足の懸念など
82. Copyright 2021 Toranoana Inc.
82
今後利用していきたいGCP機能
GCPの公式で『Cloud Scheduler』
による方法を案内している
参考:https://cloud.google.com/run/docs/triggering/using-scheduler?hl=j a
83. Copyright 2021 Toranoana Inc.
83
今後利用していきたいGCP機能
CloudRunはHTTPSでの公開しかできない
よって以下の方法でタスク実行を実現
① Cloud Schedulerでトリガーを設定
② Scheduler内部でCloudRunのアクセスを実行
③ 限定公開されているCloudRunが受信して処理を実行