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

1 Risposta
2
Risposta accettata

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
con risposta 8 mesi fa
profile picture
ESPERTO
verificato 7 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande