Complete S3 setup · Aliyun OSS

Aliyun OSS Setup Guide

Create an OSS bucket, RAM-scoped keys, CORS, and ShrimpSend settings.

When to use Aliyun OSS

  • Payloads should live on Alibaba Cloud OSS.
  • Primary access from mainland China networks.

Prerequisites

  1. OSS console.
  2. OSS enabled; pick a region (e.g. Hangzhou oss-cn-hangzhou).

Create bucket

  1. Bucket List → Create Bucket; unique name; Private ACL.
Create OSS bucket
Create OSS bucket

Copy public endpoint from overview:

https://oss-cn-hangzhou.aliyuncs.com

Access keys

  1. RAM → Users → Create with OpenAPI access.
  2. Custom policy on one bucket only (Put/Get/Delete + multipart actions).
RAM user and AccessKey
RAM user and AccessKey

CORS

Bucket → Permissions → Cross-Origin → Create rule:

  • Origins: https://xiachuan.net, https://www.xiachuan.net
  • Methods: GET, PUT, POST, DELETE, HEAD
  • Headers: *; Expose: ETag; Max-Age: 86400
OSS CORS
OSS CORS

ShrimpSend settings

FieldExample
Endpointhttps://oss-cn-hangzhou.aliyuncs.com
Regionoss-cn-hangzhou
Bucketyour bucket name
Path-styleOff
OSS endpoint
OSS endpoint
ShrimpSend form
ShrimpSend form

Test & FAQ

Use Test connection; verify cross-network upload. Browser uploads need public endpoint unless same VPC with internal domain.