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

I think the problem in your code is that you are passing user-data which is a base-64 encoded version of the file name instead of the file contents.
  • Comment on Re: Net::Amazon::EC2 loses pound-shebang when base64'd