Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 175
  • Last Modified:

AWS New EC2 Instance and EBS Storage

Our current web application stores files directly on the webserver.  We've thought about migrating to S3, but at this point migrating from a traditional dedicated host to AWS it would lighten the load some to just use their EBS service.  

So my question is, when spinning up a test instance I see that there is a root drive with 8 gigs of space by default.  Can I just up that to 500 gigs and call it good?  Or do I need to add another volume of an EBS and give it the 500 gigs?  If the latter, my web app uploads files to the webserver currently under a /home/domain/public_html/uploads folder.  If I attach a EBS volume vs use root do I need to config somehow so that my web app uploads to a different location or is all that configured?

If I just expand root volume is it also an EBS and is there any problem with doing that?
0
Nathan Riley
Asked:
Nathan Riley
2 Solutions
 
George KhairallahCTOCommented:
Yes, you can increase the size of the EBS volume and use that. Unless you have specific requirements for multiple EBS volumes, or you'd like to create a Software RAID.

One thing to make sure of when you're doing this, is that the volume is not an instance store. ( as opposed to an EBS backed) volume. The former has fast access, but everything on it is gonna upon instance reboot.

Other than that, you should be clear to increase the size of the volume and use it.

Here's some info re EBS vs. Instance store for your information:
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AmazonEBS.html
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html
0
 
Laroy ShtotlandIT Security ConsultantCommented:
I'd advise you never mix a file storage and a system on drive (volume) level for many reasons. For example, if you need to migrate to another system, you would be able to simply detach the volume with the file storage and attach it to another instance just in 2 clicks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now