You are on page 1of 8

Academy Program

Cloud Computing Architecture Errata


Contents

Missing Default VPC .................................................................................................................. 1


Connecting to Windows EC2 Instances from Linux .................................................................... 1
Lab 05 Build your DB Server and interact with your DB using an App ..................................... 2
Task 2 .................................................................................................................................... 2
Task 3 .................................................................................................................................... 2
Task 4 .................................................................................................................................... 3
Lab 09 - Using Auto-Scaling with AWS Lambda......................................................................... 4
Task 3 .................................................................................................................................... 4
Task 4 .................................................................................................................................... 6
Task 5 .................................................................................................................................... 6
Lab 12 Implementing Serverless Architecture with AWS ......................................................... 7
Task 3 .................................................................................................................................... 7
Task 4 .................................................................................................................................... 7
Task 5 .................................................................................................................................... 8
Task 6 .................................................................................................................................... 8

Missing Default VPC


Some instances of a lab deploying without a default VPC have been recorded. If this happens to
you, please end the lab exercise and restart it.
Please let your instructor know if this causes you to run out of lab credits and arrangements will
be made to add more credits to your account.

Connecting to Windows EC2 Instances from Linux


Instructions for connecting to a Windows EC2 instance using Remote Desktop Protocol are
missing from the lab exercises.
Install an RDP client using the package manager of your distribution.

v1.08 1
Lab 05 Build your DB Server and interact with your DB using an
App
Task 2
Step 20
Click Add Subnet
Step 24
Click Continue

Task 3
Step 27
Click MySQL -> Next
Step 28
Select Production MySQL
Step 29
Click Next
Step 30b
For Multi-AZ deployment, select Create replica in different zone
Step 31
Click Next
Step 32b
Your dbgroup subnet group is already selected.
Step 32d
For VPC security groups, select Select existing VPC security groups and select your
DBSecurityGroup from the menu.
Step 32f
For Enhanced monitoring, select Disable enhanced monitoring
Step 34
Click View DB instance details
Step 35
Scroll down to the Connect section and wait until the endpoint is available, modifying, or
has transitioned from Not yet available to a URL. This may take up to 10 minutes.
Refresh the page by clicking on Instances on the navigation pane and clicking on
lab5db.

2
Step 36
Copy the Endpoint value. Your endpoint should look similar to the following example:
lab5db.cirucnffta.eu-west-1.rds.amazonaws.com

Task 4
Step 42a
For Endpoint, paste in the endpoint you copied previously.

3
Lab 09 - Using Auto-Scaling with AWS Lambda
Task 3
On the Services menu, click IAM.
In the navigation page, click Roles.
Click Create role.
Under AWS Service, click Lambda.

When the Select your use case expands, click Lambda.

Click the Next: Permissions button.

4
In the Policy type filter, type in AmazonEC2FullAccess and select AmazonEC2FullAccess.

Click the Next: Review button.


For Role name, type EC2TagSnapLambdaRole, and click Create role.

Navigate to Policies and click the Create Policy button.


Click the Select button on Create Your Own Policy.
For Policy Name, type EC2TagSnapLambdaInlinePolicy
For Policy Document, paste in the code block from the original lab instructions at step 30.
Click Create Policy
Search for your new policy and click on your new policy.

Click Attached entities


Click Attach
Select your EC2TagSnapLambdaRole role and click Attach Policy

5
Task 4
On the Services menu, click Lambda
Click Create a function.
On the Blueprints page, click Author from scratch.
For Name type EC2TagSnapLambdaFunction
For Role, select Choose an existing role.
For Existing role, select the EC2TagSnapLambdaRole role.
Click Create function
Ignore the warning that your user account is not authorized to perform kms:ListAliases
For Code entry type, select Edit code inline.
For Runtime, select Python 2.7
For Handler, type index.lambda_handler

Paste in the code from step 45 of the original lab instructions.


Check the Execution role is the Existing role EC2TagSnapLambdaRole
For Timeout in Basic settings, change the time to 3 minutes 0 seconds.
Click on the Trigger tab

Click +Add Trigger


Click in the dashed square and select SNS.
For SNS Topic, check your AsgTopic is selected
Check that Enable Trigger is checked and click Submit.
At the top of the page, click Save

Task 5
Return to the original lab instructions.

6
Lab 12 Implementing Serverless Architecture with AWS

Task 3
Step 24
Leave the remaining settings as their default and click Quick-Create Queue
Step 27
Leave the remaining settings as their default and click Quick-Create Queue

Task 4
On the Services menu, click Lambda.
Click Create a function
On the Create function page, click Author from scratch
On the Basic information page, for Name, type TransactionProcessor
For Role, make sure that Choose an existing role is selected.
For Existing role, click the role that contains the text S3LambdaDynamoDBRole. This gives
AWS Lambda the execution permissions required to access Amazon S3 and Amazon
DynamoDB.
Click Create function.
Note: Ignore any errors from IAM regarding ListAliases
On the Configuration tab of the TransactionProcessor page, change the Runtime to Python
2.7
For Handler, type index.lambda_handler
Delete all the code in the editor and paste in the code from step 46 of the original lab
instructions.
In the Basic settings pane, change the Timeout to 0min 20sec
Click the Triggers tab
Click +Add trigger
Click the empty square to the left of the Lambda icon.
In the drop-down list that appears, click S3
For Bucket, click the bucket that begins with qls and contains the text inputs3bucket
For Event type, click Object Created (All).
Make sure Enable trigger is checked.
Click Submit

7
At the top of the page, click Save.

Task 5
Click Functions near the top left corner of the page (you may need to expand a menu column).
Click Create a function
On the Create function page, click Author from scratch
On the Basic information page, for Name, type TransactionAggregatorNotifier
For Role, make sure that Choose an existing role is selected.
For Existing role, click the role that contains the text SNSLambdaDynamoDBRole. This
gives AWS Lambda the execution permissions required to access Amazon SNS and Amazon
DynamoDB.
Click Create function.
Note: Ignore any errors from IAM regarding ListAliases
On the Configuration tab of the TransactionAggregatorNotifier page, change the Runtime to
Python 2.7
For Handler, type index.lambda_handler
Delete all the code in the editor and paste in the code from step 68 of the original lab
instructions.
Edit line 9, replacing the text within single quotes with the ARN you copied earlier in the
exercise.
In the Basic settings pane, change the Timeout to 0min 20sec
Click the Triggers tab
Click +Add trigger
Click the empty square to the left of the Lambda icon.
In the drop-down list that appears, click DynamoDB
In the drop-down list for DynanmoDB table, select Transactions.
In the drop-down list for Starting position, select Trim horizon.
Check the checkbox for Enable trigger so that it is checked.
Click Submit
At the top of the page, click Save.

Task 6
Step 81
Click Upload

You might also like