Solved

AWS New EC2 Instance and EBS Storage

Posted on 2016-09-11
2
61 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:N R
2 Comments
 
LVL 10

Accepted Solution

by:
George Khairallah earned 250 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 4

Assisted Solution

by:Laroy Shtotland
Laroy Shtotland earned 250 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
If you are thinking of adopting cloud services, or just curious as to what ‘the cloud’ can offer then the leader according to Gartner for Infrastructure as a Service (IaaS) is Amazon Web Services (AWS).  When I started using AWS I was completely new…
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now