×
Community Blog The performance of Alibaba Cloud Edge Object Service (EOS) with S3 Tester

The performance of Alibaba Cloud Edge Object Service (EOS) with S3 Tester

This article shows how to test the performance of Alibaba Cloud Edge Object Service (EOS) with S3 Tester

Testing the performance of Alibaba Cloud Edge Object Service (EOS) with S3 Tester

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:

  • Bucket that was created in Alibaba Cloud Edge Object Service (EOS)
  • Workstation that installed S3 Tester (In this lab, I used my Macbook).

Lab guideline:
1) Create bucket EOS in Alibaba Cloud console:
Choose Edge Node Service
Picture1

Choose Collaboration Storage EOS
Picture1

Choose Create Bucket

  • Bucket Name: Type the name that you want
  • Check to Specify nodes
  • Region: Choose vn-hochiminh-1 if you want your bucket in Ho Chi Minh or vn-hanoi-3 if you want your bucket in Ha Noi
  • Access Control List:

    • Private: Read/write needs authenticated by an account or a secret key
    • Public Read: Only write needs authentication
    • Public Read/Write: Both read/write do not need authentication
      Picture1

Your bucket in EOS will be like this:
Picture1

2) Create RAM account with Access Key & Secret Key to manage EOS bucket access:
Choose Access Key Management
Picture1

Choose Go to Cloud Governance for RAM
Picture1

Click Users > Create User
Picture1

In the Create User windows:

  • Login Name: Type your account name
  • Display Name: Type your display name
  • Check OpenAPI Access
  • Click OK
    Picture1

Click Copy to save the Access Key and Secret Key in your new account.
Picture1

Click on your account to go to the property and set permission.

  • Choose Permission
  • Click Grant Permission
  • In the field Select Policy, type ENS. You can choose one of 2 permissions below:

    • AliyunENSReadOnlyAccess
    • AliyunENSFullAccess

In this lab, I chose Full Access
Picture1

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
Picture1

Build s3tester from the source code if you use a Macbook
$ go install github.com/s3tester/s3tester@latest
Picture1

s3tester folder location: ~/go/bin
Picture1

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]
Picture1

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:
Picture1
You can refer s3tester command options in this article https://github.com/s3tester/s3tester

0 2 0
Share on

Alibaba Cloud Vietnam

50 posts | 7 followers

You may also like

Comments