setup configuration for a new EC2 instance