MinIO parameter parsing and limitations
MinIO server default will save all the configuration information to a ${HOME}/.minio/config.json
file. The following sections provide a detailed description of each field and how to customize them. A complete config.json in here
The default configuration directory is ${HOME}/.minio
that you can use the --config-dir
option to specify a new path to override the default path. MinIO server when you first start will generate a new config.json, with inside access credentials automatically generated.
TLS certificate exists ${HOME}/.minio/certs
in the directory, you will need a certificate in this directory down to enable HTTPS.
The following is a directory structure to bring the TLS certificate MinIO server.
$ tree ~/.minio
/home/user1/.minio
├── certs
│ ├── CAs
│ ├── private.key
│ └── public.crt
└── config.json
parameter | Types of | description |
---|---|---|
version | string | version determines the format of the configuration file, any old versions are automatically migrated to the new version at startup. [Do not manually modify] |
credential | Object storage, and authentication credentials for Web access. | |
credential.accessKey | string | Access key minimum length is five characters, you can modify environment variables by MINIO_ACCESS_KEY |
credential.secretKey | string | Secret key length is minimum 8 characters, you can modify environment variables by MINIO_SECRET_KEY |
region | string | region describes the physical location of the server, default is us-east-1 (1 EDT), which is the default Amazon region S3. You can be modified by MINIO_REGION_NAME environment variable. If you do not understand this, it is recommended not arbitrarily modify |
browser | string | Open or close the browser access is enabled by default, you can modify environment variables by MINIO_BROWSER |
Examples
export MINIO_BROWSER=off
minio server /data
MinIO service restrictions
Due to erasure code, MinIO following restrictions
project | parameter |
---|---|
The maximum number of drives | 16 |
The minimum number of drive | 4 |
Read arbitration | N/2 |
Write arbitration | N/2+1 |
MinIO access through the browser, because the browser limitations, uploads the file size limit is 5GB.
Limit the S3 API
project | parameter |
---|---|
The maximum number of barrels | No Limit |
The maximum number of objects per barrel | No Limit |
The maximum object size | 5TB |
Minimum object size | 0 |
PUT operation every time the maximum size of the object | 5GB |
Part of the maximum number of each upload | 10000 |
Part size | 5MB to 5GB. The last part from 0B to 5GB |
Request list parts per part of the maximum number of return | 1000 |
Each object request list objects the maximum number of return | 1000 |
Each list multipart uploads the maximum number of requests that can be returned multipart uploads | 1000 |
Minio does not support Amazon S3 Bucket API
- BucketACL (can bucket policies)
- BucketCORS (all buckets all HTTP methods are enabled by default CORS)
- BucketLifecycle (Minio erasure codes required)
- BucketReplication (can mc mirror)
- BucketVersions, BucketVersioning (can s3git)
- BucketWebsite (can caddy or nginx)
- BucketAnalytics, BucketMetrics, BucketLogging (可以用 bucket notification APIs)
- BucketRequestPayment
- BucketTagging
Minio does not support Amazon S3 Object API.
- ObjectACL (can bucket policies)
- ObjectTorrent