def METHOD_NAME(self, profile, debug):
    """
    Tests creating and deleting an instance on EC2 (classic)
    """
    # create the instance
    cmd = ["-p", profile]
    if debug:
        cmd.extend(["-l", "debug"])
    cmd.append(self.instance_name)
    ret_val = self.run_cloud(" ".join(cmd), timeout=TIMEOUT)
    # check if instance returned with salt installed
    self.assertInstanceExists(ret_val)
    ipv6Address_present = False
    for each in ret_val:
        if "ipv6Address:" in each:
            ipv6Address_present = True
    assert ipv6Address_present
    self.assertDestroyInstance()