By Eugene S. Chung, Solutions Architect
This article describes how to accelerate Alibaba Cloud Content Delivery Network (CDN) by using the baba-oss-uploader-bin tool. For alternative methods that use the Alibaba Cloud CDN console or the OSS console, see the Attach a CDN acceleration domain name topic in the OSS Console User Guide.
baba-oss-uploader-bin is a handy command line OSS client that you can configure to work with cron, Jenkins, legacy automated release mgmt. tools, and others. It provides a few useful features with strong controls against all changes in Alibaba Cloud SDK.
baba-oss-uploader-bin has the following features:
1. From your command line, download the repository from GitHub.
2. Configure .clientprofile.
3. Run baba-oss-uploader-bin.
Note: After you download the repository, you can find the all-in-one package at build/libs/baba-oss-uploader-all-1.0.jar.
4. Configure .clientprofile by entering the following information:
Note: .clientprofile is located in the current path or your home.
5. Use the tool to upload to OSS by running one of the following commands:
$ java -jar [options] baba-oss-uploader-all-1.0.jar
Or
$ java -cp [options] baba-oss-uploader-all-1.0.jar com.eg.baba.oss.uploader.Main
Example:
$ java -jar baba-oss-uploader-all-1.0.jar –Dupload.file=d:/tmp/000006M.dat
Note:
That's it! You now can now experience fast OSS uploads for large files using CDN.
Docker Container Resource Management: CPU, RAM and IO: Part 1
Docker Container Resource Management: CPU, RAM and IO: Part 2
2,599 posts | 762 followers
FollowAlibaba Clouder - January 15, 2021
Alibaba Clouder - June 23, 2020
Alibaba Clouder - November 10, 2020
Alibaba Clouder - July 29, 2020
Alibaba Clouder - July 27, 2020
Alibaba Clouder - March 17, 2021
2,599 posts | 762 followers
FollowAn encrypted and secure cloud storage service which stores, processes and accesses massive amounts of data from anywhere in the world
Learn MoreA scalable and high-performance content delivery service for accelerated distribution of content to users across the globe
Learn MoreElastic and secure virtual cloud servers to cater all your cloud hosting needs.
Learn MoreMore Posts by Alibaba Clouder