> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/zen-firewall/zen-installation-instructions/setup-and-installation-of-zen-firewall-for-serverless-environments.md).

# サーバーレス環境向け Zen Firewall

Zen Firewall は、アプリケーションやイベント駆動型ワークロードを保護するために、人気のサーバーレスプラットフォームへ直接デプロイできます。現在、以下をサポートしています:

* [AWS Lambda（Node.js）](/docs/docs-ja/zen-firewall/zen-installation-instructions/zen-firewall-for-nodejs-javascript-and-typescript/aws-lambda.md)
  * API Gateway
  * SQS
* [Google Cloud Functions（Node.js）](/docs/docs-ja/zen-firewall/zen-installation-instructions/zen-firewall-for-nodejs-javascript-and-typescript/google-cloud-functions.md)
* [Google Cloud Pub/Sub（Node.js）](/docs/docs-ja/zen-firewall/zen-installation-instructions/zen-firewall-for-nodejs-javascript-and-typescript/google-cloud-pubsub.md)

## 仕組み

Zen は関数レベルまたはメッセージレベルで統合され、リクエストやイベントがコードに届く前に検査します。エンジンは最小限のレイテンシーとオーバーヘッドで動作するよう最適化されているため、サーバーレスアプリケーションの高速性とコスト効率を維持できます。

## 主な利点

* 軽量で高性能 — 短命なサーバーレス環境で動作するよう最適化されています。
* 自動保護 — SQLインジェクション、シェルインジェクション、パストラバーサル、SSRF などの重大な攻撃を検知してブロックします。
* 簡単な統合 — アプリケーションロジックを変更せずに Zen をデプロイできます。

## 機能制限

サーバーレス環境の制約により、一部のファイアウォール機能は利用できません:

* Torトラフィックのブロック
* ボットのブロック
* 既知の脅威アクターによる IP ブロック
* 国別ブロック
* 手動のユーザー/IPブロック


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.aikido.dev/docs/docs-ja/zen-firewall/zen-installation-instructions/setup-and-installation-of-zen-firewall-for-serverless-environments.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
