OSS客户端

OSS客户端下载地址:https://help.aliyun.com/document_detail/61872.html
阿里云OSS客户端:http://gosspublic.alicdn.com/oss-browser/1.9.1/oss-browser-win32-x64.zip

OSS开通Region和Endpoint对照表

经典网络情况下各地域Endpoint的内外网设置如下:

Region中文名称Region英文表示外网Endpoint传输加速EndpointECS访问的内网Endpoint支持HTTPS
华东 1(杭州)oss-cn-hangzhouoss-cn-hangzhou.aliyuncs.comoss-accelerate.aliyuncs.comoss-cn-hangzhou-internal.aliyuncs.com
华东 2(上海)oss-cn-shanghaioss-cn-shanghai.aliyuncs.comoss-accelerate.aliyuncs.comoss-cn-shanghai-internal.aliyuncs.com
华北 1(青岛)oss-cn-qingdaooss-cn-qingdao.aliyuncs.comoss-accelerate.aliyuncs.comoss-cn-qingdao-internal.aliyuncs.com
华北 2(北京)oss-cn-beijingoss-cn-beijing.aliyuncs.comoss-accelerate.aliyuncs.comoss-cn-beijing-internal.aliyuncs.com
华北 3(张家口)oss-cn-zhangjiakouoss-cn-zhangjiakou.aliyuncs.comoss-accelerate.aliyuncs.comoss-cn-zhangjiakou-internal.aliyuncs.com
华北 5(呼和浩特)oss-cn-huhehaoteoss-cn-huhehaote.aliyuncs.comoss-accelerate.aliyuncs.comoss-cn-huhehaote-internal.aliyuncs.com
华南 1(深圳)oss-cn-shenzhenoss-cn-shenzhen.aliyuncs.comoss-accelerate.aliyuncs.comoss-cn-shenzhen-internal.aliyuncs.com
西南 1(成都)oss-cn-chengduoss-cn-chengdu.aliyuncs.comoss-accelerate.aliyuncs.comoss-cn-chengdu-internal.aliyuncs.com
中国(香港)oss-cn-hongkongoss-cn-hongkong.aliyuncs.comoss-accelerate.aliyuncs.comoss-cn-hongkong-internal.aliyuncs.com
美国西部 1 (硅谷)oss-us-west-1oss-us-west-1.aliyuncs.comoss-accelerate.aliyuncs.comoss-us-west-1-internal.aliyuncs.com
美国东部 1 (弗吉尼亚)oss-us-east-1oss-us-east-1.aliyuncs.comoss-accelerate.aliyuncs.comoss-us-east-1-internal.aliyuncs.com
亚太东南 1 (新加坡)oss-ap-southeast-1oss-ap-southeast-1.aliyuncs.comoss-accelerate.aliyuncs.comoss-ap-southeast-1-internal.aliyuncs.com
亚太东南 2 (悉尼)oss-ap-southeast-2oss-ap-southeast-2.aliyuncs.comoss-accelerate.aliyuncs.comoss-ap-southeast-2-internal.aliyuncs.com
亚太东南 3 (吉隆坡)oss-ap-southeast-3oss-ap-southeast-3.aliyuncs.comoss-accelerate.aliyuncs.comoss-ap-southeast-3-internal.aliyuncs.com
亚太东南 5 (雅加达)oss-ap-southeast-5oss-ap-southeast-5.aliyuncs.comoss-accelerate.aliyuncs.comoss-ap-southeast-5-internal.aliyuncs.com
亚太东北 1 (日本)oss-ap-northeast-1oss-ap-northeast-1.aliyuncs.comoss-accelerate.aliyuncs.comoss-ap-northeast-1-internal.aliyuncs.com
亚太南部 1 (孟买)oss-ap-south-1oss-ap-south-1.aliyuncs.comoss-ap-south-1-internal.aliyuncs.com
欧洲中部 1 (法兰克福)oss-eu-central-1oss-eu-central-1.aliyuncs.comoss-accelerate.aliyuncs.comoss-eu-central-1-internal.aliyuncs.com
英国(伦敦)oss-eu-west-1oss-eu-west-1.aliyuncs.comoss-accelerate.aliyuncs.comoss-eu-west-1-internal.aliyuncs.com
中东东部 1 (迪拜)oss-me-east-1oss-me-east-1.aliyuncs.comoss-me-east-1-internal.aliyuncs.com

阿里云OSS 使用内网地址上传文件

使用阿里云上传几十MB的文件发现很慢,还可能出现 504 错误
使用OSS内网地址
之前地址为
oss-cn-shenzhen.aliyuncs.com
这个是外网地址,上传比较慢
换成
oss-cn-shenzhen-internal.aliyuncs.com
后上传速度立刻变快。
但是返回的地址 要去掉  -internal ,不然外网不能访问
另外注意开发环境基本不是在内网,会报错。。