File Storage Gateway on EC2 in case of AZ failure

0

Hello,

I have a question related to EC2 Storage Gateway HA that was discussed here https://repost.aws/questions/QU7uSNAm4qR1C1VKircva_NQ/aws-storage-gateway-ec-2-high-availability and here https://repost.aws/questions/QUHkuVnkdPT7WsGWmECm14TA/ec-2-storage-gateway-high-availability-configuration

  1. For the file gateway - If the EC2 instance is destroyed will I have access to files stored in S3?
  2. What happens if entire AZ is gone - can I recover EC2 instance in another AZ?
  3. It answer for 1 is NO then - is it possible to do a backup or snapshot of the SG config/cache?
AWS
demandé il y a un an321 vues
1 réponse
0
Réponse acceptée

Hello,

  1. Yes, you can access the files that are uploaded and stored in S3 if the EC2 instance is destroyed. You can use CachePercentDirty metric to monitor for any pending data upload to S3 from the gateway.
  2. In this case, you would need to launch a new gateway in a different AZ. Then, create shares on that gateway using the same underlying S3 buckets. You can collect current file gateway and file share details using describe-gateway and describe smb and nfs file shares CLI commands. Then, use this information to setup a new EC2 instance/gateway and for its file shares.
profile pictureAWS
Surya
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions