Results 1 to 13 of 13
  1. #1

    Post How to sell disk space to users?

    My website runs on a dedicated server, and our premium membership allows members to store content in our server. I am trying to find a scalable solution that allow allocating disk space, for example, in the cloud, so i don't run out of my server disk space.

    Please share your inputs on how this can be accomplished?

  2. #2
    Join Date
    Aug 2011
    Posts
    119
    I suppose the easiest way would be to give your premium members FTP accounts on your server with whatever disk space quota you want. Otherwise you could look for a file sharing script somewhere and use that.

  3. #3
    Join Date
    Jun 2010
    Location
    London, United Kingdom.
    Posts
    56
    I use Amazon S3 for file storage and so for every file which is uploaded via the website I take the file size (saved in bytes), put that to the database and then upload it to S3. Then when the user deleted the file, I tell S3 to delete the file and then subtract the file size from their total.

    As for capping the user, have 'packages' or what ever you need and a simple if else statement will decide whether the file should be stored in the cloud or ignored due to them going past their storage quota.

  4. #4
    Quote Originally Posted by PatrickMS View Post
    I use Amazon S3 for file storage and so for every file which is uploaded via the website I take the file size (saved in bytes), put that to the database and then upload it to S3. Then when the user deleted the file, I tell S3 to delete the file and then subtract the file size from their total.

    As for capping the user, have 'packages' or what ever you need and a simple if else statement will decide whether the file should be stored in the cloud or ignored due to them going past their storage quota.
    That sounds good. Did you mount your Amazon S3 bucket to your local server or using the API?

    http://code.google.com/p/s3fs/wiki/FuseOverAmazon

    Thanks!

  5. #5
    Join Date
    Jun 2010
    Location
    London, United Kingdom.
    Posts
    56
    From what I hear the EC2 micro servers aren't especially good, so we're running on a VPS and using the API. I think when we get around the ~1.5GB ram area I'll consider swapping over to EC2.

  6. #6

  7. #7
    Join Date
    Mar 2012
    Posts
    73
    I suggest you can consider a private cloud solution and store all data on a SAN. You can signup with any cloud storage provider and store your data.
    Auto-scale and Integrated billing system cloud servers @ Bodhost

  8. #8
    Quote Originally Posted by PatrickMS View Post
    I use Amazon S3 for file storage and so for every file which is uploaded via the website I take the file size (saved in bytes), put that to the database and then upload it to S3. Then when the user deleted the file, I tell S3 to delete the file and then subtract the file size from their total.
    When a user wants to download that file, you have to pay S3 bandwidth, right? Presumably you add the bandwidth to the user's bill?

    I think storage into S3 is free, but when the file comes out, it's a per-GB charge ($.10/GB or thereabouts).
    My advice and reviews of VPS providers based on my personal experience: VPSadvice.com

  9. #9
    Join Date
    Apr 2009
    Location
    New York City
    Posts
    4,369
    I would do this two ways , one by giving out ftp accounts to premium members or get a file upload script and give them access to the script.

    You can switch to a bigger server or upgrade or go into cloud web hosting and then it would be much easier to upgrade or add more disk space to your account.

  10. #10
    Join Date
    Jun 2010
    Location
    London, United Kingdom.
    Posts
    56
    Quote Originally Posted by raindog308 View Post
    When a user wants to download that file, you have to pay S3 bandwidth, right? Presumably you add the bandwidth to the user's bill?

    I think storage into S3 is free, but when the file comes out, it's a per-GB charge ($.10/GB or thereabouts).
    I believe so, but don't take my word for it. And yes, you have to pay for the S3 file download bandwidth, last I saw it was $0.125/GB, though their calculator says $0.13 so I'm assuming that they're rounding up (http://calculator.s3.amazonaws.com/calc5.html)

    If your premium users are already paying, then is $0.125 really that much? If cost seems an issue, I know that Rackspace Cloud Files is a tiny bit cheaper, somewhere around the $0.11 mark.

  11. #11
    One minor advantage is that Rackspace doesn't charge a per-I/O-operation fee. Not a big deal if you don't do a lot of I/O ops, but if you were rsyncing huge trees or something, it could add up.
    My advice and reviews of VPS providers based on my personal experience: VPSadvice.com

  12. #12
    Join Date
    Feb 2012
    Location
    /usr/local/games/vanixhos
    Posts
    16
    you could do a vps then ftp and do like the other guy said using the ftp quota or use disk manager and ftp and split a drive just for you clients

  13. #13
    Join Date
    Jan 2011
    Location
    UK
    Posts
    776
    Does your dedi provider supply Cloud/SAN storage space? That might provide a straightforward alternative to S3. Just make sure your backup/DR plan covers this data as well as your dedi.
    Advania Thor Data Centre Iceland - www.thordc.com
    High Spec Colocation and Dedicated Servers, powered by cheap, abundant and 100% renewable energy.
    Enterprise grade hosting, ISO27001 accredited for security, and all at fantastic pricing.

    brian.rae@thordc.com

Similar Threads

  1. Replies: 9
    Last Post: 09-27-2008, 03:51 AM
  2. [UK] 10% off and double disk space for WHT users
    By goscombtech in forum Reseller Hosting Offers
    Replies: 2
    Last Post: 11-14-2007, 11:04 AM
  3. If you sell space, you should sell ControlScan
    By abiddar in forum Other Offers & Requests
    Replies: 0
    Last Post: 12-27-2005, 09:28 AM
  4. Replies: 0
    Last Post: 06-22-2003, 01:23 PM

Related Posts from theWHIR.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •