Configuring AWS Simple Queue Service (SQS) with S3 Storage

Configuring SQS

  1. Sign in to the AWS Console

  2. Navigate to the Simple Queue Services (SQS)

  3. Choose Create queue

  4. On the Create New Queue page, make sure the correct region has been selected and then type the Queue Name

  5. Select Standard as the type of Queue.

1.png
  1. In the configuration section, provide Adaptive MxDR recommended parameters as per below snapshot:

Screenshot 2021-08-19 at 11.21.33 AM.png
  1. Enable encryption as required

  1. Under Access Policy please select advanced option and provide the policy as below:

Make sure to replace placeholders with the actual values.

{ "Version": "2008-10-17", "Id": "__default_policy_ID", "Statement": [ { "Sid": "__sender_statement", "Effect": "Allow", "Principal": { "Service": "s3.amazonaws.com" }, "Action": "SQS:SendMessage", "Resource": "arn:aws:sqs:<region>:<accountID>:<SQS queue name>", "Condition": { "ArnLike": { "aws:SourceArn": "<S3BucketArn>" } } }, { "Sid": "__receiver_statement", "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::<accountID>:root" }, "Action": [ "SQS:ChangeMessageVisibility", "SQS:DeleteMessage", "SQS:ReceiveMessage", "sqs:GetQueueAttributes", "sqs:GetQueueUrl" ], "Resource": "arn:aws:sqs:<region>:<accountID>:<SQS queue name>" } ] }

Screenshot for reference

  1. Provide tags as per your organization’s policy

10. Click Create queue.

Attaching Created SQS with S3

  1. Navigate to S3 Dashboard and select the desired S3 Bucket which needs to be monitored for Notifications.

  2. Navigate to Properties tab 

  1. Under properties navigate to the Event Notifications and click Create Event Notification

  1. Under General Configuration, provide the name to the notification and provide any prefix if required.

  1. In Event types, select All Object Create Events

  1. Under Destination, select SQS queue

  2. Choose the SQS queue we have created earlier and which you want to map to S3

  3. Save Changes

 

About Accenture:
Accenture is a leading global professional services company that helps the world’s leading businesses, governments and other organizations build their digital core, optimize their operations, accelerate revenue growth and enhance citizen services—creating tangible value at speed and scale. We are a talent and innovation led company with 738,000 people serving clients in more than 120 countries. Technology is at the core of change today, and we are one of the world’s leaders in helping drive that change, with strong ecosystem relationships. We combine our strength in technology with unmatched industry experience, functional expertise and global delivery capability. We are uniquely able to deliver tangible outcomes because of our broad range of services, solutions and assets across Strategy & Consulting, Technology, Operations, Industry X and Accenture Song. These capabilities, together with our culture of shared success and commitment to creating 360° value, enable us to help our clients succeed and build trusted, lasting relationships. We measure our success by the 360° value we create for our clients, each other, our shareholders, partners and communities. Visit us at www.accenture.com.

About Accenture Security
Accenture Security is a leading provider of end-to-end cybersecurity services, including advanced cyber defense, applied cybersecurity solutions and managed security operations. We bring security innovation, coupled with global scale and a worldwide delivery capability through our network of Advanced Technology and Intelligent Operations centers. Helped by our team of highly skilled professionals, we enable clients to innovate safely, build cyber resilience and grow with confidence. Follow us @AccentureSecure on Twitter or visit us at www.accenture.com/security.

Legal notice: Accenture, the Accenture logo, and other trademarks, service marks, and designs are registered or unregistered trademarks of Accenture and its subsidiaries in the United States and in foreign countries. All trademarks are properties of their respective owners. This document is intended for general informational purposes only and does not take into account the reader’s specific circumstances, and may not reflect the most current developments. Accenture disclaims, to the fullest extent permitted by applicable law, any and all liability for the accuracy and completeness of the information in this presentation and for any acts or omissions made based on such information. Accenture does not provide legal, regulatory, audit, or tax advice. Readers are responsible for obtaining such advice from their own legal counsel or other licensed professionals.