mirror of
https://github.com/pgsty/minio.git
synced 2026-07-22 13:40:22 +03:00
cleanup markdown docs across multiple files (#14296)
enable markdown-linter
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
# MinIO Gateway [](https://slack.min.io)
|
||||
|
||||
## Support
|
||||
Gateway implementations are frozen and are not accepting any new features. Please reports any bugs at https://github.com/minio/minio/issues . If you are an existing customer please login to https://subnet.min.io for production support.
|
||||
|
||||
Gateway implementations are frozen and are not accepting any new features. Please reports any bugs at <https://github.com/minio/minio/issues> . If you are an existing customer please login to <https://subnet.min.io> for production support.
|
||||
|
||||
## Implementations
|
||||
|
||||
MinIO Gateway adds Amazon S3 compatibility layer to third party NAS and Cloud Storage vendors. MinIO Gateway is implemented to facilitate migration of existing from your existing legacy or cloud vendors to MinIO distributed server deployments.
|
||||
|
||||
- [NAS](https://github.com/minio/minio/blob/master/docs/gateway/nas.md)
|
||||
|
||||
+16
-1
@@ -1,8 +1,15 @@
|
||||
# MinIO Azure Gateway [](https://slack.min.io)
|
||||
|
||||
MinIO Gateway adds Amazon S3 compatibility to Microsoft Azure Blob Storage.
|
||||
|
||||
## Support
|
||||
|
||||
Gateway implementations are frozen and are not accepting any new features. Please reports any bugs at <https://github.com/minio/minio/issues> . If you are an existing customer please login to <https://subnet.min.io> for production support.
|
||||
|
||||
## Run MinIO Gateway for Microsoft Azure Blob Storage
|
||||
|
||||
### Using Docker
|
||||
|
||||
```
|
||||
podman run \
|
||||
-p 9000:9000 \
|
||||
@@ -14,27 +21,33 @@ podman run \
|
||||
```
|
||||
|
||||
### Using Binary
|
||||
|
||||
```
|
||||
export MINIO_ROOT_USER=azureaccountname
|
||||
export MINIO_ROOT_PASSWORD=azureaccountkey
|
||||
minio gateway azure
|
||||
```
|
||||
|
||||
## Test using MinIO Console
|
||||
MinIO Gateway comes with an embedded web based object browser. Point your web browser to http://127.0.0.1:9000 to ensure that your server has started successfully.
|
||||
|
||||
MinIO Gateway comes with an embedded web based object browser. Point your web browser to <http://127.0.0.1:9000> to ensure that your server has started successfully.
|
||||
|
||||
| Dashboard | Creating a bucket |
|
||||
| ------------- | ------------- |
|
||||
|  |  |
|
||||
|
||||
## Test using MinIO Client `mc`
|
||||
|
||||
`mc` provides a modern alternative to UNIX commands such as ls, cat, cp, mirror, diff etc. It supports filesystems and Amazon S3 compatible cloud storage services.
|
||||
|
||||
### Configure `mc`
|
||||
|
||||
```
|
||||
mc alias set myazure http://gateway-ip:9000 azureaccountname azureaccountkey
|
||||
```
|
||||
|
||||
### List containers on Microsoft Azure
|
||||
|
||||
```
|
||||
mc ls myazure
|
||||
[2017-02-22 01:50:43 PST] 0B ferenginar/
|
||||
@@ -47,6 +60,7 @@ mc ls myazure
|
||||
If you do not want to share the credentials of the Azure blob storage with your users/applications, you can set the original credentials in the shell environment using `AZURE_STORAGE_ACCOUNT` and `AZURE_STORAGE_KEY` variables and assign different access/secret keys to `MINIO_ROOT_USER` and `MINIO_ROOT_PASSWORD`.
|
||||
|
||||
### Known limitations
|
||||
|
||||
Gateway inherits the following Azure limitations:
|
||||
|
||||
- Only read-only bucket policy supported at bucket level, all other variations will return API Notimplemented error.
|
||||
@@ -59,6 +73,7 @@ Other limitations:
|
||||
- Bucket notification APIs are not supported.
|
||||
|
||||
## Explore Further
|
||||
|
||||
- [`mc` command-line interface](https://docs.min.io/docs/minio-client-quickstart-guide)
|
||||
- [`aws` command-line interface](https://docs.min.io/docs/aws-cli-with-minio)
|
||||
- [`minio-go` Go SDK](https://docs.min.io/docs/golang-client-quickstart-guide)
|
||||
|
||||
+11
-7
@@ -2,13 +2,14 @@
|
||||
|
||||
MinIO GCS Gateway allows you to access Google Cloud Storage (GCS) with Amazon S3-compatible APIs
|
||||
|
||||
- [Run MinIO Gateway for GCS](#run-minio-gateway-for-gcs)
|
||||
- [Test Using MinIO Console](#test-using-minio-browser)
|
||||
- [Test Using MinIO Client](#test-using-minio-client)
|
||||
## Support
|
||||
|
||||
Gateway implementations are frozen and are not accepting any new features. Please reports any bugs at <https://github.com/minio/minio/issues> . If you are an existing customer please login to <https://subnet.min.io> for production support.
|
||||
|
||||
## 1. Run MinIO Gateway for GCS
|
||||
|
||||
### 1.1 Create a Service Account key for GCS and get the Credentials File
|
||||
|
||||
1. Navigate to the [API Console Credentials page](https://console.developers.google.com/project/_/apis/credentials).
|
||||
2. Select a project or create a new project. Note the project ID.
|
||||
3. Select the **Create credentials** dropdown on the **Credentials** page, and click **Service account key**.
|
||||
@@ -20,6 +21,7 @@ MinIO GCS Gateway allows you to access Google Cloud Storage (GCS) with Amazon S3
|
||||
**Note:** For alternate ways to set up *Application Default Credentials*, see [Setting Up Authentication for Server to Server Production Applications](https://developers.google.com/identity/protocols/application-default-credentials).
|
||||
|
||||
### 1.2 Run MinIO GCS Gateway Using Docker
|
||||
|
||||
```sh
|
||||
podman run \
|
||||
-p 9000:9000 \
|
||||
@@ -43,7 +45,7 @@ minio gateway gcs yourprojectid
|
||||
|
||||
## 2. Test Using MinIO Console
|
||||
|
||||
MinIO Gateway comes with an embedded web-based object browser that outputs content to http://127.0.0.1:9000. To test that MinIO Gateway is running, open a web browser, navigate to http://127.0.0.1:9000, and ensure that the object browser is displayed.
|
||||
MinIO Gateway comes with an embedded web-based object browser that outputs content to <http://127.0.0.1:9000>. To test that MinIO Gateway is running, open a web browser, navigate to <http://127.0.0.1:9000>, and ensure that the object browser is displayed.
|
||||
|
||||
| Dashboard | Creating a bucket |
|
||||
| ------------- | ------------- |
|
||||
@@ -78,6 +80,7 @@ A response similar to this one should be displayed:
|
||||
```
|
||||
|
||||
### 3.3 Known limitations
|
||||
|
||||
MinIO Gateway has the following limitations when used with GCS:
|
||||
|
||||
* It only supports read-only and write-only bucket policies at the bucket level; all other variations will return `API Not implemented`.
|
||||
@@ -88,6 +91,7 @@ Other limitations:
|
||||
* Bucket notification APIs are not supported.
|
||||
|
||||
## 4. Explore Further
|
||||
- [`mc` command-line interface](https://docs.min.io/docs/minio-client-quickstart-guide)
|
||||
- [`aws` command-line interface](https://docs.min.io/docs/aws-cli-with-minio)
|
||||
- [`minio-go` Go SDK](https://docs.min.io/docs/golang-client-quickstart-guide)
|
||||
|
||||
* [`mc` command-line interface](https://docs.min.io/docs/minio-client-quickstart-guide)
|
||||
* [`aws` command-line interface](https://docs.min.io/docs/aws-cli-with-minio)
|
||||
* [`minio-go` Go SDK](https://docs.min.io/docs/golang-client-quickstart-guide)
|
||||
|
||||
+17
-1
@@ -1,12 +1,19 @@
|
||||
# MinIO HDFS Gateway [](https://slack.minio.io)
|
||||
|
||||
MinIO HDFS gateway adds Amazon S3 API support to Hadoop HDFS filesystem. Applications can use both the S3 and file APIs concurrently without requiring any data migration. Since the gateway is stateless and shared-nothing, you may elastically provision as many MinIO instances as needed to distribute the load.
|
||||
|
||||
> NOTE: Intention of this gateway implementation it to make it easy to migrate your existing data on HDFS clusters to MinIO clusters using standard tools like `mc` or `aws-cli`, if the goal is to use HDFS perpetually we recommend that HDFS should be used directly for all write operations.
|
||||
|
||||
## Support
|
||||
|
||||
Gateway implementations are frozen and are not accepting any new features. Please reports any bugs at <https://github.com/minio/minio/issues> . If you are an existing customer please login to <https://subnet.min.io> for production support.
|
||||
|
||||
## Run MinIO Gateway for HDFS Storage
|
||||
|
||||
### Using Binary
|
||||
|
||||
Namenode information is obtained by reading `core-site.xml` automatically from your hadoop environment variables *$HADOOP_HOME*
|
||||
|
||||
```
|
||||
export MINIO_ROOT_USER=minio
|
||||
export MINIO_ROOT_PASSWORD=minio123
|
||||
@@ -14,6 +21,7 @@ minio gateway hdfs
|
||||
```
|
||||
|
||||
You can also override the namenode endpoint as shown below.
|
||||
|
||||
```
|
||||
export MINIO_ROOT_USER=minio
|
||||
export MINIO_ROOT_PASSWORD=minio123
|
||||
@@ -21,7 +29,9 @@ minio gateway hdfs hdfs://namenode:8200
|
||||
```
|
||||
|
||||
### Using Docker
|
||||
|
||||
Using docker is experimental, most Hadoop environments are not dockerized and may require additional steps in getting this to work properly. You are better off just using the binary in this situation.
|
||||
|
||||
```
|
||||
podman run \
|
||||
-p 9000:9000 \
|
||||
@@ -46,12 +56,14 @@ To enable kerberos authentication, you need to set `hadoop.security.authenticati
|
||||
```
|
||||
|
||||
MinIO will load `krb5.conf` from environment variable `KRB5_CONFIG` or default location `/etc/krb5.conf`.
|
||||
|
||||
```sh
|
||||
export KRB5_CONFIG=/path/to/krb5.conf
|
||||
```
|
||||
|
||||
If you want MinIO to use ccache for authentication, set environment variable `KRB5CCNAME` to the credential cache file path,
|
||||
or MinIO will use the default location `/tmp/krb5cc_%{uid}`.
|
||||
|
||||
```sh
|
||||
export KRB5CCNAME=/path/to/krb5cc
|
||||
```
|
||||
@@ -71,7 +83,8 @@ export KRB5REALM=REALM.COM
|
||||
```
|
||||
|
||||
## Test using MinIO Console
|
||||
*MinIO gateway* comes with an embedded web based object browser. Point your web browser to http://127.0.0.1:9000 to ensure that your server has started successfully.
|
||||
|
||||
*MinIO gateway* comes with an embedded web based object browser. Point your web browser to <http://127.0.0.1:9000> to ensure that your server has started successfully.
|
||||
|
||||
| Dashboard | Creating a bucket |
|
||||
| ------------- | ------------- |
|
||||
@@ -97,7 +110,9 @@ mc ls myhdfs
|
||||
```
|
||||
|
||||
### Known limitations
|
||||
|
||||
Gateway inherits the following limitations of HDFS storage layer:
|
||||
|
||||
- No bucket policy support (HDFS has no such concept)
|
||||
- No bucket notification APIs are not supported (HDFS has no support for fsnotify)
|
||||
- No server side encryption support (Intentionally not implemented)
|
||||
@@ -105,6 +120,7 @@ Gateway inherits the following limitations of HDFS storage layer:
|
||||
- Concurrent multipart operations are not supported (HDFS lacks safe locking support, or poorly implemented)
|
||||
|
||||
## Explore Further
|
||||
|
||||
- [`mc` command-line interface](https://docs.minio.io/docs/minio-client-quickstart-guide)
|
||||
- [`aws` command-line interface](https://docs.minio.io/docs/aws-cli-with-minio)
|
||||
- [`minio-go` Go SDK](https://docs.minio.io/docs/golang-client-quickstart-guide)
|
||||
|
||||
+7
-1
@@ -2,6 +2,10 @@
|
||||
|
||||
MinIO Gateway adds Amazon S3 compatibility to NAS storage. You may run multiple minio instances on the same shared NAS volume as a distributed object gateway.
|
||||
|
||||
## Support
|
||||
|
||||
Gateway implementations are frozen and are not accepting any new features. Please reports any bugs at <https://github.com/minio/minio/issues> . If you are an existing customer please login to <https://subnet.min.io> for production support.
|
||||
|
||||
## Run MinIO Gateway for NAS Storage
|
||||
|
||||
### Using Docker
|
||||
@@ -29,7 +33,7 @@ minio gateway nas /shared/nasvol
|
||||
|
||||
## Test using MinIO Console
|
||||
|
||||
MinIO Gateway comes with an embedded web based object browser. Point your web browser to http://127.0.0.1:9000 to ensure that your server has started successfully.
|
||||
MinIO Gateway comes with an embedded web based object browser. Point your web browser to <http://127.0.0.1:9000> to ensure that your server has started successfully.
|
||||
|
||||
| Dashboard | Creating a bucket |
|
||||
| ------------- | ------------- |
|
||||
@@ -96,12 +100,14 @@ NAS gateway implementation allows symlinks on regular files,
|
||||
- Delete of actual file automatically makes symlink'ed file invisible, dangling symlinks won't be visible.
|
||||
|
||||
#### Caveats
|
||||
|
||||
- Disallows follow of directory symlinks to avoid security issues, and leaving them as is on namespace makes them very inconsistent.
|
||||
- Dangling symlinks are ignored automatically.
|
||||
|
||||
*Directory symlinks is not and will not be supported as there are no safe ways to handle them.*
|
||||
|
||||
## Explore Further
|
||||
|
||||
- [`mc` command-line interface](https://docs.min.io/docs/minio-client-quickstart-guide)
|
||||
- [`aws` command-line interface](https://docs.min.io/docs/aws-cli-with-minio)
|
||||
- [`minio-go` Go SDK](https://docs.min.io/docs/golang-client-quickstart-guide)
|
||||
|
||||
+16
-2
@@ -2,10 +2,16 @@
|
||||
|
||||
MinIO S3 Gateway adds MinIO features like MinIO Console and disk caching to AWS S3 or any other AWS S3 compatible service.
|
||||
|
||||
## Support
|
||||
|
||||
Gateway implementations are frozen and are not accepting any new features. Please reports any bugs at <https://github.com/minio/minio/issues> . If you are an existing customer please login to <https://subnet.min.io> for production support.
|
||||
|
||||
## Run MinIO Gateway for AWS S3
|
||||
|
||||
As a prerequisite to run MinIO S3 gateway, you need valid AWS S3 access key and secret key by default. Optionally you can also set custom access/secret key, when you have rotating AWS IAM credentials or AWS credentials through environment variables (i.e. AWS_ACCESS_KEY_ID)
|
||||
|
||||
### Using Docker
|
||||
|
||||
```
|
||||
podman run \
|
||||
-p 9000:9000 \
|
||||
@@ -17,6 +23,7 @@ podman run \
|
||||
```
|
||||
|
||||
### Using Binary
|
||||
|
||||
```
|
||||
export MINIO_ROOT_USER=aws_s3_access_key
|
||||
export MINIO_ROOT_PASSWORD=aws_s3_secret_key
|
||||
@@ -24,9 +31,11 @@ minio gateway s3
|
||||
```
|
||||
|
||||
### Using Binary in EC2
|
||||
|
||||
Using IAM rotating credentials for AWS S3
|
||||
|
||||
If you are using an S3 enabled IAM role on an EC2 instance for S3 access, MinIO will still require env vars MINIO_ROOT_USER and MINIO_ROOT_PASSWORD to be set for its internal use. These may be set to any value which meets the length requirements. Access key length should be at least 3, and secret key length at least 8 characters.
|
||||
|
||||
```
|
||||
export MINIO_ROOT_USER=custom_access_key
|
||||
export MINIO_ROOT_PASSWORD=custom_secret_key
|
||||
@@ -73,9 +82,11 @@ Minimum permissions required if you wish to provide restricted access with your
|
||||
```
|
||||
|
||||
## Run MinIO Gateway for AWS S3 compatible services
|
||||
|
||||
As a prerequisite to run MinIO S3 gateway on an AWS S3 compatible service, you need valid access key, secret key and service endpoint.
|
||||
|
||||
## Run MinIO Gateway with double-encryption
|
||||
|
||||
MinIO gateway to S3 supports encryption of data at rest. Three types of encryption modes are supported
|
||||
|
||||
- encryption can be set to ``pass-through`` to backend only for SSE-S3, SSE-C is not allowed passthrough.
|
||||
@@ -87,7 +98,6 @@ This can be specified by setting MINIO_GATEWAY_SSE environment variable. If MINI
|
||||
To specify ``double encryption``, MINIO_GATEWAY_SSE environment variable needs to be set to "s3" for sse-s3
|
||||
and "c" for sse-c encryption. More than one encryption option can be set, delimited by ";". Objects are encrypted at the gateway and the gateway also does a pass-through to backend. Note that in the case of SSE-C encryption, gateway derives a unique SSE-C key for pass through from the SSE-C client key using a key derivation function (KDF).
|
||||
|
||||
|
||||
```sh
|
||||
curl -sSL --tlsv1.2 \
|
||||
-O 'https://raw.githubusercontent.com/minio/kes/master/root.key' \
|
||||
@@ -104,6 +114,7 @@ minio gateway s3
|
||||
```
|
||||
|
||||
### Using Docker
|
||||
|
||||
```
|
||||
podman run -p 9000:9000 --name minio-s3 \
|
||||
-e "MINIO_ROOT_USER=access_key" \
|
||||
@@ -112,6 +123,7 @@ podman run -p 9000:9000 --name minio-s3 \
|
||||
```
|
||||
|
||||
### Using Binary
|
||||
|
||||
```
|
||||
export MINIO_ROOT_USER=access_key
|
||||
export MINIO_ROOT_PASSWORD=secret_key
|
||||
@@ -119,6 +131,7 @@ minio gateway s3 https://s3_compatible_service_endpoint:port
|
||||
```
|
||||
|
||||
## MinIO Caching
|
||||
|
||||
MinIO edge caching allows storing content closer to the applications. Frequently accessed objects are stored in a local disk based cache. Edge caching with MinIO gateway feature allows
|
||||
|
||||
- Dramatic improvements for time to first byte for any object.
|
||||
@@ -127,7 +140,8 @@ MinIO edge caching allows storing content closer to the applications. Frequently
|
||||
Refer [this document](https://docs.min.io/docs/minio-disk-cache-guide.html) to get started with MinIO Caching.
|
||||
|
||||
## MinIO Console
|
||||
MinIO Gateway comes with an embedded web based object browser. Point your web browser to http://127.0.0.1:9000 to ensure that your server has started successfully.
|
||||
|
||||
MinIO Gateway comes with an embedded web based object browser. Point your web browser to <http://127.0.0.1:9000> to ensure that your server has started successfully.
|
||||
|
||||
| Dashboard | Creating a bucket |
|
||||
| ------------- | ------------- |
|
||||
|
||||
Reference in New Issue
Block a user