能否在Swisscom Application Cloud中使用External File System(Volume Services)?
Hey there! Great question—let’s break down everything you need to know about using External File System (Volume Services) on Swisscom Application Cloud:
Yes, external file systems are fully supported
Swisscom Application Cloud integrates with managed external storage solutions, with NFS-based volume services being the primary out-of-the-box option. You can also leverage integrations with third-party storage providers for more specialized use cases (like object storage mapped to a file system, though that’s less common for standard app workloads).Quick setup steps
You’ll use the Cloud Foundry CLI to create and bind volumes to your apps:- Create a volume service instance with your desired plan (e.g., standard NFS):
cf create-service swisscom-volume nfs-standard my-custom-nfs-volume - Bind the volume to your application:
cf bind-service my-app my-custom-nfs-volume - Restart your app to apply the mount:
cf restart my-app
You can also define volume mounts directly in your app’smanifest.ymlto automate this during deployment.
- Create a volume service instance with your desired plan (e.g., standard NFS):
Key considerations
- Different service plans have varying capacity, performance, and cost tiers—pick one that matches your app’s I/O and storage needs.
- Ensure your app is configured to use the mounted volume correctly (you’ll need to specify the target mount path in your app’s code or configuration).
- For private external storage (like your own on-prem NFS), you may need to set up VPC peering or network access rules to establish connectivity with the Swisscom cloud environment.
If you need granular details on edge cases (like multi-app access to the same volume or backup policies), the official Swisscom Application Cloud docs walk through those scenarios step by step.
内容的提问来源于stack exchange,提问作者Aleksandar Nikolic

