You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: pages/docs/v2/platform/limits.mdx
+85-20
Original file line number
Diff line number
Diff line change
@@ -3,41 +3,75 @@ import Limits from '~/components/limits'
3
3
4
4
exportconst meta = {
5
5
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.',
7
8
editUrl: 'pages/docs/v2/platform/limits.mdx',
8
-
lastEdited: '2019-10-30T09:43:23.000Z'
9
+
lastEdited: '2019-11-12T19:50:43.000Z'
9
10
}
10
11
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.
12
13
13
-
The table consists of the following four columns:
14
+
## Plans
14
15
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**.
19
17
20
-
##Examples
18
+
### Usage Allowances
21
19
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.
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
27
31
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.
29
33
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.
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.
35
43
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.
37
45
38
-
<Limits />
46
+
## Environment Variables
39
47
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).
41
75
42
76
## Reserved Variables
43
77
@@ -61,7 +95,38 @@ The following environment variable names are [reserved](https://docs.aws.amazon.
61
95
-`LAMBDA_TASK_ROOT`
62
96
-`LAMBDA_RUNTIME_DIR`
63
97
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 />
65
130
66
131
exportdefault ({ children }) => <Docmeta={meta}>{children}</Doc>
0 commit comments