This topic describes the typical scenarios of Cloud Storage Gateway (CSG).
Storage expansion and data migration
CSG is integrated with intelligent caching algorithms, which automatically distinguish between hot and cold data. This technology allows CSG to store cold data in the cloud and retain hot data in the local cache to accelerate hot data retrieval. When you connect your on-premises data center to cloud storage services, your users can retrieve the requested resources without noticing this cross-site link. This enables you to expand your storage from your own data center to cloud storage. The cloud also keeps a full copy of the hot data. This guarantees the integrity of your data (hot and cold data). CSG applies to the following scenarios:
- Share data and files: In this scenario, files and data are shared among different computing clusters.
- Back up data: In this scenario, data from applications is synchronized to Alibaba Cloud Object Storage Service (OSS) through CSG and backup software, for example, Veeam and NBU.
- Archive cold data: In this scenario, CSG synchronizes your cold data from your local file system or ECS instances to OSS IA and Archive buckets. This helps you save local storage space and maximize the utilization of your local and cloud storage resources.
Cloud disaster recovery
With the development of cloud computing, an increasing number of users are running their workloads in the cloud. The reliability and continuity of workloads running in the cloud have become critical issues. CSG supports virtualization. You can easily connect third-party services to Alibaba Cloud services to achieve disaster recovery.
Data sharing and distribution in multiple regions
You can deploy CSG instances in multiple regions and associate the CSG instances with the same OSS bucket to quickly share and distribute files across multiple regions. This feature is applicable to branch offices where data needs to be synchronized and shared.
Compatible with legacy applications
Some users may run both legacy and modern applications in the cloud. In this case, the legacy applications that were migrated from an on-premises deployment have to use standard storage protocols, such as NFS, SMB, and iSCSI. Modern applications are typically based on new technologies and support object access protocols. Data communication among applications using different protocols requires complicated processes. CSG can establish communications among applications using different protocols and enable data to be exchanged between legacy and modern applications.
An alternative to ossfs and ossftp
ossfs and ossftp are open-source tools based on file protocols. You can use ossfs and ossftp to directly upload files to OSS. However, ossfs and ossftp are not supported in the production environment due to their low compatibility with POSIX. Using ossfs and ossftp to mount file systems to a client also requires additional configurations and caches. In scenarios where you need to use ossfs and ossftp to mount file systems to multiple clients, the configuration process may take a long time.
CSG is an excellent alternative to ossfs and ossftp. To accelerate access to data stored on OSS, create a CSG instance, mount an NFS share to your local client, or map an SMB share to a network drive in the Windows operating system. You can then manage data in the remote OSS bucket in the same way as managing it in the local file system.