Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit e69c8a0

Browse files
committed
update 'Real-time Data Streaming' module with new IAM screenshots
1 parent 41e0634 commit e69c8a0

File tree

8 files changed

+51
-18
lines changed

8 files changed

+51
-18
lines changed

DataProcessing/guide/content/streaming-data.md

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ the stream.
8181
1. In the Amazon Kinesis Streams console, click on **wildrydes** and click on
8282
the **Monitoring** tab.
8383

84-
1. After several minutes, you will see the **Put Record (success count)** graph
84+
1. After several minutes, you will see the **Put Record Success (percent) - Average** graph
8585
begin to record a single put a second.
8686

8787
#### 3. Read messages from the stream
@@ -177,13 +177,33 @@ the stream to plot the unicorns on the map.
177177

178178
1. Tick the **Read** and **List** permissions checkboxes.
179179

180-
1. Click **Resources** to limit the role to the **wildrydes** stream.
180+
1. Click **Resources** to limit the role to the **wildrydes** stream and consumer.
181+
182+
1. Click **Add ARN** next to **consumer**.
183+
184+
1. In the **Add ARN(s)** dialog box, enter the following information:
185+
186+
* the region you're using in **Region** (e.g. us-east-1)
187+
* your [Account ID][find-account-id] in **Account**
188+
* `*` in **Stream type**
189+
* `wildrydes` in **Stream name**
190+
* `*` in **Consumer name**
191+
* `*` in **Consumer creation timestamp**
192+
193+
<br/>
194+
![](images/streaming-data-consumer-arn.png)
195+
196+
1. Click **Add**.
181197

182198
1. Click **Add ARN** next to **stream**.
183199

184-
1. Enter the region you're using in **Region** (e.g. us-east-1), your [Account
185-
ID][find-account-id] in **Account**, and `wildrydes` in **Stream name**.
200+
1. In the **Add ARN(s)** dialog box, enter the following information:
201+
202+
* the region you're using in **Region** (e.g. us-east-1)
203+
* your [Account ID][find-account-id] in **Account**
204+
* `wildrydes` in **Stream name**
186205

206+
<br/>
187207
![](images/streaming-data-stream-arn.png)
188208

189209
1. Click **Add**.

DataProcessing/guide/site/cleanup.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ <h4 id="amazon-dynamodb">Amazon DynamoDB</h4>
6262
<p><strong><em>UnicornSensorData</em> table</strong></p>
6363
<ol type="1">
6464
<li><p>Click on <strong>Services</strong> then select <strong>DynamoDB</strong> in the Database section.</p></li>
65-
<li><p>Click <strong>Tables</strong> from the left-hand navigation</p></li>
65+
<li><p>Click <strong>Tables</strong> from the left-hand navigation.</p></li>
6666
<li><p>Click the radio button next to <strong>UnicornSensorData</strong>.</p></li>
6767
<li><p>Click <strong>Delete table</strong> and click <strong>Delete</strong> to confirm the deletion.</p></li>
6868
</ol>

DataProcessing/guide/site/dashboard.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ <h6 class='modal-title'>Configure Dashboard</h6>
2323
<label for='cognitoIdentityPoolId'>Cognito Identity Pool ID</label>
2424
<input autocomplete='off' class='form-control' id='cognitoIdentityPoolId' spellcheck='false' type='text'>
2525
</div>
26-
<div class='form-group'>
27-
<label for='kinesisStreamName'>Kinesis Data Stream Name</label>
28-
<input autocomplete='off' class='form-control' id='kinesisStreamName' spellcheck='false' type='text' value='wildrydes'>
29-
</div>
3026
</div>
3127
<div class='modal-footer'>
3228
<button class='btn btn-primary' id='start'>Start</button>

DataProcessing/guide/site/data-lake.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ <h4 id="create-an-amazon-s3-bucket">1. Create an Amazon S3 bucket</h4>
3838
<li><p>Provide a globally unique name for your bucket such as <code>wildrydes-data-yourname</code>.</p></li>
3939
<li><p>Select the region you’ve been using for your bucket.</p>
4040
<p><img src="images/data-lake-create-bucket.png" /></kbd></p></li>
41-
<li><p>Click <strong>Next</strong> three times, and then click <strong>Create bucket</strong>.</p></li>
41+
<li><p>Click <strong>Next</strong> twice, and then click <strong>Create bucket</strong>.</p></li>
4242
</ol>
4343
<h4 id="create-an-amazon-kinesis-data-firehose-delivery-stream">2. Create an Amazon Kinesis Data Firehose delivery stream</h4>
4444
<p>Create an Amazon Kinesis Data Firehose delivery stream named <strong>wildrydes</strong> that is configured to source data from the <strong>wildrydes</strong> stream and deliver its contents in batches to the S3 bucket created in the previous section.</p>
@@ -88,7 +88,7 @@ <h4 id="create-an-amazon-athena-table">3. Create an Amazon Athena table</h4>
8888
<button class="btn btn-outline-primary copy">
8989
Copy to Clipboard
9090
</button></li>
91-
<li><p>Click <strong>Run Query</strong>. You might have to run the query twice.</p></li>
91+
<li><p>Click <strong>Run Query</strong>.</p></li>
9292
<li><p>Verify the table <strong>wildrydes</strong> was created by ensuring it has been added to the list of tables in the left navigation.</p></li>
9393
</ol>
9494
<h4 id="explore-the-batched-data-files">4. Explore the batched data files</h4>
124 KB
Loading
28.6 KB
Loading

DataProcessing/guide/site/stream-processing.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ <h4 id="create-a-lambda-function-to-process-the-stream">3. Create a Lambda funct
8080
<p><img src="./images/stream-processing-lambda-basic-information.png" /></p></li>
8181
<li><p>Click <strong>Create function</strong>.</p></li>
8282
<li><p>Scroll down to the <strong>Function code</strong> section.</p></li>
83-
<li><p>Select <strong>Node.js 8.10</strong> from <strong>Runtime</strong>.</p></li>
83+
<li><p>Select <strong>Node.js 6.10</strong> from <strong>Runtime</strong>.</p></li>
8484
<li><p>Copy and paste the JavaScript code below into the code editor.</p>
8585
<div class="sourceCode" id="cb1"><pre class="sourceCode javascript"><code class="sourceCode javascript"><a class="sourceLine" id="cb1-1" data-line-number="1"><span class="st">&#39;use strict&#39;</span><span class="op">;</span></a>
8686
<a class="sourceLine" id="cb1-2" data-line-number="2"></a>
@@ -171,7 +171,7 @@ <h4 id="monitor-the-lambda-function">4. Monitor the Lambda function</h4>
171171
<ol type="1">
172172
<li><p>Run the producer to start emiting sensor data to the stream with a unique unicorn name.</p>
173173
<pre class="console"><code>./producer -name Rocinante</code></pre></li>
174-
<li><p>Click on the <strong>Monitoring</strong> tab and explore the metrics available to monitor the function. Click on <strong>View logs in CloudWatch</strong> to explore the function’s log output.</p></li>
174+
<li><p>Click on the <strong>Monitoring</strong> tab and explore the metrics available to monitor the function. Click on <strong>Jump to Logs</strong> to explore the function’s log output.</p></li>
175175
</ol>
176176
<button class="btn btn-outline-primary copy">
177177
Copy to Clipboard

DataProcessing/guide/site/streaming-data.html

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ <h4 id="produce-messages-into-the-stream">2. Produce messages into the stream</h
5757
<pre class="console"><code>$ ./producer -region us-east-1
5858
..................................................</code></pre></li>
5959
<li><p>In the Amazon Kinesis Streams console, click on <strong>wildrydes</strong> and click on the <strong>Monitoring</strong> tab.</p></li>
60-
<li><p>After several minutes, you will see the <strong>Put Record (success count)</strong> graph begin to record a single put a second.</p></li>
60+
<li><p>After several minutes, you will see the <strong>Put Record Success (percent) - Average</strong> graph begin to record a single put a second.</p></li>
6161
</ol>
6262
<h4 id="read-messages-from-the-stream">3. Read messages from the stream</h4>
6363
<p><strong>✅ Step-by-step Instructions</strong></p>
@@ -116,10 +116,27 @@ <h4 id="grant-the-unauthenticated-role-access-to-the-stream">5. Grant the unauth
116116
<li><p>Click on <strong>Choose a service</strong> and click <strong>Kinesis</strong>.</p></li>
117117
<li><p>Click on <strong>Actions</strong>.</p></li>
118118
<li><p>Tick the <strong>Read</strong> and <strong>List</strong> permissions checkboxes.</p></li>
119-
<li><p>Click <strong>Resources</strong> to limit the role to the <strong>wildrydes</strong> stream.</p></li>
119+
<li><p>Click <strong>Resources</strong> to limit the role to the <strong>wildrydes</strong> stream and consumer.</p></li>
120+
<li><p>Click <strong>Add ARN</strong> next to <strong>consumer</strong>.</p></li>
121+
<li><p>In the <strong>Add ARN(s)</strong> dialog box, enter the following information:</p>
122+
<ul>
123+
<li>the region you’re using in <strong>Region</strong> (e.g. us-east-1)</li>
124+
<li>your <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/console_account-alias.html">Account ID</a> in <strong>Account</strong></li>
125+
<li><code>*</code> in <strong>Stream type</strong></li>
126+
<li><code>wildrydes</code> in <strong>Stream name</strong></li>
127+
<li><code>*</code> in <strong>Consumer name</strong></li>
128+
<li><code>*</code> in <strong>Consumer creation timestamp</strong></li>
129+
</ul>
130+
<p><br/> <img src="images/streaming-data-consumer-arn.png" /></p></li>
131+
<li><p>Click <strong>Add</strong>.</p></li>
120132
<li><p>Click <strong>Add ARN</strong> next to <strong>stream</strong>.</p></li>
121-
<li><p>Enter the region you’re using in <strong>Region</strong> (e.g. us-east-1), your <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/console_account-alias.html">Account ID</a> in <strong>Account</strong>, and <code>wildrydes</code> in <strong>Stream name</strong>.</p>
122-
<p><img src="images/streaming-data-stream-arn.png" /></p></li>
133+
<li><p>In the <strong>Add ARN(s)</strong> dialog box, enter the following information:</p>
134+
<ul>
135+
<li>the region you’re using in <strong>Region</strong> (e.g. us-east-1)</li>
136+
<li>your <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/console_account-alias.html">Account ID</a> in <strong>Account</strong></li>
137+
<li><code>wildrydes</code> in <strong>Stream name</strong></li>
138+
</ul>
139+
<p><br/> <img src="images/streaming-data-stream-arn.png" /></p></li>
123140
<li><p>Click <strong>Add</strong>.</p>
124141
<p><img src="images/streaming-data-stream-policy.png" /></p></li>
125142
<li><p>Click <strong>Review policy</strong>.</p></li>
@@ -131,7 +148,7 @@ <h4 id="view-unicorn-status-on-the-dashboard">6. View unicorn status on the dash
131148
<p><strong>✅ Step-by-step directions</strong></p>
132149
<ol type="1">
133150
<li><p>Open the <a href="https://dataprocessing.wildrydes.com/dashboard.html">Unicorn Dashboard</a>.</p></li>
134-
<li><p>Enter the <strong>Cognito Identity Pool ID</strong> you noted in step 4 and the <strong>Kinesis Data Stream name</strong> and click <strong>Start</strong>.</p>
151+
<li><p>Enter the <strong>Cognito Identity Pool ID</strong> you noted in step 4 and click <strong>Start</strong>.</p>
135152
<p><img src="./images/streaming-data-dashboard-configure.png" /></p></li>
136153
<li><p>Validate that you can see the unicorn on the map.</p>
137154
<p><img src="./images/streaming-data-map.png" /></p></li>

0 commit comments

Comments
 (0)