Your Dev Hub org is often your production org, and you can enable Dev Hub in these editions: Developer, Enterprise, Unlimited, or Performance. Your Dev Hub edition determines how many scratch orgs you can create. You choose one of the supported scratch org editions each time you create a scratch org.
Supported Scratch Org Editions
Possible values for the Salesforce edition of the scratch org are:
Developer
Enterprise
Group
Professional
Partners can create partner edition scratch orgs: Partner Developer, Partner Enterprise, Partner Group, and Partner Professional. This feature is available only if creating scratch orgs from a Dev Hub in a partner business org. See Supported Scratch Org Editions for Partners in the First-Generation Managed Packaging Developer Guide for details.
Note
Scratch orgs have these storage limits:
500 MB for data
50 MB for files
Entities defined as metadata types aren’t counted as part of storage allocations in scratch orgs. For more information about entities that are counted against storage allocations, see Salesforce Help: Data and File Storage Allocations.
Supported Dev Hub Editions and Associated Scratch Org Allocations
To ensure optimal performance, your Dev Hub org edition determines your scratch org allocations. These allocations determine how many scratch orgs you can create daily, and how many can be active at a given point.
If you’re a partner or ISV, your scratch org allocations are likely different. See the First-Generation Managed Packaging Developer Guide for details.
Note
The active scratch org allocation is the maximum number of scratch orgs you can have at any given time based on the edition type. The allocation becomes available if you delete a scratch org or if a scratch org expires. The daily scratch org allocation is the maximum number of successful scratch org creations you can initiate in a rolling (sliding) 24-hour window. Allocations are determined based on the number of scratch orgs created in the preceding 24 hours.
Edition
Active Scratch Org Allocation
Daily Scratch Org Allocation
Developer Edition or trial
3
6
Enterprise Edition
40
80
Unlimited Edition
100
200
Performance Edition
100
200
List Active and Daily Scratch Orgs
If your Salesforce admin provided access to the Dev Hub org using the Free Limited Access license and you can’t run this command, contact your admin for assistance.
Note
To view your scratch org allocations and how many are remaining, run this command in a terminal or command window against your Dev Hub org. Only relevant limits (ActiveScratchOrgs and DailyScratchOrgs) are shown.
1sf limits api display --target-org <Dev Hub username or alias>