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的内外网设置如下:
公共云下OSS各地域Endpoint如下:

RegionRegion ID外网Endpoint内网Endpoint①
华东1(杭州)oss-cn-hangzhouoss-cn-hangzhou.aliyuncs.comoss-cn-hangzhou-internal.aliyuncs.com
华东2(上海)oss-cn-shanghaioss-cn-shanghai.aliyuncs.comoss-cn-shanghai-internal.aliyuncs.com
华东5(南京-本地地域)oss-cn-nanjingoss-cn-nanjing.aliyuncs.comoss-cn-nanjing-internal.aliyuncs.com
华北1(青岛)oss-cn-qingdaooss-cn-qingdao.aliyuncs.comoss-cn-qingdao-internal.aliyuncs.com
华北2(北京)oss-cn-beijingoss-cn-beijing.aliyuncs.comoss-cn-beijing-internal.aliyuncs.com
华北 3(张家口)oss-cn-zhangjiakouoss-cn-zhangjiakou.aliyuncs.comoss-cn-zhangjiakou-internal.aliyuncs.com
华北5(呼和浩特)oss-cn-huhehaoteoss-cn-huhehaote.aliyuncs.comoss-cn-huhehaote-internal.aliyuncs.com
华北6(乌兰察布)oss-cn-wulanchabuoss-cn-wulanchabu.aliyuncs.comoss-cn-wulanchabu-internal.aliyuncs.com
华南1(深圳)oss-cn-shenzhenoss-cn-shenzhen.aliyuncs.comoss-cn-shenzhen-internal.aliyuncs.com
华南2(河源)oss-cn-heyuanoss-cn-heyuan.aliyuncs.comoss-cn-heyuan-internal.aliyuncs.com
华南3(广州)oss-cn-guangzhouoss-cn-guangzhou.aliyuncs.comoss-cn-guangzhou-internal.aliyuncs.com
西南1(成都)oss-cn-chengduoss-cn-chengdu.aliyuncs.comoss-cn-chengdu-internal.aliyuncs.com
中国香港oss-cn-hongkongoss-cn-hongkong.aliyuncs.comoss-cn-hongkong-internal.aliyuncs.com
美国(硅谷)*oss-us-west-1oss-us-west-1.aliyuncs.comoss-us-west-1-internal.aliyuncs.com
美国(弗吉尼亚)*oss-us-east-1oss-us-east-1.aliyuncs.comoss-us-east-1-internal.aliyuncs.com
日本(东京)*oss-ap-northeast-1oss-ap-northeast-1.aliyuncs.comoss-ap-northeast-1-internal.aliyuncs.com
韩国(首尔)oss-ap-northeast-2oss-ap-northeast-2.aliyuncs.comoss-ap-northeast-2-internal.aliyuncs.com
新加坡*oss-ap-southeast-1oss-ap-southeast-1.aliyuncs.comoss-ap-southeast-1-internal.aliyuncs.com
澳大利亚(悉尼)*oss-ap-southeast-2oss-ap-southeast-2.aliyuncs.comoss-ap-southeast-2-internal.aliyuncs.com
马来西亚(吉隆坡)*oss-ap-southeast-3oss-ap-southeast-3.aliyuncs.comoss-ap-southeast-3-internal.aliyuncs.com
印度尼西亚(雅加达)*oss-ap-southeast-5oss-ap-southeast-5.aliyuncs.comoss-ap-southeast-5-internal.aliyuncs.com
菲律宾(马尼拉)oss-ap-southeast-6oss-ap-southeast-6.aliyuncs.comoss-ap-southeast-6-internal.aliyuncs.com
泰国(曼谷)oss-ap-southeast-7oss-ap-southeast-7.aliyuncs.comoss-ap-southeast-7-internal.aliyuncs.com
印度(孟买)*oss-ap-south-1oss-ap-south-1.aliyuncs.comoss-ap-south-1-internal.aliyuncs.com
德国(法兰克福)*oss-eu-central-1oss-eu-central-1.aliyuncs.comoss-eu-central-1-internal.aliyuncs.com
英国(伦敦)oss-eu-west-1oss-eu-west-1.aliyuncs.comoss-eu-west-1-internal.aliyuncs.com
阿联酋(迪拜)*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 ,不然外网不能访问
另外注意开发环境基本不是在内网,会报错。。