parse multi dot-separated argument into dict. EBS boot uses multi dot-separeted arguments like BlockDeviceMapping.1.DeviceName=snap-id Convert the above into {‘block_device_mapping’: {‘1’: {‘device_name’: snap-id}}}
Convert an ec2 ID (i-[base 16 number]) to an instance id (int)
Convert an instance ID (int) to an ec2 ID (i-[base 16 number])
Convert an snapshot ID (int) to an ec2 snapshot ID (snap-[base 16 number])
Convert an volume ID (int) to an ec2 volume ID (vol-[base 16 number])