Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit dd2700b

Browse files
committed
fix: updated lab 2 console instructions to enable raw
message delivery for SQS subscription on topics
1 parent 91117d0 commit dd2700b

File tree

18 files changed

+60
-21
lines changed

18 files changed

+60
-21
lines changed

‎workshop/content/topic-queue-chaining-and-load-balancer/create-customer-accounting-service-subscription/create-customer-accounting-service-subscription-console.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,41 @@ Enter `CustomerAccountingServiceQueue` as **Queue Name**, make sure **Standard Q
2020

2121
#### 2. Create a new subscription
2222

23-
After selecting the queue **CustomerAccountingServiceQueue**, click the **Queue Actions** drop down in the top left corner and chose **Subscribe Queue to SNS Topic**.
23+
After creating the queue **CustomerAccountingServiceQueue**, click the **Subscribe to Amazon SNS Topic** button in the SNS Subscriptions tab.
2424

2525
{{%expand "Detailed description" %}}
2626
![Step 3](step-3-console.png)
2727
{{% /expand%}}
2828

29-
In the pop up window, select the **RideCompletionTopic** and click **Subscribe**. Click **Ok** in the confirmation dialog.
29+
In the Subscribe to Amazon SNS topic window, select the **RideCompletionTopic** and click **Save**.
3030

3131
{{%expand "Detailed description" %}}
3232
![Step 4](step-4-console.png)
3333
{{% /expand%}}
3434

35-
#### 3. Validate the subscription confirmation
35+
#### 3. Validate the subscription and add the filter to the subscription
3636

37-
Browse to your **[Amazon SNS console](https://console.aws.amazon.com/sns/v3/home?#/topics)** to list your existing topics. Select the **RideCompletionTopic** and verify, the subscription has the status **Confirmed**.
37+
Select the newly created subscription from the SNS subscriptions list and click the **View in SNS** button (this should open a new tab to the subscription in the **[Amazon SNS console](https://console.aws.amazon.com/sns/v3/home?#/topics)**).
3838

3939
{{%expand "Detailed description" %}}
4040
![Step 5](step-5-console.png)
4141
{{% /expand%}}
4242

43+
Confirm that the Status of the subscription is **Confirmed**.
44+
45+
{{%expand "Detailed description" %}}
46+
![Step 5](step-5-1-console.png)
47+
{{% /expand%}}
48+
49+
Click **Edit** to modify the subscription.
50+
51+
In the Edit subscription screen, click **Enable raw message delivery**. Click **Save Changes**
52+
53+
{{%expand "Detailed description" %}}
54+
![Step 6](step-5-2-console.png)
55+
{{% /expand%}}
56+
57+
Now that we have updated the subscription, let's set the IAM policy for our Lambda function to access the queue.
4358

4459
#### 4. Grant permissions to our function to access the Amazon SQS queue
4560

‎workshop/content/topic-queue-chaining-and-load-balancer/create-customer-notification-service-subscription/create-customer-notification-service-subscription-console.md

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ Enter `CustomerNotificationServiceQueue` as **Queue Name**, make sure **Standard
2020

2121
#### 2. Create a new subscription
2222

23-
After selecting the queue **CustomerNotificationServiceQueue**, click the **Queue Actions** drop down in the top left corner and chose **Subscribe Queue to SNS Topic**.
23+
After creating the queue **CustomerNotificationServiceQueue**, click the **Subscribe to Amazon SNS Topic** button in the SNS Subscriptions tab.
2424

2525
{{%expand "Detailed description" %}}
2626
![Step 3](step-3-console.png)
2727
{{% /expand%}}
2828

29-
In the pop up window, select the **RideCompletionTopic** and click **Subscribe**. Click **Ok** in the confirmation dialog.
29+
In the Subscribe to Amazon SNS topic window, select the **RideCompletionTopic** and click **Save**.
3030

3131
{{%expand "Detailed description" %}}
3232
![Step 4](step-4-console.png)
@@ -35,17 +35,31 @@ In the pop up window, select the **RideCompletionTopic** and click **Subscribe**
3535
{{% notice tip %}}
3636
You may wondering why we don't create the subscription from the Amazon SNS console as shown below. If we create a subscription from Amazon SNS to Amazon SQS, Amazon SNS will send a confirmation message first to Amazon SQS. As long as this subscription is not confirmed, Amazon SNS will not start sending messages to Amazon SQS.
3737
By initiating the subscription from the subscriber side, this is not necessary.
38-
![Tip](tip.png)
3938
{{% /notice %}}
4039

41-
#### 3. Validate the subscription confirmation
40+
#### 3. Validate the subscription and add the filter to the subscription
4241

43-
Browse to your **[Amazon SNS console](https://console.aws.amazon.com/sns/v3/home?#/topics)** to list your existing topics. Select the **RideCompletionTopic** and verify, the subscription has the status **Confirmed**.
42+
Select the newly created subscription from the SNS subscriptions list and click the **View in SNS** button (this should open a new tab to the subscription in the **[Amazon SNS console](https://console.aws.amazon.com/sns/v3/home?#/topics)**).
4443

4544
{{%expand "Detailed description" %}}
46-
![Step 5](step-5-console.png)
45+
![Step 4](step-5-console.png)
4746
{{% /expand%}}
4847

48+
Confirm that the Status of the subscription is **Confirmed**.
49+
50+
{{%expand "Detailed description" %}}
51+
![Step 4](step-5-1-console.png)
52+
{{% /expand%}}
53+
54+
Click **Edit** to modify the subscription.
55+
56+
In the Edit subscription screen, click **Enable raw message delivery**. Click **Save Changes**
57+
58+
{{%expand "Detailed description" %}}
59+
![Step 6](step-5-2-console.png)
60+
{{% /expand%}}
61+
62+
Now that we have updated the subscription, let's set the IAM policy for our Lambda function to access the queue.
4963

5064
#### 4. Grant permissions to our function to access the Amazon SQS queue
5165

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /