Skip to content

Commit 91c28ab

Browse files
author
Matthew Sweeney
authored
Update Limits Page (#1459)
* update limits page * add remaining limits, fix prettier config * clarify http2/push * Apply suggestions from code review Co-Authored-By: Timothy <[email protected]> * correct limits * add link to pricing
1 parent 189ab2f commit 91c28ab

File tree

5 files changed

+106
-25
lines changed

5 files changed

+106
-25
lines changed

.prettierignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
.next
22
dist
33
lib/data/last-edited.json
4-
pages/examples

.prettierrc.js

-4
This file was deleted.

.prettierrc.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"semi": false,
3+
"singleQuote": true,
4+
"tabWidth": 2
5+
}

components/icons/infinity.js

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
const Infinity = () => (
2+
<svg
3+
viewBox="0 0 24 24"
4+
width="24"
5+
height="24"
6+
stroke="currentColor"
7+
stroke-width="1.5"
8+
stroke-linecap="round"
9+
stroke-linejoin="round"
10+
fill="none"
11+
shape-rendering="geometricPrecision"
12+
>
13+
<path d="M13.833 8.875S15.085 7 18.043 7C21 7 23 9.5 23 12s-1.784 5-4.864 5-4.914-3.124-6.136-5c-1.222-1.875-3.392-5-6.446-5S1 9.5 1 12s1.351 5 4.648 5c3.296 0 4.519-1.875 4.519-1.875" />
14+
</svg>
15+
)
16+
export default Infinity

pages/docs/v2/platform/limits.mdx

+85-20
Original file line numberDiff line numberDiff line change
@@ -3,41 +3,75 @@ import Limits from '~/components/limits'
33

44
export const meta = {
55
title: 'Limits',
6-
description: 'A list of rate limits that apply on the ZEIT Now platform.',
6+
description:
7+
'A list of limits and limitations that apply on the ZEIT Now platform.',
78
editUrl: 'pages/docs/v2/platform/limits.mdx',
8-
lastEdited: '2019-10-30T09:43:23.000Z'
9+
lastEdited: '2019-11-12T19:50:43.000Z'
910
}
1011

11-
This page outlines all relevant limits on the ZEIT Now platform.
12+
This page outlines all relevant limits and limitations present when using the ZEIT Now platform.
1213

13-
The table consists of the following four columns:
14+
## Plans
1415

15-
- **Description** - A brief description of the limit which, where relevant, will advise what type of plan it applies to.
16-
- **Limit** - The amount of actions permitted within the amount of time (**Duration**) specified.
17-
- **Duration** - The amount of time (seconds) in which you can perform the specified amount of actions in. Once a rate limit is hit, it will be reset after the **Duration** has expired.
18-
- **Scope** - Who the limit applies to, `owner` refers to the account owner, `user` refers to an individual user on a **Team** account.
16+
This section highlights two areas relating to pricing plans, **Usage Allowances**, and **Plan Limits**.
1917

20-
## Examples
18+
### Usage Allowances
2119

22-
Below are three examples that provide further information on how the rate limits work.
20+
**Usage Allowances** are the maximum limits provided by each pricing plan. They specify a limit for the amount of resources available for use under that plan before deployments are blocked (Free plan) or [additional costs](/pricing) are incurred.
2321

24-
### Domain Deletion
22+
| Limit | Free | Pro | Business | Enterprise |
23+
| ---------------------- | ---- | --- | -------- | ---------- |
24+
| Bandwidth (GB) | 20 | 100 | 1000 | Custom |
25+
| Build Time (Hours) | 2 | 10 | 100 | Custom |
26+
| Execution Time (Hours) | 20 | 100 | 1,000 | Custom |
27+
| Team Seats | 3 | 3 | 6 | Custom |
28+
| Concurrent Builds | 1 | 3 | 6 | Custom |
2529

26-
Taking the domains deletion rate limit as an example, you are allowed to delete up to `60` domains every `60` seconds (1 minute). Should you hit the rate limit, you will need to wait another minute before deleting another domain.
30+
### Plan Limits
2731

28-
### Team Deletion
32+
**Plan Limits** are limitations that apply to specific plans that **cannot** be increased, the only way to do so is to upgrade to a higher tier pricing plan.
2933

