# Buckets amount limit

**URL:** <https://community.influxdata.com/t/buckets-amount-limit/22006>\
**Category:** InfluxDB 2\
**Created:** [October 8, 2021, 5:56am UTC](https://community.influxdata.com/t/buckets-amount-limit/22006 "2021-10-08T05:56:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bentt6](https://avatars.discourse-cdn.com/v4/letter/b/58956e/32.png) [@bentt6](https://community.influxdata.com/u/bentt6)\
**Post date:** [October 8, 2021, 5:56am UTC](https://community.influxdata.com/t/buckets-amount-limit/22006/1 "2021-10-08T05:56:38Z")

</div>

Hi,

Is there any limit on the number of buckets ? ( **cloud version** )

I’m planning a system that each users will have dashboard, the data in the backend is being saved in Influxdb.  
If I’ll split each users’s data to different bucket I can give the users direct access to read it’s Influxdb data.

- The system is planned to support ~20,000 users.
- The information that is saved for each user is not massive (a few measurements per second)

Is such planning possible ?

Thanks,  
Ben.

---

<div class="post-metadata">

**Author:** ![Anaisdg](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/anaisdg/32/6401_2.png) [@Anaisdg](https://community.influxdata.com/u/Anaisdg)\
**Post date:** [October 13, 2021, 1:32pm UTC](https://community.influxdata.com/t/buckets-amount-limit/22006/2 "2021-10-13T13:32:33Z")

</div>

Hello @bentt6,  
It depends on your tier. Free tier is limited to 2 buckets.  
But if you upgrade to PAYG you get:

- Unlimited buckets to store your data
- Unlimited storage retention

But yes that’s entirely possible and a recommended data schema esp for the following use case:  
IoT application developers who are using InfluxDB as the backend and want take advantage of tokens being scoped to buckets to secure users’ data.  
What’s your use case?  
Also are you aware:

- you can enforce schemas:  
[Manage bucket schemas in InfluxDB | InfluxDB Cloud Documentation](https://docs.influxdata.com/influxdb/cloud/organizations/buckets/bucket-schema/)
- use parameterized queries:  
[Use parameterized Flux queries | InfluxDB Cloud Documentation](https://docs.influxdata.com/influxdb/cloud/query-data/parameterized-queries/)

These also might also be useful to you:

> **[GitHub - Jayclifford345/plant-buddy at plant\_buddy\_dash](https://github.com/Jayclifford345/plant-buddy/tree/plant_buddy_dash)**
>
> plant\_buddy\_dash

> **[GitHub - InfluxCommunity/iot\_app](https://github.com/InfluxCommunity/iot_app)**
>
> Contribute to InfluxCommunity/iot\_app development by creating an account on GitHub.
