Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Me and my company intend to start using ec2 for distributing some cpu-intensive pieces code, involving a few 10s of gb of data, however I have some concern about the protection of the intellectual property which the code holds (and to a much lesser degree the data too).

At least for the code, I figured I could go several ways at this:

  1. Create an ami with an encrypted filesystem inside, then launch many instances out of it.
  2. Same thing just with EBS filesystem (not sure if i can even do this with many instances)
  3. Create the filesystem on s3 and mount it from there by s3fs

Which way is preferable? (important note - the code and data are not supposed to change so i have not problem mounting things as read only)

share|improve this question
    
Amazon's not going to steal your intellectual property. –  ceejayoz Aug 14 '12 at 15:58
    
well, thats like... your opinion man :). the threat is more like a rogue employee there or hacker. anyways its not really an option for me. –  itai Aug 15 '12 at 7:20
1  
@itai: Be sure you know what you are protecting yourself against. Drive encryption helps against somebody mounting your drive somewhere else. Certainly not against non-amazon hackers. And certainly not against Amazon rogue employees who can access your system while mounted. It would protect against someone physically taking the disk and mounting it in their own computer - except that isn't possible with EC2 as there is no physical disk. So the only protection you'd get is against a rogue employee who can't login to your instance but can mount the EBS volume - no idea whether that exists. –  Cookie Nov 30 '12 at 8:43
add comment

3 Answers 3

I suggest doing some test with s3fs and other tools you could use to browse the s3 buckets. In my test s3fs vs s3 explorer in the aws console, the s3fs folders and stuff were not correctly displayed. s3cmd vs s3fs : same problem s3cmd vs s3 explorer in the console : no prob.

Since I do synchronisation for back I went with s3cmd

/my 2 cents

share|improve this answer
add comment

If you want to share the filesystem between instances, option 2 is out because you can't do that with EBS. Option 1 is preferable in terms of the performance you get (local filesystem), but option 3 would be more convenient (less setup).

In particular, you could layer something like encfs on top of s3fs. Note that if you're really paranoid about this, you'll have to go with option 1 because you would presumably want everything encrypted, in particular swap.

share|improve this answer
    
I was thinking about the setup as well... How bad will the performance be using s3? (if its through http obv. it would be a few orders of magnitude slower, but maybe there's another option?) –  itai Aug 15 '12 at 7:27
    
If you want no unencrypted data touching the disk, then you won't be able to do any caching, i.e. everything is pulled directly from s3. If the bandwidth you need is higher than the bandwidth to s3 (roughly like a 100MBit network interface in my experience), then performance will suffer. –  Lars Kotthoff Aug 15 '12 at 8:10
add comment

If your application can be tweaked to talked to S3 directly, S3 can manage encryption/decryption transparently, see this -- http://aws.typepad.com/aws/2011/10/new-amazon-s3-server-side-encryption.html and here -- http://aws.amazon.com/s3/faqs/#What_options_do_I_have_for_encrypting_data_stored_on_Amazon_S3

s3fs should also work 'transparently' but I could be wrong.

share|improve this answer
    
Thanks. I'll look into it –  itai Aug 15 '12 at 7:23
add comment

Your Answer

 
discard

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.