Skip to content
This repository was archived by the owner on Oct 9, 2021. It is now read-only.

Commit 9db27d5

Browse files
committed
Merge pull request #3 from aaronkao/master
Fixed Elasticsearch branding
2 parents 02c9805 + 4ffbcc6 commit 9db27d5

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This workshop has several lab exercises that you can complete to extend the func
99
* **SMS Integration with Twilio**
1010
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.
1111
* **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.
1313
* **Slack Integration**
1414
This exercise integrates Slack into the chat application to send messages from Slack.
1515
* **Intel Edison Zombie Motion Sensor**
@@ -190,26 +190,26 @@ The result should look like the screenshot below:
190190

191191
* * *
192192

193-
## Lab 3 - Search over the chat messages with ElasticSearch Service
193+
## Lab 3 - Search over the chat messages with Elasticsearch Service
194194

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.
196196

197-
**ElasticSearch Service Architecture**
198-
![Overview of ElasticSearch Service Integration](/Images/ElasticSearchServiceOverview.png)
197+
**Elasticsearch Service Architecture**
198+
![Overview of Elasticsearch Service Integration](/Images/ElasticSearchServiceOverview.png)
199199

200-
1\. Select the Amazon ElasticSearch icon from the main console page.
200+
1\. Select the Amazon Elasticsearch icon from the main console page.
201201

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**.
203203

204204
3\. On the **Configure Cluster** page, leave the default cluster settings and click **Next**.
205205

206206
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**.
207207

208208
5\. Select **Next** to go to the domain review page.
209209

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.
211211

212-
7\. The creation of the ElasticSearch cluster takes approximately 10 minutes.
212+
7\. The creation of the Elasticsearch cluster takes approximately 10 minutes.
213213

214214
8\. Take note of the Endpoint once the cluster starts, we'll need that for the Lambda function.
215215
![API Gateway Invoke URL](/Images/Search-Step8.png)
@@ -224,7 +224,7 @@ In this section you'll configure an ElasticSearch Service domain to index chat m
224224

225225
13\. Paste in the code from the ZombieWorkshopSearchIndexing.js file provided to you.
226226

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://
228228

229229
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.
230230

@@ -239,9 +239,9 @@ In this section you'll configure an ElasticSearch Service domain to index chat m
239239
20\. After creation, you should see an event source that is similar to the screenshot below:
240240
![API Gateway Invoke URL](/Images/Search-Step20.png)
241241

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.
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.
243243

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.
245245

246246
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.
247247

@@ -281,9 +281,9 @@ In this section you'll configure an ElasticSearch Service domain to index chat m
281281
]
282282
}
283283
```
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.
285285

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.
287287
![API Gateway Invoke URL](/Images/Search-Done.png)
288288

289289
* * *
@@ -501,7 +501,7 @@ In this section you will configure a Lambda function that triggers when messages
501501

502502
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.
503503

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.
505505

506506
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.
507507

0 commit comments

Comments
 (0)