Giter VIP home page Giter VIP logo

perfkit-alicloud's Introduction

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

perfkit-alicloud's People

Contributors

ellerbrock avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.