Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Microsoft Azure support #339

Closed
66 of 75 tasks
coderbyheart opened this issue Dec 3, 2021 · 0 comments
Closed
66 of 75 tasks

Microsoft Azure support #339

coderbyheart opened this issue Dec 3, 2021 · 0 comments

Comments

@coderbyheart
Copy link
Member

coderbyheart commented Dec 3, 2021

Previously: bifravst/bifravst#29

Service Equivalents

Porting the AWS-based implementation to
Microsoft Azure (Azure) means finding the
equivalent services:

Feature AWS Azure
MQTT Broker IoT Core IoT Hub, Event Grid
Historical Data Analysis Athena Data Explorer ¹ - Synapse Analytics ² Cosmos DB ³ (minimum price per month: ~24 USD)
Website Hosting CloudFront + S3 Blob Storage
CI/CD CodeBuild + CodePipeline ARM with GitHub Actions
User Authentication Cognito Active Directory B2C
Infrastructure as Code CDK Resource Manager Templates

¹ The minimum price for Azure Data Explore per month is around $220.

Resources

Notes

Features

taken from
the AWS implementation's features

  • Look into
    Azure Resource Manager
    to set up all resources
  • Look into App Service Static Web Apps
  • add role assignment (azure functions need to access IoT hub) to ARM
  • remember to use B2C web app in website authentication (client id, and
    Issuer URL:
    https://bifravstwebsite.azurewebsites.net/.auth/login/aad/callback)
  • Connect a Cat Tracker
  • └ Generate a certificate and connect
  • Device: Update Shadow
  • └ Publish device information to desired state
  • Update Device Configuration
  • └ Update the device configuration as a user
  • How to retrieve config object only (2304 byte size limit!)
  • Read Device Shadow
  • └ Read reported and desired state as user
  • Query Data
  • └ Query historical data
  • List cats
  • ├ list cats
  • ├ view a cat
  • ├ name/rename a cat
  • └ assign a picture to a cat
  • Device Firmware Upgrade over the air
  • ├ Create a new firmware upgraded as a user
  • ├ Fetch the job as a device and mark as in progress
  • ├ describe the job
  • └ cancel the job
  • Device: Batch Data
  • ├ Devices can publish batch data
  • └ Query the historical gps data
  • Delete cats
  • └ Delete the certificate
  • Delete a user
  • Uninstall
  • Docs: Running the App & Deploying
  • nRF Cloud Location services
  • Azure Device Update for IoT Hub support #340

End-to-end tests

  • Feature: Register a new account
  • └ Scenario: Sign up
  • ├ Scenario: Initially the user should not have policies
  • └ Scenario: Self-assign the policy
  • Feature: Connect a Cat Tracker
  • └ Scenario: Generate a certificate and connect
  • Feature: Device: Update Shadow
  • └ Scenario: Publish device information to reported state
  • Feature: Update Device Configuration
  • └ Scenario: Update the device configuration as a user
  • Feature: Read Device Shadow
  • └ Scenario: Read reported and desired state as user
  • Feature: Query Data
  • └ Scenario: Query historical data
  • Feature: List cats
  • └ Scenario: The user should be able to list cats
  • Feature: Device Firmware Upgrade over the air
  • ├ Scenario: Create a new firmware upgraded as a user
  • ├ Scenario: Fetch the job as a device and mark as in progress
  • ├ Scenario: describe the job
  • ├ Scenario: cancel the job
  • └ Scenario: delete the job
  • Feature: Device: Messages
  • ├ Scenario: Devices publishes that a button was pressed
  • └ Scenario: Query the message data
  • Feature: Device: Batch Data
  • ├ Scenario: Devices can publish batch data
  • └ Scenario: Query the historical gps data
  • Feature: Cell Geolocation Publish API
  • ├ Scenario: Provide cell geolocation
  • └ Scenario: Query a cell
  • Feature: Cell Geolocation API
  • ├ Scenario: Device enters a cell
  • ├ Scenario: Device acquires a GPS fix
  • ├ Scenario: Query a cell: first time
  • └ Scenario: Query a cell
  • Feature: Delete cats
  • └ Scenario: Delete the certificate
  • Feature: Delete a user
  • └ Scenario: un-assign the IoT policy
@NordicSemiconductor NordicSemiconductor locked and limited conversation to collaborators Jan 19, 2023
@coderbyheart coderbyheart converted this issue into discussion #623 Jan 19, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Projects
Development

No branches or pull requests

1 participant