IBM Cloud Docs
Planning your file shares

Planning your file shares

When you're planning to create File Storage for VPC, you might find this checklist helpful to set up and use the file service.

Planning for creating file shares

Consider the following prerequisites before you set up File Storage for VPC.

Table 1. Checklist for planning file shares
Considerations
__ Check your IAM access permissions to ensure you can create file shares.
__ Think about the location and resources where you're going to use the file share. The file share needs to be mounted to a Compute resource within a VPC. Identify an existing VPC or create a VPC.
__ To mount a file share on a virtual server instance, you must create at least one mount target. You can create a mount target along with the file share and add more mount targets separately later.
__ Decide whether you want to restrict access to the file share from specific virtual server instances or allow mounting on all virtual server instances within a VPC. Using security groups to control traffic between the file share and the Compute resources is recommended. For more information, see Granular authorization.
__ Evaluate the capacity and performance that you need. The dp2 profile provides ample flexibility in this regard. The range of total IOPS that you can specify is based on the size of the file share. You can provision shares with IOPS performance from 100 IOPS (the default minimum) to 96,000 IOPS. For more information, see File Storage profiles.
__ Estimate the size of the file share that you require for your current needs. File share sizes can range between 10 - 32,000 GB. You can later increase the size of the file share, depending on what the file share profile allows.
__ Decide whether to set up replication. The replica file share is in a different zone from the primary file share. Replication is a good way to recover from events and protect against prolonged outages because it provides a read-only copy of the share in a different zone of your geography (Americas, Europe, Asia Pacific). You can fail over to the replica site if the primary site becomes unavailable or compromised.
__ Make sure that you have a unique name for your file share that easily identifies the file share as your list of shares grows. Associate it with a resource group in your IBM Cloud customer account.
__ Think about which encryption type suits your needs the best. By default, your file shares are encrypted with IBM-managed encryption. For greater control, consider the use of customer-managed encryption. Your data can be protected at rest with your own root keys. For more information about this option, see Creating file shares with customer-managed encryption. For more information about using the same root keys across accounts, see Cross-account encryption for multitenant storage resources.
__ You can also choose to encrypt data in transit. This feature can decrease performance for increased security. The impact depends on the workload characteristics. Workloads that perform synchronous writes or bypass VSI caching, such as databases, might have a substantial performance impact when EIT is enabled.
__ Choose between the UI, CLI, API, or Terraform for creating and managing your file shares.

Next Steps