The Skill we created in Tasks 1 & 2
The DynamoDB table we created in Task 3
- Open the DynamoDB Dashboard
- Click on 'Tables' in the left navigation pane
- Click on the name of the table you created in task 3
- Click on the 'Capacity' Tab in the right hand pane
- Check the boxes for 'Read capacity' & 'Write capacity' under the 'Auto Scaling' header
- The default settings should suffice
- Be mindful of the high 'Maximum provisioned capacity'
- You will require a new IAM role to authorize capacity scaling
- Select the radio button labeled 'New Role: DynamoDBAutoscaleRole'
- Click the blue 'Save' button
- The radio button for 'Existing role with pre-defined policies' should be selected
- The field 'Role Name' Should read 'DynamoDBAutoscaleRole'
- The rest of the settings should have remained as you selected them
- Open the SNS Dashboard in a new browser tab
- Click on 'Create a topic'
- Type
ALX402-Alarm
as the 'Topic Name' &ALX402
as the 'Display Name' - Click the blue 'Create Topic' button
- Copy the ARN for your Topic
- Click the grey 'Create Subscription' button
- Confirm the the 'Topic ARN' matches the one you copied
- Click the grey 'Create Subscription' button
- Chose 'SMS' or 'Email' from the 'Protocol' dropdown
- Type your phone number or email in the 'Endpoint' field
- Don't forget the Country Code if using SMS
- Click the blue 'Create subscription' button
- A green confirmation dialog will briefly appear
- Create the blue 'Publish to topic' button
- Fill out the title and message fields & leave everything else set to the default values
- Click the blue 'Publish message' button
- You should get an SMS or Email after a couple of seconds
- Open the DynamoDB Dashboard
- Click on 'Tables' from the left navigation bar
- Click on the name of the table you created in Task 3
- Click on the 'Alarms' Tab on the right pane
- Click the blue 'Create alarm' button
- Make sure the 'Send a Notification to SNS topic' checkbox is selected
- Select the 'ALX402-Alarm' topic you created in Task 10 from the 'SNS Topic' dropdown
- From the 'Whenever' dropdown select 'Consumed write capacity'
- Select '>=' from the 'Is' dropdown
- Type
5
in the 'Average Unit/Second' field - Leave the 'For at least' field set to '1' and the 'consecutive periods' set to '5 minutes'
- Type a descriptive name in the 'Name of Alarm' field
- Click the blue 'Create alarm' button
- Your Alarm should be listed under the 'Alarms' tab for that table