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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인