def id_to_ec2_id(instance_id, template='i-%08x'):
    return template % instance_id
Convert an instance ID (int) to an ec2 ID (i-[base 16 number])
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/api/ec2/ec2utils.py/id_to_ec2_id