Re: Disk ID for a provisioned instance

2017-10-31 Thread Akshat Jiwan Sharma
This is very helpful! Thanks. On Tue, Oct 31, 2017 at 11:23 AM, Andrew Wilkins < andrew.wilk...@canonical.com> wrote: > On Tue, Oct 31, 2017 at 1:40 PM Akshat Jiwan Sharma > wrote: > >> Thanks Andrew. I'm using google cloud platform. But also planning to use >> aws in the

Re: Disk ID for a provisioned instance

2017-10-30 Thread Andrew Wilkins
On Tue, Oct 31, 2017 at 1:40 PM Akshat Jiwan Sharma wrote: > Thanks Andrew. I'm using google cloud platform. But also planning to use > aws in the future. > For AWS, we tag the root disk EBS volume with: key=Name value=${INST_ID}-root So if you add a machine in

Re: Disk ID for a provisioned instance

2017-10-30 Thread Akshat Jiwan Sharma
Thanks Andrew. I'm using google cloud platform. But also planning to use aws in the future. On Tue, Oct 31, 2017 at 8:23 AM, Andrew Wilkins < andrew.wilk...@canonical.com> wrote: > On Tue, Oct 31, 2017 at 10:37 AM Akshat Jiwan Sharma < > akshatji...@gmail.com> wrote: > >> Hi, >> >> I'd like to

Re: Disk ID for a provisioned instance

2017-10-30 Thread Andrew Wilkins
On Tue, Oct 31, 2017 at 10:37 AM Akshat Jiwan Sharma wrote: > Hi, > > I'd like to automate backups for my server provisioned via juju. For that > I'm planning to use terraform. To take a snapshot of the disk, terraform > needs a disk id. > > Is there a way I can get disk

Disk ID for a provisioned instance

2017-10-30 Thread Akshat Jiwan Sharma
Hi, I'd like to automate backups for my server provisioned via juju. For that I'm planning to use terraform. To take a snapshot of the disk, terraform needs a disk id. Is there a way I can get disk ID using juju commands? Juju show machine only gives the capacity of the disk not its id. On a