question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Simultaniously create limit on AWS dynamodb create

See original GitHub issue

Hi, AWS seems to have introduced a limit on creating dynamodb databases simultaniously. This needs a different handling of database create feature of serverless framework.

Serverless Error ---------------------------------------

   An error occurred while provisioning your stack: ProductsTable
   - Subscriber limit exceeded: You have exceeded the maximum
   number of indexed tables that can be created simultaneously.

Locally I have solved this problem by putting a timeout inbetween each table reaction of 5 seconds.


http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html

CreateTable/UpdateTable/DeleteTable
In general, you can have up to 10 CreateTable, UpdateTable, and DeleteTable requests running simultaneously (in any combination). In other words, the total number of tables in the CREATING, UPDATING or DELETING state cannot exceed 10.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
nenticommented, Jun 8, 2017

Anyone else hitting the limits of aws dynamodb with cloudformation. AWS support increases the limits quickly if you send support request. No response on resolving this issue in general though.

image

1reaction
mvayngribcommented, Jul 9, 2018

@harleyguru I don’t think you can as the indexes are not separate CloudFormation resources. Is there a reason you need that specific flow? Maybe it’s enough for you to have the tables get created in series, e.g. for tables A-E: E depends on D, D depends on C, and so on. Or E, D depends on C. C, B depends on A.

Read more comments on GitHub >

github_iconTop Results From Across the Web

DynamoDB/CF - Subscriber limit exceeded: Only 10 tables ...
DynamoDB /CF - Subscriber limit exceeded: Only 10 tables can be created, updated, or deleted simultaneously · It looks Dev1ProductTables is missing from...
Read more >
The Three DynamoDB Limits You Need to Know - Alex DeBrie
The first important limit to know is the item size limit. An individual record in DynamoDB is called an item, and a single...
Read more >
10 DynamoDB Limits You Need To Know - Dynobase
DynamoDB Tables are internally divided into partitions. Each partition has its own throughput limit, it is set to 3,000 RCUs (Read Capacity ...
Read more >
Create Your First Table by Using the DynamoDB Console
In this first episode, you use the DynamoDB console to create a simple table, add data, scan and query the data, delete data,...
Read more >
UpdateTable - Amazon DynamoDB - 亚马逊云科技
For most purposes, up to 500 simultaneous table operations are allowed per account. These operations include CreateTable , UpdateTable , DeleteTable , ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found