Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am very new to this and trying to do this the first time. I have learned that Amazon Elastic Block Storage(EBS) can be used in a similar way as a hard Disk when mounted on Amazon EC2. Now I wish to create a directory structure in EBS and save files from Java Servlet in EBS?

I have also learned that the code used by the servlet in development machine can be used to create a directory structure access files in EBS also

@MultipartConfig( location          = "d:\\tmp", 
                  fileSizeThreshold = 1024 * 1024, 
                  maxFileSize       = 1024 * 1024 * 5,
                  maxRequestSize    = 1024 * 1024 * 5 * 5  )

I have Amazon Linux installed on my Amazon EC2, any pointers will be great help?

share|improve this question
up vote 2 down vote accepted

If you have an Amazon EC2 micro instance, then you already have an EBS root device attached to it and you can create directories and save files into it, just like you would do in a non-EC2 linux box. The default root device usually has a size of 8 GB, but you could add additional EBS devices if you need more space.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .