AWS Serverless Observability Workshop, Part I

PREREQUISITES

The following prerequisites are required for this workshops:

  • A computer with an internet connection running Microsoft Windows, Mac OS X, or Linux.
  • An internet browser such as Chrome, Firefox, Safari, Opera, or Edge.
  • Familiarity with common Linux commands and the concepts of CI/CD.

CREATE AN AWS ACCOUNT

If you don’t already have an AWS account with Administrator access: create one now by clicking here

On the left hand navigation, select Users, then click on the Add User button.

Enter the user details:

Attach the AdministratorAccess IAM Policy, and click Next: Tags

We will skip adding tags for the workshop. Click Next: Review

Click to create the new user:

Take note of the login URL and save it for future use:

Click on this URL to go to the AWS Management Console login page, use the username and password for the workshop user you just created.

CREATE A WORKSPACE

Launch Cloud9 in your closest region:

Accept the default values for Stack name and Parameters and click Create stack.

Wait until your Stack creating status shows as CREATE_COMPLETE

Go to your Cloud9 Environment.

Find the environment named serverless-observability-workshop, click Open IDE.

When the Cloud9 console is shown, customize the environment by closing the welcome tab and the AWS Toolkit tab, lower work area, and opening a new terminal tab in the main work area:

Your workspace should now look like this:

UPDATE YOUR WORKSPACE

Install dependencies
  • Run the following commands in the Cloud9 terminal to update nvm (Node Version Manager) and install jq (a command-line JSON processor) and Locust (a load testing tool)
nvm install stable
sudo yum -y install jq 
sudo pip3 install locust

UPDATE IAM SETTINGS FOR YOUR WORKSPACE

  • Return to your workspace and click the gear icon (in top right corner), or click to open a new tab and choose “Open Preferences”
  • Select AWS SETTINGS

  • Turn off AWS managed temporary credentials

  • Close the Preferences tab

References:

17