Jump to content

Amazon S3 Experts Please Cum


Recommended Posts

Posted

Naaku Programming raadu so this could be a trivial question.

Naaku email notifications kaavali when an event happens in my S3 bucket. I tried SNS. Youtube tutorials follow ayyanu and everything looks good but last step lo some bucket location constraint error vasthundi(Nenu follow ayina tutorials no errors). I will post some screenshots after going home. Thanks.

Posted
57 minutes ago, hotmaddy said:

Naaku Programming raadu so this could be a trivial question.

Naaku email notifications kaavali when an event happens in my S3 bucket. I tried SNS. Youtube tutorials follow ayyanu and everything looks good but last step lo some bucket location constraint error vasthundi(Nenu follow ayina tutorials no errors). I will post some screenshots after going home. Thanks.

its prettu much straight fwd not sure what u didnt get it right

i have done it number of times using AWS console

https://docs.aws.amazon.com/AmazonS3/latest/user-guide/enable-event-notifications.html

Posted

Ya very straight fwd. But nenu ekkado location di dobbetta.

I followed the same tutorial. I will try it again and send you the results. Thanks.

Posted
22 minutes ago, sattipandu said:

its prettu much straight fwd not sure what u didnt get it right

i have done it number of times using AWS console

https://docs.aws.amazon.com/AmazonS3/latest/user-guide/enable-event-notifications.html

Eee tutorial lo Step 9(a) loki vachaka SNS dropdown click chesthe nee SNS Topics list raavali. Only "Add SNS Topic ARN" ani vasthundi.

Do you know why is it not showing my SNS Topics?

Posted
47 minutes ago, hotmaddy said:

Eee tutorial lo Step 9(a) loki vachaka SNS dropdown click chesthe nee SNS Topics list raavali. Only "Add SNS Topic ARN" ani vasthundi.

Do you know why is it not showing my SNS Topics?

S3 bucket URL lo ye regiion undo, is ur SNS in that same region check that...

Posted
16 minutes ago, Spartan said:

S3 bucket URL lo ye regiion undo, is ur SNS in that same region check that...

@ts yep, do this  

Posted
40 minutes ago, samanthakamani said:

make sure you have proper IAM roles to access s3, sns

Nenu asalu IAM roles set cheyyaledu. I will try it tonight. Also paina @sattipandu cheppina tutorial lo kuda ledu.

Posted
36 minutes ago, Spartan said:

S3 bucket URL lo ye regiion undo, is ur SNS in that same region check that...

 

19 minutes ago, sattipandu said:

@ts yep, do this  

S3 Bucket US-East(Ohio) and US-West(Oregeon) try chesa. No luck.

SNS ki location ela set cheyyalo theliyadu. It didn't ask me while creating SNS Topic.

Posted
4 minutes ago, hotmaddy said:

 

S3 Bucket US-East(Ohio) and US-West(Oregeon) try chesa. No luck.

SNS ki location ela set cheyyalo theliyadu. It didn't ask me while creating SNS Topic.

topic create chesi..did u subscribe the S3 event to it.?

Posted
34 minutes ago, Spartan said:

topic create chesi..did u subscribe the S3 event to it.?

SNS Topic Creation:

Created Topic, Edited Topic Policy, and subscribed to the topic. Confirmation email came and I confirmed.

SNS Topic ARN: arn:aws:sns:us-east-1:11342344444:MySNSTopic

 

S3 Bucket:

S3 Bucket region is US-East(Ohio). Access is not Public. 

Then I tried creating Event for the bucket. Selected "SNS Topic" in the send to dropdown field. Underneath that I need to select the SNS I created in my case it's "MySNSTopic". I should see this in the drop down box but I see only "Add SNS topic ARN" in the dropdown.

Then I entered the above SNS Topic ARN and tried hitting save. It comes up with this error.

"The notification destination service region is not valid for the bucket location constraint"

 

Edit: Paina DBian edo IAM role create cheyyali annadu. May be thats where I am screwing up. Also Topic Policy vere vaadidi google nundi theesukunna from a tutorial. Adi kuda mistake ayyi undochu.

Posted
4 minutes ago, hotmaddy said:

SNS Topic Creation:

Created Topic, Edited Topic Policy, and subscribed to the topic. Confirmation email came and I confirmed.

SNS Topic ARN: arn:aws:sns:us-east-1:11342344444:MySNSTopic

 

S3 Bucket:

S3 Bucket region is US-East(Ohio). Access is not Public. 

Then I tried creating Event for the bucket. Selected "SNS Topic" in the send to dropdown field. Underneath that I need to select the SNS I created in my case it's "MySNSTopic". I should see this in the drop down box but I see only "Add SNS topic ARN" in the dropdown.

Then I entered the above SNS Topic ARN and tried hitting save. It comes up with this error.

"The notification destination service region is not valid for the bucket location constraint"

yeah, nuvvu SNS topic create chesetappudu ye region lo unnavu.?

as i pointed out earlier region mismatch is the issue in this case. try to have both SNS ans S3 in same region.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...