Draft version of the swap script for ec2 instances. Still needs service cycle routines.