Comment 5 for bug 1931139

Revision history for this message
Syed Mohammad Adnan Karim (karimsye) wrote :

Thanks, I am now able to bootstrap juju controllers on AWS with encrypted EBS volumes.
However I found that I was unable to create other machines with encrypted EBS volumes.
I attempted the following:

# Successfully create a controller with encrypted EBS volumes
juju bootstrap aws \
  --storage-pool name=ebs-encrypted \
  --storage-pool type=ebs \
  --storage-pool encrypted=true \
  --bootstrap-constraints="root-disk-source=ebs-encrypted"

# Create an ecrypted EBS storage pool
juju create-storage-pool encrypted-ebs ebs encrypted=true

# Set the storage-default-block-source to encrypted-ebs
juju model-config storage-default-block-source="encrypted-ebs"

# Deploy a bundle
juju deploy cs:bundle/landscape-scalable-8

I checked my EC2 instances in the dashboard and found that the non-controller machines did not have encryption. The juju version is 2.9.7-ubuntu-amd64 from latest/candidate channel.