Securing code in Amazon EC2

Hi All,

I am facing a problem, regarding code security on EC2.
We have created an AMI which contains our code in it, and need to bind the code to the AMI so that no one can take the code out of the AMI.

Are there some ways to achieve this ???

Not really.

An AMI is a file with permissions like any other file in Unix or Linux.

Use really strong passwords and private keys so no one can hack your box. Set the firewall rules to allow only your specific IP addresses to connect.

Do whatever you'd normally do to prevent hackers from getting into one of your machines and stealing code.