Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

When using juju to deploy a DB, how can I determine the available amount of disk space when using the DB charm? Suppose that I'm using EC2 (or anywhere else) to deploy a PostgreSQL/MySQL/WhateverDB charm... Where will the actual database data be stored? Will the charm create a EBS volume and attach it to the instance and put the data there? What if my database is very large? Or very small? Where can I determine the size of the available storage?


share|improve this question
up vote 2 down vote accepted

On ec2, every instance gets an 8G EBS volume by default; if you need more you can specify the root-disk constraint on the service. (Note that this will only apply to new units of the service, though.)

You can't generally control where the database you deploy keeps its data -- that's up to the charm author -- but it will generally be on that root disk ;). To determine the size of the disk, you should be able to check the hardware characteristics of the deployed machine in juju status; if that data is missing on any given provider, that's a bug and we would appreciate a report.

We will be working on more sophisticated storage management for juju sometime shortly after the release of 14.04.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.