EC2 Storage Gateway high availability configuration

0

Is it possible to load balance (NLB) a storage gateway hosted on EC2 for high availability? Specifically, I am looking to see if its possible to deploy a File Storage Gateway on two EC2s in two AZs, connect them to a single file share in S3 and mount an NFS volume by pointing to an NLB which load balances the traffic to the two File Storage Gateways creating a single logical File Storage Gateway. See attached diagram for more info

image

1 個回答
0

Hi,

This won't approach work as desired. The gateways cache file writes, acknowledge them, and copy them to S3 in the background. With this configuration, a failure of a gateway would result in the loss of all the writes not yet committed to S3. In a best case scenario, after a failover, your clients would "time travel" to see the files before the most recent writes. Worst case, the files might be corrupt, because the failure occurred while the gateway was still in process of updating parts of them.

Hope this helps.

LazV
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南