Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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'm not really proficient with Linux administration, just random things. I come up with the situation when i need to have potentially one volume which is accessible from one win box and one *nix box both hosted on amazon ec2.

More specifically I need to setup *nix box with about 1k accounts for SFTP and make files users upload to their home folders accessible the most easy way to windows box. So I suppose mounting *nix volume in windows box is the method I need.

Can you point me to kind of walk-through on this kind of setup or explain me what actions I need to do.

After some Googling I got sense that i need to setup samba on *nix box, correct me if I'm wrong

share|improve this question

migrated from Jan 6 '12 at 11:32

This question came from our site for computer enthusiasts and power users.

I think the best solution would be to use Samba (SMB) on the Linux machine and share that folder with the Windows machine.

I don't know which Linux distribution you use so I can't point you to the right Samba/SMB tutorial but any tutorial showing how to share files via SMB with a Windows machine should work.

The only additional tricks needed in EC2 are:

  • You need to open up the following ports on the security group of the Linux machine () and allow the Windows security group access to those ports.

  • When accessing the Linux machine from Windows you'll need to use the public DNS name of the Linux machine or its internal IP address (you can get both from the AWS Console).

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.