how to create a working AWS image