gpt4 book ai didi

amazon-dynamodb - 部署 MoonMail 时的 DynamoDB 限制

转载 作者:行者123 更新时间:2023-12-04 07:08:25 26 4
gpt4 key购买 nike

我正在尝试在 AWS 上部署 MoonMail。但是,我从 CloudFormation 收到此异常:

Subscriber limit exceeded: Only 10 tables can be created, updated, or deleted simultaneously

是否有另一种部署方式,无需打开支持案例并要求他们取消我的限制?

最佳答案

这是 AWS 对 API 的限制:( link )

API-Specific Limits

CreateTable/UpdateTable/DeleteTable

In general, you can have up to 10CreateTable, UpdateTable, and DeleteTable requests runningsimultaneously (in any combination). In other words, the total numberof tables in the CREATING, UPDATING or DELETING state cannot exceed10.

The only exception is when you are creating a table with one or moresecondary indexes. You can have up to 5 such requests running at atime; however, if the table or index specifications are complex,DynamoDB might temporarily reduce the number of concurrent requestsbelow 5.

您可以尝试向 AWS 提出支持请求以提高您账户的此限制,但我认为这没有必要。 It seems您可以使用 AWS CLI 或 AWS SDK 先验地创建 DynamoDB 表,并使用具有对这些表的只读访问权限的 MoonMail。使用 SDK ( example ),您可以按顺序创建这些表,而不会达到同时创建的限制。

另一种选择是编辑 s-resources-cf.json 文件以仅包含 10 个表并进行部署。之后,添加缺少的表并再次部署。

无论您采用何种解决方案,请考虑在 MoonMail 的 repo 中创建问题单, 因为就目前情况而言,它在第一次尝试时不起作用(资源文件中有 12 个表)。

关于amazon-dynamodb - 部署 MoonMail 时的 DynamoDB 限制,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42492510/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com