Here are the quick steps to install the Adobe AEM 5.6 (aka CQ 5.6) authoring instance on Amazon linux instance.
Connect to AWS server
Connect to the server using Putty or similar software and navigate to the directory where you want to install your AEM instance. If the CQ jar and license properties file are not already available on the server, upload the files now.
Install Java 1.7
AEM 5.6.x required Java 1.7. Verify if the machine has the right version of Java
If Java 1.7 is not available, you can install it using the following command
sudo yum install java-1.7.0-openjdk
Once the Java is install, configure it as a default version of Java for your instance:
sudo alternatives --config java
This will show all the version of Java on your instance, so choose Java 1.7.
Install the CQ jar file
Use the following command to install CQ Jar file:
$java -XX:MaxPermSize=512m -Xmx2048M -jar cq-author-4502.jar
Update the start script so it preserves the memory setting when you restart CQ next time
Change the CQ_JVM_OPTS variable value to:
CQ_JVM_OPTS='-server -Xmx2048m -XX:MaxPermSize=512M'
Press ‘Esc’ and than type :wq to save the file.
Once the start script is updated, start the CQ server
Keep an eye on the standard output while CQ is starting up. You can tail the output using:
$tail -f /crx-quickstart/logs/stdout.log
Check the error logs: /crx-quickstart/logs/error.log
It will take few minutes for CQ to come up.You can access the authoring console using http://localhost:4502/
Update: Make sure that you have updated the security group to allow inbound traffic to port 4502 else you will not be able to access CQ Administration console.
If you have any questions, add them to the comments and I will respond as soon as I can.