How do I deploy Java code on an EC2 instance?
Posted
by
Marianna
on Server Fault
See other posts from Server Fault
or by Marianna
Published on 2012-07-01T01:18:41Z
Indexed on
2012/07/01
9:17 UTC
Read the original article
Hit count: 160
java
I just started with Amazon web services, and I have an EC2 instance. I downloaded the JAVA SDK and the Eclipse toolbox. I am able to run a sample program locally on my PC and connect to the Amazon databases, etc. My question is, what do I need to do to get this working on my EC2 instance? This may not even be specific to AWS. On Eclipse, I can just "Run as Application" and run any code. On the server side, what do I need to do? Should I ftp over my .java files? Should I export it to a jar and upload that? Do I need to install anything special to actually run it?
© Server Fault or respective owner