Skip to content

nmatsui/qiita_azure_fiware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qiita_azure_fiware

A demonstration to construct FIWARE IoT platform on Microsoft Azure.

architecture

Getting started

set your variable

  1. copy variables/env.azure.temp to variables/env.azure, and edit variables to your own.
  2. copy variables/env.fiware.temp to variables/env.fiware, and edit variable if you want.

start Azure managed services

  1. log in Azure

    $ ./installation/azure/01_login.sh
  2. create resource group

    $ ./installation/azure/02_create_resourcegroup.sh
  3. start Azure AKS

    $ ./installation/azure/03_start_aks.sh
  4. start Azure ServiceBus

    $ ./installation/azure/04_start_servicebus.sh
  5. after started Azure AKS, start Azure Database for PostgreSQL

    $ ./installation/azure/05_start_postgres.sh

start MongoDB on Azure AKS

  1. start MongoDB Cluster

    $ ./installation/fiware/01_start_mongodb.sh

start FIWARE components

  1. after started MongoDB Cluster, start FIWARE Orion

    $ ./installation/fiware/02_start_orion.sh
  2. after started MongoDB Cluster and FIWARE Orion, start FIWARE IoTAgent JSON

    $ ./installation/fiware/03_start_iotagent-json.sh
  3. start FIWARE Cygnus

    $ ./installation/fiware/04_start_cygnus-postgresql.sh
  4. create a table for FIWARE Cygnus on Azure Database for PostgreSQL

    $ ./installation/fiware/05_create_table.sh

set up FIWARE IoTAgent JSON and FIWARE Orion

  1. register Service Group(s) to FIWARE IoTAgent JSON

    $ ./settings/fiware/01_register_servicegroup.sh
  2. register Device(s) to FIWARE IoTAgent JSON

    $ ./settings/fiware/02_register_devices.sh
  3. register Subscription(s) to FIWARE Orion

    $ ./settings/fiware/03_register_subscription.sh

try to send and receive amqp messages between FIWARE on Azure and dummy IoT device

  1. build a docker container as dummy IoT device

    $ ./execution/01_create_dummyclient.sh
  2. send attributes from dummy IoT device to FIWARE on Azure

    $ ./execution/02_send_attributes.sh
    $ ./execution/03_show_orion.sh
    $ ./execution/04_show_postgres.sh
  3. send a command to FIWARE Orion

    $ ./execution/05_send_cmd.sh
    $ ./execution/06_show_queue.sh
  4. receive the command from Azure ServiceBus and send a command resule to FIWARE

    $ ./execution/07_process_cmd.sh
    $ ./execution/03_show_orion.sh
    $ ./execution/04_show_postgres.sh

License

MIT License

Copyright

Copyright (c) 2020 Nobuyuki Matsui

About

A demonstration to construct FIWARE IoT platform on Microsoft Azure.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published