Account quota and increases
Arianet BaaS has two kinds of limits:
| Plan limit | Account quota | |
|---|---|---|
| Applies to | One Project | Your whole Arianet account, every Project together |
| Example | One Project's Database size, its monthly egress, its number of Sites | How many Projects you can have, the total Database of every Project |
| Shown on | Usage, Sites, Git and Deploy | The account quota («سهمیهٔ حساب») strip above the Project list |
| Raised by | Changing the Plan | Requesting an increase |
What the quota covers
| On the strip | Meaning |
|---|---|
| Project | The account's live Projects (any Plan). A Project being created counts too. |
| Paid Project («Project پولی») | Projects on a paid Plan. |
| Database | The sum of every Project's Plan Database limit, in GB (rounded up). |
| Storage | The sum of every Project's Plan Storage limit, in GB. |
| Monthly egress («Egress ماهانه») | The sum of every Project's Plan monthly egress limit, in GB. |
| Site | The Sites of every Project. |
Database, Storage and egress count each Project's Plan limit, not what it actually uses. Three Projects on a Plan with a 10 GB Database take 30 GB of the Database quota, even when empty. So the quota is checked when you create a Project or upgrade a Plan, not when you write data.
The account quota strip
At the top of the Projects page, the account quota strip shows each item as "used of limit" (such as «۲ از ۵»; an item without a limit says «نامحدود», unlimited). An item at 80% turns amber and a full one red. Hover an item for its full name. If the quota cannot be read the strip is hidden and never stands in your way.
When the quota is full
An action that adds something past the quota is refused and nothing changes:
- creating a Project (Projects and, for a paid Plan, paid Projects and the Database, Storage and egress totals)
- changing to a bigger Plan
- accepting a transfer of a Project from another account
- creating a Site
The panel shows «سقف سهمیهٔ حساب پر است» ("the account quota is full") with the details, for example "your account's limit of BaaS projects is 5 and 5 of it is used. Request a quota increase to continue.", with a Request a quota increase («درخواست افزایش سهمیه») link. The API and the CLI return the same as 403 quota_exceeded with the details resource, used, requested and limit.
Only what grows is judged: if your quota is lowered, existing Projects and Sites keep working unchanged, deleting or shrinking is always possible, and moving to a smaller Plan frees quota.
Requesting an increase
- Press Request increase («درخواست افزایش») on the account quota strip (or the Request a quota increase link in the error). The account's resource quota page opens with that item, usually the one that is full or nearly so.
- Enter the amount you need (and, if the form asks, why) and submit.
- Support reviews the request and lets you know. Once approved, the new limit applies at once.
The resource quota page is also in the account menu and shows the BaaS quotas next to the account's other resources (Resource quota).
Before creating many Projects or Sites for a large project, check the strip and file the request early.
The Free Plan
Apart from the account quota, an account has at most 2 Free Projects (Free Plan). That limit is fixed and is not raised by a quota request; create a third Project on a paid Plan.