AWS Autoscaling AMI Spot instances

Hi All,

Is it possible to use the Autoscaling AMI with the possibility to use spot instances for costs savings? I can find a lot of settings about the spot instances but nothing specific related to the specific AMI.

Nevermind. I found out that it is possible to start a spot request and pass the userdata in it. this works fine.