Aliyun Object Storage Service#
Lithops with Aliyun Object Storage Service as storage backend.
Installation#
Install Alibaba Cloud backend dependencies:
python3 -m pip install lithops[aliyun]
Configuration#
Navigate to the Cloud Console and create a new AccessKey (If you don’t have one)
Edit your lithops config and add the following keys:
lithops:
storage: aliyun_oss
aliyun:
account_id: <ACCOUNT_ID>
access_key_id: <ACCESS_KEY_ID>
access_key_secret: <ACCESS_KEY_SECRET>
region : <REGION_NAME>
Summary of configuration keys for Aliyun#
Group |
Key |
Default |
Mandatory |
Additional info |
---|---|---|---|---|
aliyun |
account_id |
yes |
Alibaba Cloud Account ID |
|
aliyun |
access_key_id |
yes |
Access Key Id |
|
aliyun |
access_key_secret |
yes |
Access Key Secret |
|
aliyun |
region |
yes |
Region name. For example: |
Summary of configuration keys for Aliyun Object Storage Service:#
Group |
Key |
Default |
Mandatory |
Additional info |
---|---|---|---|---|
aliyun_oss |
region |
no |
Region Name from here. Omit the |
|
aliyun_oss |
storage_bucket |
no |
The name of a bucket that exists in you account. This will be used by Lithops for intermediate data. Lithops will automatically create a new one if it is not provided |