You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 9, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ This workshop has several lab exercises that you can complete to extend the func
9
9
***SMS Integration with Twilio**
10
10
This exercise wires together Twilio to an existing API Gateway stack. It shows how you can leverage templates in API Gateway to transform form posted data into JSON format for the backend lambda function.
11
11
***Search over the chat messages**
12
-
This exercise adds an ElasticSearch cluster, which is used to index chat messages streamed from a DynamoDB table.
12
+
This exercise adds an Elasticsearch cluster, which is used to index chat messages streamed from a DynamoDB table.
13
13
***Slack Integration**
14
14
This exercise integrates Slack into the chat application to send messages from Slack.
15
15
***Intel Edison Zombie Motion Sensor**
@@ -190,26 +190,26 @@ The result should look like the screenshot below:
190
190
191
191
* * *
192
192
193
-
## Lab 3 - Search over the chat messages with ElasticSearch Service
193
+
## Lab 3 - Search over the chat messages with Elasticsearch Service
194
194
195
-
In this section you'll configure an ElasticSearch Service domain to index chat messages in real-time from DynamoDB.
195
+
In this section you'll configure an Elasticsearch Service domain to index chat messages in real-time from DynamoDB.
196
196
197
-
**ElasticSearch Service Architecture**
198
-

197
+
**Elasticsearch Service Architecture**
198
+

199
199
200
-
1\. Select the Amazon ElasticSearch icon from the main console page.
200
+
1\. Select the Amazon Elasticsearch icon from the main console page.
201
201
202
-
2\. Create a new Amazon ElasticSearch domain. Provide it a name such as "zombiemessages". Click **Next**.
202
+
2\. Create a new Amazon Elasticsearch domain. Provide it a name such as "zombiemessages". Click **Next**.
203
203
204
204
3\. On the **Configure Cluster** page, leave the default cluster settings and click **Next**.
205
205
206
206
4\. For the access policy, select the **Allow or deny access to one or more AWS accounts or IAM users** option in the dropdown and fill in your account ID. Make sure **Allow** is selected for the "Effect" dropdown option. Click **OK**.
207
207
208
208
5\. Select **Next** to go to the domain review page.
209
209
210
-
6\. On the Review page, select **Confirm and create** to create your ElasticSearch cluster.
210
+
6\. On the Review page, select **Confirm and create** to create your Elasticsearch cluster.
211
211
212
-
7\. The creation of the ElasticSearch cluster takes approximately 10 minutes.
212
+
7\. The creation of the Elasticsearch cluster takes approximately 10 minutes.
213
213
214
214
8\. Take note of the Endpoint once the cluster starts, we'll need that for the Lambda function.
@@ -224,7 +224,7 @@ In this section you'll configure an ElasticSearch Service domain to index chat m
224
224
225
225
13\. Paste in the code from the ZombieWorkshopSearchIndexing.js file provided to you.
226
226
227
-
14\. On line 7 in the code provided, replace ENDPOINT_HERE with the ElasticSearch endpoint created in step 8\. Make sure it starts with https://
227
+
14\. On line 7 in the code provided, replace ENDPOINT_HERE with the Elasticsearch endpoint created in step 8\. Make sure it starts with https://
228
228
229
229
15\. Under the Role, create a new DynamoDB event stream role. When a new page opens confirming that you want to create a role, just click **Allow** to proceed.
230
230
@@ -239,9 +239,9 @@ In this section you'll configure an ElasticSearch Service domain to index chat m
239
239
20\. After creation, you should see an event source that is similar to the screenshot below:
21\. In the above step, we configured [DynamoDB Streams](http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Streams.html) to capture incoming messages on the table and trigger a Lambda function to push them to our ElasticSearch cluster.
242
+
21\. In the above step, we configured [DynamoDB Streams](http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Streams.html) to capture incoming messages on the table and trigger a Lambda function to push them to our Elasticsearch cluster.
243
243
244
-
22\. The "lambda_dynamo_streams" role that you selected for your Lambda function earlier does not currently have permissions to write to your ElasticSearch cluster. We will configure that now.
244
+
22\. The "lambda_dynamo_streams" role that you selected for your Lambda function earlier does not currently have permissions to write to your Elasticsearch cluster. We will configure that now.
245
245
246
246
23\. Navigate to **Identity and Access Management (IAM)** in the AWS Management Console. The icon for this service is green and is listed under the "Security & Identity" section.
247
247
@@ -281,9 +281,9 @@ In this section you'll configure an ElasticSearch Service domain to index chat m
281
281
]
282
282
}
283
283
```
284
-
27\. This new policy you have copied over includes a new Allow action, ```es:*``` which allows the role all actions on the Amazon ElasticSearch Service. Click the **Validate Policy** button and ensure that AWS returns a successful message "The Policy is valid". Then select **Apply Policy** to save it.
284
+
27\. This new policy you have copied over includes a new Allow action, ```es:*``` which allows the role all actions on the Amazon Elasticsearch Service. Click the **Validate Policy** button and ensure that AWS returns a successful message "The Policy is valid". Then select **Apply Policy** to save it.
285
285
286
-
28\. Now with the IAM permissions in place, your messages posted in the chat from this point forward will be indexed to ElasticSearch. Post a few messages in the chat. You should be able to see that messages are being indexed in the "Indices" section for your cluster in the ElasticSearch Service console.
286
+
28\. Now with the IAM permissions in place, your messages posted in the chat from this point forward will be indexed to Elasticsearch. Post a few messages in the chat. You should be able to see that messages are being indexed in the "Indices" section for your cluster in the Elasticsearch Service console.
@@ -501,7 +501,7 @@ In this section you will configure a Lambda function that triggers when messages
501
501
502
502
2\. Be sure to delete the TwilioProcessing Lambda Function. Also if you no longer plan to use Twilio, please delete your Twilio free trial account and/or phone numbers that you provisioned.
503
503
504
-
3\. Be sure to delete the ElasticSearch cluster and the associated Lambda function that you created for the ElasticSearch lab.
504
+
3\. Be sure to delete the Elasticsearch cluster and the associated Lambda function that you created for the Elasticsearch lab.
505
505
506
506
4\. Be sure to delete the Lambda function created as a part of the Slack lab and the Slack API resource you created. Also delete Slack if you no longer want an account.
0 commit comments