If it is only deploying, you can find someone from the Amazon Web service developers forum, who will be more accustomed with the environment, as AWS is a bit tricky than normal servers.
I solved it in the end. The solution was fusing it with Boxfuse. I would have needed only the deployment since the application worked well locally. Boxfuse was very helpful in this case as it is supposed to do the same thing. I would advise people with similar issues to consider their Firewall configuration too. Maybe, the application is deployed well onto AWS, you just cannot access it on port 8080 for instance due to firewall settings.