Added code and test for boostrapping AWS instances