News for hackers. Stuff that matters.
Re:Mapping an EC2 Instance to a Local Drive on OSX by chow on Wednesday September 14, 2011 @03:34PM (#2997547)
Nothing revolutionary or EC2-specific here. The article could well be titled "Mounting an SSH host on OS X using OSXFuse".
Re:Mapping an EC2 Instance to a Local Drive on OSX by ajross on Wednesday September 14, 2011 @04:35PM (#2997772)
Apparently sshfs is news enough in the Mac community that it seems like a Cool Trick instead of a standard tool.
Re:Mapping an EC2 Instance to a Local Drive on OSX by falicon on Wednesday September 14, 2011 @05:21PM (#2997921)
fair point...
Re:Mapping an EC2 Instance to a Local Drive on OSX by pagekalisedown on Wednesday September 14, 2011 @12:22PM (#2996806)
I would really recommend against using MacFUSE if you're not using Lion. I've had MacFUSE hang my system on a daily basis until I figured out the problem.
Re:Mapping an EC2 Instance to a Local Drive on OSX by hemancuso on Wednesday September 14, 2011 @01:24PM (#2997070)
I recommend using ExpanDrive [I write it] - it works great on Lion and does some aggressive caching to make this a much more usable solution.
Re:Mapping an EC2 Instance to a Local Drive on OSX by sneak on Wednesday September 14, 2011 @01:57PM (#2997219)
As a paid ExpanDrive user, I second this. It's good software.
Re:Mapping an EC2 Instance to a Local Drive on OSX by mlacitation on Wednesday September 14, 2011 @12:40PM (#2996882)
What was the problem?

I use MacFuse on Snow Leopard daily at work and home and the worst I've ever seen was TextMate move slow when I woke from sleep (and the drive wasn't mounted)

Re:Mapping an EC2 Instance to a Local Drive on OSX by pagekalisedown on Wednesday September 14, 2011 @12:45PM (#2996912)
Building code, doing a "find .", any type of disk-heavy operation was like playing russian roulette.
Re:Mapping an EC2 Instance to a Local Drive on OSX by mlacitation on Wednesday September 14, 2011 @01:03PM (#2996990)
This warning is much clearer (and useful). I completely agree -- disk-heavy moves can be painful.

On that note, if you're using TextMate with MacFusion/SSHFS, you'll want to get the ReMate plugin. It disables refresh on regaining focus for TextMate: http://ciaranwal.sh/remate/. No more beachball when you bounce over to the browser for a second :)

Re:Mapping an EC2 Instance to a Local Drive on OSX by falicon on Wednesday September 14, 2011 @01:39PM (#2997134)
Yeah - I had lots of troubles with MacFUSE in the past as well...so far (only a couple of days really) I've had no problems with OSXFuse though.
Re:Mapping an EC2 Instance to a Local Drive on OSX by zmitri on Wednesday September 14, 2011 @12:36PM (#2996864)
Cool. I've been testing out an app called ExpandDrive which does something similar but it hangs like crazy if network bandwidth goes up.
Re:Mapping an EC2 Instance to a Local Drive on OSX by derekorgan on Wednesday September 14, 2011 @01:57PM (#2997216)
You can also use Transmit to do this.
Re:Mapping an EC2 Instance to a Local Drive on OSX by zmitri on Tuesday September 27, 2011 @11:13AM (#3043567)
ps. Started using Transmit and ReMate plugin and everything runs much more smoothly. Thanks for the advice.
Re:Mapping an EC2 Instance to a Local Drive on OSX by guelo on Wednesday September 14, 2011 @05:44PM (#2997984)
For Windows there is Dokan, a library similar to FUSE in Linux. There is an implementation of SSHFS for windows which works pretty well. http://dokan-dev.net/en
Re:Mapping an EC2 Instance to a Local Drive on OSX by emehrkay on Wednesday September 14, 2011 @02:45PM (#2997393)
Re:Mapping an EC2 Instance to a Local Drive on OSX by hemancuso on Wednesday September 14, 2011 @03:21PM (#2997498)
You can also do this on Windows with ExpanDrive [http://www.expandrive.com]
Re:Mapping an EC2 Instance to a Local Drive on OSX by simonhamp on Wednesday September 14, 2011 @05:35PM (#2997953)
Transmit
Re:Mapping an EC2 Instance to a Local Drive on OSX by yesbabyyes on Wednesday September 14, 2011 @02:08PM (#2997268)
Is this over ssh? Couldn't you use s3fs for this?
Re:Mapping an EC2 Instance to a Local Drive on OSX by falicon on Wednesday September 14, 2011 @02:22PM (#2997316)
I think s3fs is more for mounting a S3 bucket as a drive...what I wanted to do was access the files on my EC2 instance as local files (EC2 is basically like a remote computer, S3 is just remote storage).

That being said, you might be able to use s3fs to accomplish the same thing...I just wrote this up because it's the solution that I use...could be (probably is) better ways to accomplish this...

Re:Mapping an EC2 Instance to a Local Drive on OSX by yesbabyyes on Thursday September 15, 2011 @03:30AM (#2999184)
Sorry, my bad. I got ec2 and s3 all mixed up. Thanks for clarifying!
Re:Mapping an EC2 Instance to a Local Drive on OSX by Titanous on Wednesday September 14, 2011 @02:04PM (#2997248)
Why not just use rsync or scp?
Re:Mapping an EC2 Instance to a Local Drive on OSX by falicon on Wednesday September 14, 2011 @02:24PM (#2997324)
I didn't find any Mac clients that I liked for either of these approaches...and what I wanted was a really simple way to be able to edit files on my EC2 instance using TextMate...this solution works really well for me to do just that (though there could be much better ways to accomplish this that I just didn't bother to research/figure out).
Re:Mapping an EC2 Instance to a Local Drive on OSX by ConstantineXVI on Wednesday September 14, 2011 @02:32PM (#2997345)
I use Cyberduck[1] for that; just hit Edit and it opens up the file in your editor, syncs back when you save.

[1] http://cyberduck.ch/

Re:Mapping an EC2 Instance to a Local Drive on OSX by falicon on Wednesday September 14, 2011 @02:51PM (#2997414)
I've used CyberDuck in the past too...of the SFTP options, I liked it the best.

With this mapping option, I can drop down to Terminal app...move to the directory, and then mate * to open a whole project within TextMate (great for searching all files in a project and other little things)...and I can also do other comand line like things, but semi-locally...so just a bit more powerful for my personal use cases is all.