http://qs1969.pair.com?node_id=799628


in reply to Re: Net::Amazon::EC2 loses pound-shebang when base64'd
in thread Net::Amazon::EC2 loses pound-shebang when base64'd

I doubt this new problem is related to the user-data.

AWS generally expects you to retry your API call when you get a 500 error.

If you keep getting them, then something is generally more seriously wrong and you should wait a while before trying again.

If you can consistently reproduce a 500 error when calling it with "X" while getting success calling it with "Y", then you may have found a bug.

I'd recommend seeking help on the EC2 forum as this no longer looks like a Perl issue:

http://ec2forum.notlong.com