Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

AWS New EC2 Instance and EBS Storage

Posted on 2016-09-11
2
Medium Priority
?
158 Views
Last Modified: 2016-09-13
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
Comment
Question by:Nathan Riley
2 Comments
 
LVL 10

Accepted Solution

by:
George Khairallah earned 1000 total points
ID: 41793714
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
 
LVL 5

Assisted Solution

by:Laroy Shtotland
Laroy Shtotland earned 1000 total points
ID: 41795927
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

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the wake of AWS' S3 outage, we want to discuss the importance of storage and data diversification in the event of a hack, crash, or system disruption. We spoke with Experts Exchange’s COO Gene Richardson for a deeper understanding.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question