Skip to content

Instantly share code, notes, and snippets.

@d3ming
d3ming / docker-machine-recreate.md
Last active March 22, 2016 00:18
docker-machine recreate with larger disk space

Recreate default docker-machine with 100GB disk size

docker-machine -D create -d virtualbox --virtualbox-disk-size "100000" default

Save on AWS cost!

Some notes from AWS REInvent

Low hanging fruits:

  • Kill dev/test instances regularly (elastic instances)
  • Re-evaluate instance type regularly
  • Use reserved instances

Further optimizations

  • Spot instances + autoscaling

Some notes from REInvent...

Common architecture

  • Lambda + API gateway + DynamoDB

Libraries and frameworks

  • serverless stdlib
  • zappa
  • serverless