Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have configured a Ubuntu instance in EC2 and have got it running. I am also able to use the ssh command and login into that machine.

What would be the procedure to copy files (e.g. jboss application server, MySQL 5.5 server) into the EC2 instance. How can I access the jboss server instance URL which is running on the EC2 instance (Is it http://<remoteec2-instance:port/myapp).

share|improve this question

migrated from Feb 9 '11 at 8:05

This question came from our site for professional and enthusiast programmers.

up vote 5 down vote accepted

You typically install server software like that using a package manager. In Ubuntu, the package manager is apt.


sudo apt-get install mysql-server

As for copying files in general, there are a million ways to copy files from one computer (yours) to another (the EC2 instance):

  • FTP
  • SFTP
  • SCP
  • Rsync
  • Put them in a source control repo and checkout/clone the rep
  • Wget them from a URL

...etc. Aside from possibly opening ports in your EC2 security group settings, nothing you do with this server will be different than if you installed Ubuntu on a computer in your own home. So you don't need to include "on EC2" in your questions/searches. Just read Ubuntu and general Linux documentation and tutorials.

share|improve this answer

In addition to the answer by Dan, if you need to copy files from your local machine, I'd suggest Cyberduck - gives you easy, secure file transfer (with no need for opening extra ports in your Security Group).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.