Make things work well on EC2 instances.