By Dang Minh Tam, Alibaba Cloud Solutions Architect of Vietnam
S3 Tester is an open-source application that was developed based on Go and provides a function to test the performance of online storage that supports AWS S3 Compatibility. The detailed information and source code of S3 Tester are here https://github.com/s3tester/s3tester
Lab requirements:
Lab guideline:
1) Create bucket EOS in Alibaba Cloud console:
Choose Edge Node Service
Choose Collaboration Storage EOS
Choose Create Bucket
Access Control List:
Your bucket in EOS will be like this:
2) Create RAM account with Access Key & Secret Key to manage EOS bucket access:
Choose Access Key Management
Choose Go to Cloud Governance for RAM
Click Users > Create User
In the Create User windows:
Click Copy to save the Access Key and Secret Key in your new account.
Click on your account to go to the property and set permission.
In the field Select Policy, type ENS. You can choose one of 2 permissions below:
In this lab, I chose Full Access
3) Install S3 Tester in your workstation following this article https://github.com/s3tester/s3tester
Install Go version 1.7 or upper https://go.dev/doc/install
Build s3tester from the source code if you use a Macbook
$ go install github.com/s3tester/s3tester@latest
s3tester folder location: ~/go/bin
Go to the folder ~/go/bin and start to use s3tester to test EOS performance:
$ export AWS_SECRET_ACCESS_KEY=[your secret key]
$ export AWS_ACCESS_KEY_ID=[your access key]
$ ./s3tester -concurrency=50 -operation=put -size=400000 -requests=100000 -endpoint="https://[your bucket name].eos.aliyuncs.com" -prefix =[your file prefix] -bucket=[your bucket name]
For multi-access key, you can create a profile following the article https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html
The result:
You can refer s3tester command options in this article https://github.com/s3tester/s3tester
Kiểm tra hiệu suất của Alibaba Cloud Edge Object Service (EOS) với S3 Tester
50 posts | 7 followers
FollowAlibaba Cloud Vietnam - August 30, 2023
Alibaba Cloud Vietnam - October 6, 2023
Alibaba Cloud Vietnam - October 6, 2023
Alibaba Cloud Community - September 1, 2023
Alibaba Cloud Vietnam - October 27, 2023
Alibaba Cloud Vietnam - June 6, 2024
50 posts | 7 followers
FollowA database engine fully compatible with Apache Cassandra with enterprise-level SLA assurance.
Learn MoreMore Posts by Alibaba Cloud Vietnam