'How to check if AWS AMI support cloud-init?

In AWS Console when launching an instance with any image I get "user data" field to fill in optionally to be later executed by cloud-init. However, not all images support cloud-init. How do I check if an AWS image supports cloud-init or not? I can see the "user data" field for any image I randomly choose.

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source