Answer:
Use an SQS FIFO queue to process the jobs.
Step-by-step explanation:
SQS stands for Simple Queue Service. It is a programmatic web service that is used to process and store information between computers. SQS was designed to build applications to prevent requests from staying too long on a queue. They process large number of requests at least once and in a sequential order. SQS removes messages permanently from the queue that have been there for a maximum period of time. The default retention period is usually 240 hours but you can reset it to a time to suit your desire. Using FIFO( First-in, First-out) queue, messages are processed exactly once and it supports 300 messages per second. Therefore, using an SQS FIFO queue to process messages will ensure that messages are processed in order and only once.