aci-demos
aci-demos copied to clipboard
add cost analysis
algorithm: container instances x = number of container instances s = seconds the container is running the job
$$ costs to run instances = x * .0025 + 2(s * .0000125) or 1 core, 1.5 gb of mem running for 120 seconds is $0.01
D2 v2 VM instance 2 cores 7GB of RAM starting a 4th agent instance in ACS is $0.16
Result: there is a 93.75% decrease for using a container instance versus adding another ACS agent into your cluster