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
$ java -jar baba-oss-uploader-all-1.0.jar –Dupload.file=d:/tmp/000006M.dat
That's it! You now can now experience fast OSS uploads for large files using CDN.
Alibaba Clouder - March 13, 2019
Alibaba Clouder - December 15, 2017
Alibaba Clouder - January 18, 2019
Alibaba Clouder - December 21, 2017
Alibaba Clouder - December 29, 2017
Alibaba Clouder - November 22, 2017
An encrypted and secure cloud storage service which stores, processes and accesses massive amounts of data from anywhere in the worldLearn More
A scalable and high-performance content delivery service for accelerated distribution of content to users across the globeLearn More
An online computing service that offers elastic and secure virtual cloud servers to cater all your cloud hosting needs.Learn More
More Posts by Alibaba Clouder