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 Answer
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
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions