Adds initialization for EC2 instances.