Is it possible to send a DLQ when an S3 Upload fails ?

0

If a file upload to S3 fails for any reason, is there any way to send a failure message to DLQ ? As far as I know, it should not be possible, as file upload is happening outside of AWS. So, AWS does not have control over what happens, until the networking happens within AWS.

But, still, I want to know if I am wrong, and if it is possible to send a failure message to DLQ for File upload failures

AB
preguntada hace 3 meses133 visualizaciones
1 Respuesta
2
Respuesta aceptada

Correct, AB

You will just see the associated failure on the file upload itself.

i.e.,

upload failed: local\path\to\file to s3://bucket/remotepath Could not connect to the endpoint URL:

There are a few things you could try with aws cli config, to try and get around upload issues relating to concurrent requests & low bandwidth (by editing ~/aws/.config):

  • max_concurrent_requests - set this to a less ambitious number than the default 10 (maybe 5)
  • max_bandwidth - reduce this to a number slightly less than the upload speed aws s3 reports when using defaults (for example, if it's 1.2MB/s, try setting the value to 1MB/s)

S3 Multi-part Upload can also be leveraged, using AWS CLI.

If this helps confirm what you were thinking, please choose this as the Accepted Answer so others on re:Post may benefit - Thank you

profile pictureAWS
respondido hace 3 meses
profile picture
EXPERTO
revisado hace 2 meses

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