How you can auto start apache and mysql when system boots in "Amazon . com linux AMI" .

Either use the pre-existing Light AMI, it'll have each of them running as service already.

An example is BitNami, you'll find other whenever you fire an ec2 instance.