https://github.com/ellerbrock/perfkit-alicloud
:mahjong: PerfKit Benchmarker for Alibaba Cloud Dockerized
https://github.com/ellerbrock/perfkit-alicloud
alibaba-cloud alibabacloud alicloud aliyun aliyun-oss aliyuncli benchmark benchmark-framework benchmarking benchmarking-suite dcos perfkit perfkitbenchmarker
Last synced: about 1 month ago
JSON representation
:mahjong: PerfKit Benchmarker for Alibaba Cloud Dockerized
- Host: GitHub
- URL: https://github.com/ellerbrock/perfkit-alicloud
- Owner: ellerbrock
- License: mit
- Created: 2018-01-16T07:58:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-16T09:10:11.000Z (over 7 years ago)
- Last Synced: 2025-01-26T06:41:19.500Z (3 months ago)
- Topics: alibaba-cloud, alibabacloud, alicloud, aliyun, aliyun-oss, aliyuncli, benchmark, benchmark-framework, benchmarking, benchmarking-suite, dcos, perfkit, perfkitbenchmarker
- Language: Shell
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README

# perfkit-alicloud
[](https://hub.docker.com/r/ellerbrock/perfkit-alicloud/) [](https://hub.docker.com/r/ellerbrock/perfkit-alicloud/) [](https://github.com/ellerbrock/open-source-badges/) [](https://gitter.im/frapsoft/frapsoft/)
## What's inside?
Google's [PerfKitBenchmarker](https://github.com/GoogleCloudPlatform/PerfKitBenchmarker) configured and ready to run for the [Alibaba Cloud](https://www.alibabacloud.com/).
## Why a Container?
I had some weird problems on Mac having multiple Python version installed and wasted quite some time to figure out what was going on since I'm not a Python Developer.
The current setup for the AliCloud Provider did not work for me so i made the decision to fix it and build it in a way other can use it.
## How to use?
I assume you have the [aliyun-cli](https://github.com/aliyun/aliyun-cli) tools installed and configured for the current running user.
In the first release i map `${HOME}/.aliyuncli` inside the container to run without passing any credentials.
Here how to run a quick test with `iperf`:
```
docker run \
-it \
-v "${HOME}/.aliyuncli:/home/perfkit/.aliyuncli:ro" \
ellerbrock/perfkit-alicloud \
--cloud=AliCloud \
--machine_type=ecs.sn1.medium \
--zones=eu-central-1a \
--benchmarks=iperf
```In the repository you can find a `run.sh` where i made machine type, zone and benchmark variable:
```
#!/usr/bin/env bashMACHINE_TYPE="ecs.sn1.medium"
ZONE="eu-central-1a"
BENCHMARKS="iperf"function main() {
docker run \
-it \
-v "${HOME}/.aliyuncli:/home/perfkit/.aliyuncli:ro" \
ellerbrock/perfkit-alicloud \
--cloud=AliCloud \
--machine_type=${MACHINE_TYPE} \
--zones=${ZONE} \
--benchmarks=${BENCHMARKS}
}main
```## Info
I'm currently developing on this project and will make further optimization.
So stay tuned and check for new releases ...## Try Alibaba Cloud
[Sign up](http://ow.ly/YKQe30hHgp8) today and get $300 valid for the first 60 days to try Alibaba Cloud.
## Contact
[](https://github.com/ellerbrock/)[](https://hub.docker.com/u/ellerbrock/)[](https://www.npmjs.com/~ellerbrock)[](https://twitter.com/frapsoft/)[](https://www.facebook.com/frapsoft/)[](https://plus.google.com/116540931335841862774)[](https://gitter.im/frapsoft/frapsoft/)