def METHOD_NAME(self):
    """
    Tests creating and renaming an instance on EC2 (classic)
    """
    # create the instance
    ret_val = self.run_cloud(
        "-p ec2-test {} --no-deploy".format(self.instance_name), timeout=TIMEOUT
    )
    # check if instance returned
    self.assertInstanceExists(ret_val)
    changed_name = self.instance_name + "-changed"
    rename_result = self.run_cloud(
        "-a rename {} newname={} --assume-yes".format(
            self.instance_name, changed_name
        ),
        timeout=TIMEOUT,
    )
    self.assertFalse(
        self._instance_exists(),
        "Instance wasn't renamed: |\n{}".format(rename_result),
    )
    self.assertInstanceExists(instance_name=changed_name)
    self.assertDestroyInstance(changed_name)