Creating a Volume
You can create a volume using Block Volume.
Required IAM Policy
To use Oracle Cloud Infrastructure, you must be granted security access in a policy by an administrator. This access is required whether you're using the Console or the REST API with an SDK, CLI, or other tool. If you get a message that you don’t have permission or are unauthorized, verify with your administrator what type of access you have and which compartment to work in.
For administrators: The policy in Let volume admins manage block volumes, backups, and volume groups lets the specified group do everything with block volumes and backups.
Monitoring Resources
You can monitor the health, capacity, and performance of your Oracle Cloud Infrastructure resources by using metrics, alarms, and notifications. For more information, see Monitoring and Notifications.
Tagging Resources
You can apply tags to your resources to help you organize them according to your business needs. You can apply tags at the time you create a resource, or you can update the resource later with the wanted tags. For general information about applying tags, see Resource Tags.
Using the Console
- Open the navigation menu and click Storage. Under Block Storage, click Block Volumes.
- Click Create Block Volume.
- Fill in the required volume information:
- Name: A user-friendly name or description. Avoid entering confidential information.
- Domain: Must be in the same availability domain as the instance.
- Volume Size and Performance
- Size: Must be between 50 GB and 32 TB. You can choose in 1 GB increments within this range. The default is 1024 GB. If you choose a size outside of your service limit, you may be prompted to request an increase. For more information, see Service Limits.
- Volume Performance: Optionally, you can select the appropriate performance level for your requirements. See Block Volume Performance for more information about volume performance options. The default option is Balanced.
- Backup Policy: Optionally, you can select the appropriate backup policy for your requirements. See Policy-Based Backups for more information about backup policies.
- Cross Region Replication: Optionally, you can enably asynchronous cross region replication for the volume. See Replicating a Volume for more information.
Encryption: Optionally, you can encrypt the data in this volume using your own Vault encryption key. To use Vault for your encryption needs, select the Encrypt using customer-managed keys radio button. Then, select the Vault compartment and Vault that contain the master encryption key you want to use. Also select the Master encryption key compartment and Master encryption key.
Important
The Block Volume service does not support encrypting volumes with keys encrypted using the Rivest-Shamir-Adleman (RSA) algorithm. When using your own keys, you must use keys encrypted using the Advanced Encryption Standard (AES) algorithm. This applies to block volumes and boot volumes.
- Tags: If you have permissions to create a resource, then you also have permissions to apply free-form tags to that resource. To apply a defined tag, you must have permissions to use the tag namespace. For more information about tagging, see Resource Tags. If you are not sure whether to apply tags, skip this option (you can apply tags later) or ask your administrator.
-
Click Create Block Volume.
The volume will be ready to attach once its icon no longer lists it as PROVISIONING in the volume list. For more information, see Attaching a Volume.
Using the API
To create a volume, use the following operation:
For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.