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
preguntada hace un año321 visualizaciones
1 Respuesta
0
Respuesta aceptada

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
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas