tmokmss / dify-on-aws-cdk

Dify on AWS managed and easy
MIT License
49 stars 7 forks source link

Use CloudFront + Lambda function URL, removing API Gateway #3

Closed tmokmss closed 1 month ago

tmokmss commented 1 month ago

With this update, we can now achieve the following:

The drawback of this change:

image

The Dify Sandbox cannot run on Lambda, because we cannot access several commands or systemcalls that are required to create a sandbox.

tmokmss commented 1 month ago

We will merge this once for posterity... but revert it immediately because it is not ideal.