30-
With the team deletion rate limit, you are able to delete up to `20` teams every `3600` seconds (1 hour). Should you hit the rate limit, you will need to wait another hour before deleting another team.
34+
| Limit | Free | Pro | Business | Enterprise |
35+
| ---------------------------- | ---- | ---- | -------- | ---------- |
36+
| Deployments (per day) | 100 | 3000 | 3000 | Custom |
37+
| Deployment History | 10 | - | - | - |
38+
| Execution Duration (Seconds) | 10 | 60 | 600 | 900 |
3139

32-
### Username Update
40+
## Logs
3341

34-
For the username update rate limit, you are able to change your username up to `6` times every `604800` seconds (1 week). Should you hit the rate limit, you will need to wait another week before changing your username again.
42+
Both log types – **build time** and **runtime** – are stored for **20 days only**. It is not possible to retrieve either of these log types beyond the age of 20 days.
3543

36-
---
44+
For [Serverless Functions](/docs/v2/serverless-functions/introduction/), each log output is **limited to 4kb**. For log outputs greater than 4kb, only the last 4kb will be retained.
3745

38-
<Limits />
46+
## Environment Variables
3947

40-
---
48+
The total size of [environment variables](/docs/v2/serverless-functions/env-and-secrets/) is **limited to 4kb**.
49+
50+
[Deployments](/docs/v2/platform/deployments) made with environment variables exceeding the 4kb limit will fail at the [build step](/docs/v2/build-step/).
51+
52+
## Domains
53+
54+
The maximum amount of domains that can be applied to a single project, either from the ZEIT Dashboard or by using the `alias` key in a `now.json` file is **50**.
55+
56+
It is not possible to add more than 50 domains to a project using the ZEIT Dashboard.
57+
58+
[Deployments](/docs/v2/platform/deployments) made with more than 50 `alias` in a `now.json` file will fail at the [build step](/docs/v2/build-step/).
59+
60+
## Files
61+
62+
The maximum number of files that can be uploaded when making a [deployment](/docs/v2/platform/deployments) is **10,000**.
63+
64+
Deployments made that contain more than 10,000 files will fail at the [build step](/docs/v2/build-step/).
65+
66+
## HTTP/2 Push
67+
68+
The ZEIT Now platform does not currently support HTTP/2 Push.
69+
70+
## SMTP
71+
72+
For security reasons, the ZEIT Now platform blocks outgoing SMTP connections.
73+
74+
As a result of this, we recommend using a third-party service to enable email functionality for [deployments](/docs/v2/platform/deployments).
4175

4276
## Reserved Variables
4377

@@ -61,7 +95,38 @@ The following environment variable names are [reserved](https://docs.aws.amazon.
6195
- `LAMBDA_TASK_ROOT`
6296
- `LAMBDA_RUNTIME_DIR`
6397

64-
Using any of these environment variable names will result in the deployment failing.
98+
[Deployments](/docs/v2/platform/deployments) made that use any of the reserved variable names will fail at the [build step](/docs/v2/build-step/).
99+
100+
## Rate Limits
101+
102+
**Rate limits** are hard limits that apply to the platform when performing actions that require a response from an API.
103+
104+
The **rate limits** table consists of the following four columns:
105+
106+
- **Description** - A brief summary of the limit which, where relevant, will advise what type of plan it applies to.
107+
- **Limit** - The amount of actions permitted within the amount of time (**Duration**) specified.
108+
- **Duration** - The amount of time (seconds) in which you can perform the specified amount of actions. Once a rate limit is hit, it will be reset after the **Duration** has expired.
109+
- **Scope** - Who the limit applies to, `owner` refers to the account owner, `user` refers to an individual user on a **Team** account.
110+
111+
## Examples
112+
113+
Below are three examples that provide further information on how the rate limits work.
114+
115+
### Domain Deletion
116+
117+
Taking the domains deletion rate limit as an example, you are allowed to delete up to `60` domains every `60` seconds (1 minute). Should you hit the rate limit, you will need to wait another minute before deleting another domain.
118+
119+
### Team Deletion
120+
121+
With the team deletion rate limit, you are able to delete up to `20` teams every `3600` seconds (1 hour). Should you hit the rate limit, you will need to wait another hour before deleting another team.
122+
123+
### Username Update
124+
125+
For the username update rate limit, you are able to change your username up to `6` times every `604800` seconds (1 week). Should you hit the rate limit, you will need to wait another week before changing your username again.
126+
127+
---
128+
129+
<Limits />
65130

66131
export default ({ children }) => <Doc meta={meta}>{children}</Doc>
67132

0 commit comments

Comments
 (0)