> When we create a temp instance, we need a key pair name and security group name. Should we hardcode it or read it from config file? > My solution: Define a unique keypair name. Before you create an instance, check if it exists. If no, create one named with this unique name, otherwise, do nothing. Best Regards, Xiakun Lu