Cloud Storage Gateway (CSG) is a gateway service that can be deployed at your data center or on Alibaba Cloud. CSG uses Object Storage Service (OSS) buckets as backend storage. CSG provides on-premises and cloud applications with standard file services over the Network File System (NFS) and Server Message Block (SMB) protocols and block storage services over the Internet Small Computer Systems Interface (iSCSI) protocol.
CSG supports two types of gateways:
File gateways
File gateways map the object storage structure of OSS buckets to File Storage NAS file systems. You can read and write all objects in the specified OSS bucket over standard NFS and SMB protocols. CSG also uses on-premises storage to cache hot data, and provides high-performance data access in addition to the large storage capacity of OSS buckets. File gateways are compatible with the Portable Operating System Interface (POSIX) and third-party backup software. If you want to back up small files or share small files for reading and writing, we recommend that you use Standard or Basic file gateways. If you require high performance or want to use multiple clients to simultaneously access data, we recommend that you use Enhanced or Performance Optimized file gateways.
iSCSI gateways
iSCSI gateways create storage volumes in OSS and allow you to access OSS by using the iSCSI protocol. On-premises applications can access these volumes as iSCSI targets. iSCSI gateways run in two modes: pass-through and cache. In pass-through mode, data in iSCSI volumes is sliced and synchronized to the cloud. This mode is applicable when you use high-speed links such as Express Connect circuits. In cache mode, you can create on-premises cache disks to accelerate read and write operations, and transfer data to the cloud in an asynchronous manner. This mode is applicable when you require efficient access to on-premises cached data but have unsatisfactory performance for uploading data to OSS.
Architecture
CSG gateways deployed on the could and at your data center form a gateway cluster. Then, you can share data between the cloud and your data center. This allows you to migrate data in various business scenarios, such as file backup, data distribution, and disaster recovery. You can also use the cluster to distribute data to multiple data centers.
CSG is a lightweight storage gateway, which can be deployed at your data center and on Alibaba Cloud.
Scenarios
File gateways
Build a file storage service when local storage is limited.
Store data as objects in the cloud, and allow applications to access the data in the same way they access data in file systems.
Access shares in a file storage service that spans multiple data centers.
iSCSI gateways
Back up data to the cloud by using backup software and implement efficient data transfers over iSCSI.
Import video streams to storage volumes over iSCSI to store data in the cloud.