Take note of the ip address given to the VM
If you wish to use a custom domain, obtain your VM ip address from the Azure Portal and create an A record that points @ to the ip of the VM
| WITH | |
| FlattenedDetections AS | |
| ( | |
| SELECT | |
| DeepStreamInput.sensorId, | |
| (SUBSTRING (arrayElement.ArrayValue, REGEXMATCH(arrayElement.ArrayValue, '\|[a-z]') + 1, LEN(arrayElement.ArrayValue))) as object, | |
| DeepStreamInput.[@timestamp], COUNT(DeepStreamInput.[@timestamp]) as matches | |
| FROM | |
| [DeepStreamInput] AS DeepStreamInput TIMESTAMP BY DeepStreamInput.[@timestamp] | |
| CROSS APPLY GetArrayElements(objects) AS arrayElement |
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: stress-deployment | |
| labels: | |
| app: stress | |
| spec: | |
| replicas: 1 | |
| selector: | |
| matchLabels: |
| Endpoint=sb://cloudcity-sharedeventhub.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=uk67xjrxsDtPIszaec0N5WROwX3q78U9YSZDDcRZIrE=;EntityPath=flysim-shared-input-hub |
| #!/bin/bash | |
| # | |
| # Setup Azure Dev-Ops ARM32 | |
| # | |
| ### update your system with the latest drivers | |
| sudo apt-get update | |
| ### Install the ARM32 gcc toolchain | |
| sudo apt-get -y install gcc-arm-linux-gnueabihf |
| /* | |
| WebRadio Example | |
| Very simple HTML app to control web streaming | |
| Copyright (C) 2017 Earle F. Philhower, III | |
| This program is free software: you can redistribute it and/or modify | |
| it under the terms of the GNU General Public License as published by | |
| the Free Software Foundation, either version 3 of the License, or | |
| (at your option) any later version. |
| /**************************************************************************** | |
| * audio_through/audio_through_main.cxx | |
| * | |
| * Copyright 2018 Sony Semiconductor Solutions Corporation | |
| * | |
| * Redistribution and use in source and binary forms, with or without | |
| * modification, are permitted provided that the following conditions | |
| * are met: | |
| * | |
| * 1. Redistributions of source code must retain the above copyright |
| #!/bin/bash | |
| usage(){ | |
| echo "***Azure IoT Edge GPU Provisioning Script***" | |
| echo "Usage: ./edgeprovision.sh <iothub.name> <environment> <platform>” | |
| } | |
| provision(){ | |
| install_docker | |
| if [ $platform == "gpu" ] |
| #include <openssl/bio.h> | |
| #include <openssl/evp.h> | |
| #include <openssl/hmac.h> | |
| #include <openssl/crypto.h> | |
| #include <time.h> | |
| #include <string.h> | |
| #include <openssl/buffer.h> | |
| #include <stdint.h> | |
| #include <ctype.h> | |
| #include <math.h> |
| #!/bin/bash | |
| usage(){ | |
| echo "***Azure IoT Edge GPU Provisioning Script***" | |
| echo "Usage: ./edgeprovision.sh <iothub.name> <environment> <platform> <acr.host> <acr.username> <acr.password>" | |
| } | |
| provision(){ | |
| install_docker | |
| if [ $platform == "gpu" ] |