What encryption covers
The Encrypt volume option applies only to the volume disk of a Pod. It does not apply to any other storage type.
When you attach a network volume to a Pod, the network volume replaces the volume disk, so the Encrypt volume option is not available for that Pod.
Enable encryption
To encrypt a volume disk, select the Encrypt volume checkbox when you create the Pod. Review these limits before you deploy:- You can only choose encryption when you create a Pod. You can’t turn encryption on or off for an existing Pod, and a volume disk that you add to a running Pod can’t be encrypted.
- You can’t resize an encrypted volume disk after you deploy the Pod. Choose a size that leaves room for your data to grow.
- Encryption adds a performance cost to disk reads and writes.
How it works
Volume encryption is disk-level encryption at rest. Runpod encrypts the whole volume disk on the host machine. It does not encrypt each file separately. Runpod generates and manages the encryption key, and uses it only to unlock the volume for your Pod. You can’t retrieve the key, and bring your own key is not supported. Inside your Pod, you work with normal files. The disk encrypts data when your Pod writes it and decrypts data when your Pod reads it. Your applications don’t need any changes.Move data between Pods
When you copy data out of an encrypted volume, the copy reads normal, decrypted files from the source and writes them to the destination. Encryption does not follow the files. The destination’s own setting decides whether your data is encrypted at rest there.
The source and the destination don’t need the same key. Each encrypted volume uses its own key, so there is no conflict when you copy between two encrypted volumes.
To keep your data protected during a manual copy:
- Create the destination Pod with Encrypt volume selected. This keeps the data encrypted at rest on the destination.
- Copy the data with a transfer method that encrypts data in transit, such as SCP, rsync over SSH, SFTP, or
runpodctl sendandrunpodctl receive. - Write the data to the volume disk of the destination Pod (
/workspaceby default). Data that you write to the container disk is not encrypted.
Frequently asked questions
Does volume encryption protect my data in transit?
No. Volume encryption protects data at rest on the volume disk. To protect data in transit, use a transfer method that encrypts the connection, such as SCP, rsync over SSH, SFTP, orrunpodctl send and runpodctl receive.
Are my files still encrypted after I copy them to another Pod?
It depends on the destination. Your files are encrypted at rest only if you write them to the volume disk of a Pod that you created with Encrypt volume selected. If the destination is an unencrypted volume disk, a container disk, or a network volume, the files are stored unencrypted.Do the source and destination volumes need the same encryption key?
No. A copy moves normal files, not encrypted disk data. The source volume decrypts the files when they are read, and the destination volume encrypts them with its own key when they are written.Can I turn on encryption for an existing Pod?
No. You can only choose encryption when you create a Pod. To encrypt data that is on an unencrypted volume, create a new Pod with Encrypt volume selected and copy the data to its volume disk.Can I encrypt a network volume or a container disk?
No. The Encrypt volume option applies only to the volume disk.Can I get my encryption key or use my own key?
No. Runpod generates and manages the key. You can’t retrieve it, and bring your own key is not supported.Can I resize an encrypted volume disk?
No. You can’t change the size of an encrypted volume disk after you deploy the Pod.Does runpodctl send encrypt my files during the transfer?
Yes. runpodctl send and runpodctl receive encrypt file data end to end with a key that is derived from the one-time transfer code. Share the code only with the person or machine that receives the files.
Does my volume stay encrypted when I use Pod migration?
Yes. When you use Pod migration for a Pod with an encrypted volume disk, the new Pod also has an encrypted volume disk, and your data is stored encrypted at rest on the new machine.Next steps
Storage options
Compare the storage types that are available for Pods.
Transfer files
Learn how to move data to and from your Pod.