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

AWS
已提问 2 年前1079 查看次数
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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则