Skip to content

Commit

Permalink
close #962 (#1354)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhr123 authored Jan 28, 2022
1 parent 8f20993 commit 5a5837e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/en/reference/how_to_setup_object_storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,21 @@ $ juicefs format --storage s3 \

Public clouds typically allow users to create IAM (Identity and Access Management) roles, such as [AWS IAM role](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html) or [Alibaba Cloud RAM role](https://www.alibabacloud.com/help/doc-detail/110376.htm), which can be assigned to VM instances. If the cloud server instance already has read and write access to the object storage, there is no need to specify `--access-key` and `--secret-key`.

## Using Proxy

If the network environment where the client is located is affected by firewall policies or other factors that require access to external object storage services through a proxy, the corresponding proxy settings are different for different operating systems, please refer to the corresponding user manual for settings.

On Linux, for example, the proxy can be set by creating `http_proxy` and `https_proxy` environment variables.

```shell
$ export http_proxy=http://localhost:8035/
$ export https_proxy=http://localhost:8035/
$ juicefs format \
--storage s3 \
... \
myjfs
```

## Supported Object Storage

If you wish to use a storage type that is not listed, feel free to submit a requirement [issue](https://github.com/juicedata/juicefs/issues).
Expand Down
15 changes: 15 additions & 0 deletions docs/zh_cn/reference/how_to_setup_object_storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,21 @@ $ juicefs format --storage s3 \

公有云通常允许用户创建 IAM(Identity and Access Management)角色,例如:[AWS IAM 角色](https://docs.aws.amazon.com/zh_cn/IAM/latest/UserGuide/id_roles.html)[阿里云 RAM 角色](https://help.aliyun.com/document_detail/93689.html),可将角色分配给 VM 实例。如果云服务器实例已经拥有读写对象存储的权限,则无需再指定 `--access-key``--secret-key`

## 使用代理

如果客户端所在的网络环境受防火墙策略或其他因素影响需要通过代理访问外部的对象存储服务,使用的操作系统不同,相应的代理设置方法也不同,请参考相应的用户手册进行设置。

以 Linux 为例,可以通过创建 `http_proxy``https_proxy` 环境变量设置代理:

```shell
$ export http_proxy=http://localhost:8035/
$ export https_proxy=http://localhost:8035/
$ juicefs format \
--storage s3 \
... \
myjfs
```

## 支持的存储服务

如果你希望使用的存储类型不在列表中,欢迎提交需求 [issue](https://github.com/juicedata/juicefs/issues)
Expand Down

0 comments on commit 5a5837e

Please sign in to comment.