Skip to content

Cloud backend for the thingy.rocks AWS IoT dashboard developed using AWS CDK in TypeScript.

License

Notifications You must be signed in to change notification settings

NordicPlayground/thingy-rocks-cloud-aws-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c22953a · Feb 26, 2025
Jan 6, 2025
Jan 29, 2024
Jan 29, 2024
Feb 25, 2025
Feb 26, 2025
Feb 25, 2025
Feb 21, 2025
Feb 25, 2025
Feb 24, 2025
Feb 21, 2025
Jan 6, 2025
Feb 13, 2025
Nov 21, 2022
Nov 21, 2022
Feb 14, 2023
Nov 21, 2022
Nov 21, 2022
Jan 1, 2023
Feb 14, 2025
Feb 14, 2025
Feb 26, 2025
Feb 13, 2025
Oct 19, 2023
Feb 19, 2024
Feb 25, 2025
Feb 25, 2025
Feb 25, 2025
Feb 25, 2025
Nov 21, 2022
Jan 6, 2025

thingy.rocks IoT dashboard backend

GitHub Actions semantic-release Renovate Mergify Status @commitlint/config-conventional code style: prettier ESLint: TypeScript

Cloud backend for the thingy.rocks IoT dashboard developed using AWS CDK in TypeScript.

Installation in your AWS account

Setup

Provide your AWS credentials, for example using the .envrc (see the example).

Install the dependencies:

npm ci

Deploy

npm run build:container
# export the environment variable UDP_INGEST_CONTAINER_TAG as printed
npx cdk deploy

Enable AWS IoT Thing Index

Enable AWS IoT Thing indexing for the lwm2m named shadow and Thing connectivity.

Memfault integration

Configure these SSM parameters:

aws ssm put-parameter --name /thingy-rocks-backend/memfault/organizationAuthToken --type String --value <Memfault Organization Auth Token>
aws ssm put-parameter --name /thingy-rocks-backend/memfault/organizationId --type String --value <Memfault Organization ID>
aws ssm put-parameter --name /thingy-rocks-backend/memfault/projectId --type String --value <Memfault Project ID>

UDP ingress

udp.ingress.thingy.rocks receives UDP packages on port 6666.

API domain

A hosted Zone is created by the deployment.

Create a NS record in the DNS settings for thingy.rocks (in CloudFlare), with the ingress.thingy.rocks as the name and the list of nameservers from the output.