Docker container that runs on Azure blob using Alpine Linux with Azure Python SDK to put a load on Azure Storage to see the download times. The timings are saved to an Azure Storage Table. It is up to you to download and analyze.
- Create an Azure Storage Account
- Create an Azure Batch Account
- Create some different sized blobs and place in your storage account (or use https://www.thinkbroadband.com/download)
- Test the Python code locally
- Build the Docker image
- Upload image to a repository
- Edit the Shipward config files
- Issue the below commands to run the process. You will need to change /home/shipyarduser/pythonblob to where the shipyard config files reside on your disk.
sudo docker pull alfpark/batch-shipyard:cli-latest
sudo docker run --rm -it -v /home/shipyarduser/pythonblob:/configs -e SHIPYARD_CONFIGDIR=/configs alfpark/batch-shipyard:cli-latest pool add
sudo docker run --rm -it -v /home/shipyarduser/pythonblob:/configs -e SHIPYARD_CONFIGDIR=/configs alfpark/batch-shipyard:cli-latest jobs add --tail stdout.txt
sudo docker run --rm -it -v /home/shipyarduser/pythonblob:/configs -e SHIPYARD_CONFIGDIR=/configs alfpark/batch-shipyard:cli-latest pool del