Skip to content

ellerbrock/perfkit-alicloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alibaba cloud

perfkit-alicloud

Docker Automated Build Docker Pulls Open Source Love Gitter Chat

What's inside?

Google's PerfKitBenchmarker configured and ready to run for the Alibaba Cloud.

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 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 bash

MACHINE_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 today and get $300 valid for the first 60 days to try Alibaba Cloud.

Contact

GithubDockernpmTwitterFacebookGoogle+Gitter