You could change the .awsbox.json postcreate hook to call this. From here, call the other scrips like couchdb-ec2-install.sh, create-users, and the database startup.