Skip to content

Benchmarking the startup time of local Docker, Azure Container Instance, and Azure VM

Notifications You must be signed in to change notification settings

janakiramm/aci-bench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Benchmarking startup time for Azure Containers and VMs

Use these scripts to benchmark the startup time of local Docker, Azure Container Instance, and Azure VM. For Docker and ACI, I used the latest Nginx image from Docker Hub. Azure VM uses the pre-configured Bitnami image for Nginx. Both ACI and Azure VM are launched in US West.

An average of running 5 tests gave the following results.

alt text

Please install jq before running these scripts. You also need the latest version of Azure CLI.

The steps include launching the resources, adding a public IP address (only for Azure VM), and accessing the Nginx homepage.

After configuring Azure CLI and cloning the repo, run

chmod +x ./*.sh
./bench.sh

At the end of the execution, you will see the time in seconds to launch each resource. At the end run cleanup.sh to delete all the resources.

About

Benchmarking the startup time of local Docker, Azure Container Instance, and Azure VM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages