1 Setup AWS Account

This section describes how to create an AWS account and configure it for Kinesis video streaming as well as SMS Notifications. Kinesis video streaming is required to enable SAFR SCAN WebRTC Intercom and SMS Notifications enable you to send a notification to an operator to initiate the intercom call.

1.1 Create AWS Account

  1. Go to aws.com
  2. Create New Account (Choose "log in as Root Email" and then click "Create account")
    • You will need a credit card to create the account.
  3. Log in with the new account

Notes:

1.2 Create IAM User

Create one or more users with suitable permissions or as described below. With SAFR, you can create different users for different roles (SMS Messages, Intercom, and DVR Recording).

  1. If needed, click the "aws" logo in upper left
  2. Under "AWS Services" / "Find Services", search for "IAM" an click on that service (Identity and Access Management)
  3. Go to "Users under "Access Management"
  4. Click "Add User"
  5. Provide username and check "Programmatic access". For security, its best if you don't give this user AWS Management Console access.
  6. Under permissions, just choose "Attach existing policies directly"
  7. For SAFR SCAN Intercom or SAFR Camera DVR, add AmazonKinesis policy as follows:
    1. Then filter for the policy needed by typing "kinesis"
    2. Pick the AWS Managed Policy AmazonKinesisVideoStreamsFullAccess by checking its box
  8. For sending SMS messages to a mobile phone, add SMS policy as follows:
    1. Filter for the policy needed by typing "sms publish"
    2. Pick the AWS Managed Policy AWSIoTDeviceDefenderPublishFindingsToSNSMitigationAction by checking its box
  9. Proceed to next page where you can set tags, then review and create the user.
  10. Click “Create User”

1.3 Create Access Key

After creating the user, you must create an Access key ID and Secret for that user. This is what you use in SAFR as credentials to access the account.

  1. Go to Access management > Users to open the user from the list of IAM users.
  2. Click on “Create access key”
    A screenshot of a computer

Description automatically generated
  3. Pick a type such as “Application running outside of AWS” and click next.
  4. Provide a user friendly name for this Access Key and click next.
  5. ? STOP – Make sure to copy the Access Key Secret on this page

(warning)Make sure you copy the Secret Key at the end of the create user flow. This cannot be viewed later. If needed, create new access key for that user. Copy the Access key ID and Secret Key for later use. They will look something like this (these are not actual credentials)

  1. Access Key ID =AKIAZFZZ4WRETGZTQWFK (Just example – not actual credential)
  2. Secret Key =Emhi/OSPAmtjuEewrFRXW2CnoMFb5g+qaMwdI87a
  1. Store this information in a safe place for later use. These are the credentials you will use in SAFR to authorize needed functions such as SMS Messages, Intercom, and DVR Recording.

2 AWS Costs

This section serves as informational content. RealNetworks provides no guarantees regarding its accuracy. The reader is advised to independently verify projected costs and assumes responsibility for all AWS charges.

SAFR WebRTC will try to transmit audio and video directly between the devices. Audio and video will be routed through AWS Kinesis only if a connection cannot be established between SCAN and the mobile device running the SAFR Mobile App.

When no video is streamed through AWS, AWS costs are typically very low (pennies per month). Below is information on AWS Pricing.

AWS Kinesis charges for video ingested and egressed as well as data transferred out of AWS. Prices are roughly as follows:

  • Inbound Video and Audio: $0.085/GB (Kinesis Ingest)
  • Outbound Video and Audio: $0.085/GB (Kinesis Egress) + $0.09/GB (Data transfer)

SAFR Intercom uses 480p video and 48 kbps audio. Video traffic (if used) from SCAN to Operator is about 1 Mbps. Audio traffic either from or to SCAN is 48 kbps.

Questions or comments about the documentation? Email us at safr-doc-feedback@realnetworks.com .

1