Shell scripts that can be put in user data for Ubuntu servers run in Amazon EC2