Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: awsdocs/aws-panorama-developer-guide
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.1
Choose a base ref
...
head repository: awsdocs/aws-panorama-developer-guide
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Mar 25, 2022

  1. provision device script

    mwunderl committed Mar 25, 2022
    Copy the full SHA
    3779e54 View commit details

Commits on Mar 28, 2022

  1. deployment script

    mwunderl committed Mar 28, 2022
    Copy the full SHA
    66bc6e9 View commit details
  2. scripts

    mwunderl committed Mar 28, 2022
    Copy the full SHA
    0fcb509 View commit details
  3. readme

    mwunderl committed Mar 28, 2022
    Copy the full SHA
    386fdec View commit details

Commits on Mar 29, 2022

  1. typo

    mwunderl committed Mar 29, 2022
    Copy the full SHA
    523f516 View commit details
  2. Copy the full SHA
    34f85df View commit details
  3. cleanup

    mwunderl committed Mar 29, 2022
    Copy the full SHA
    3cc20d1 View commit details
  4. SDK reference headings

    mwunderl authored Mar 29, 2022
    Copy the full SHA
    5ea018a View commit details

Commits on Mar 30, 2022

  1. Copy the full SHA
    a6aae51 View commit details
  2. skip cached frames

    mwunderl committed Mar 30, 2022
    Copy the full SHA
    08cfd7e View commit details
  3. release notes

    mwunderl committed Mar 30, 2022
    Copy the full SHA
    84945d8 View commit details

Commits on Mar 31, 2022

  1. change log

    mwunderl committed Mar 31, 2022
    Copy the full SHA
    25fab56 View commit details

Commits on Apr 21, 2022

  1. refactor preprocessor

    mwunderl committed Apr 21, 2022
    Copy the full SHA
    32a2e35 View commit details
  2. correct color channel order

    mwunderl committed Apr 21, 2022
    Copy the full SHA
    9fed63d View commit details

Commits on May 10, 2022

  1. appliance software 4.3.55

    mwunderl committed May 10, 2022
    Copy the full SHA
    ea16eec View commit details

Commits on Jun 2, 2022

  1. VPC endpoint templates

    mwunderl committed Jun 2, 2022
    Copy the full SHA
    3dcdd7c View commit details

Commits on Jun 16, 2022

  1. error handling

    mwunderl committed Jun 16, 2022
    Copy the full SHA
    1b390d7 View commit details
  2. check updates script

    mwunderl committed Jun 16, 2022
    Copy the full SHA
    7c70aff View commit details
  3. apply updates

    mwunderl committed Jun 16, 2022
    Copy the full SHA
    173614c View commit details

Commits on Jun 22, 2022

  1. retire preview content

    mwunderl committed Jun 22, 2022
    Copy the full SHA
    b1c7077 View commit details
  2. Copy the full SHA
    12d65f1 View commit details
  3. Copy the full SHA
    0f42c74 View commit details
  4. Copy the full SHA
    91a93bf View commit details

Commits on Jun 24, 2022

  1. Copy the full SHA
    0489654 View commit details

Commits on Aug 24, 2022

  1. appliance software 4.3.93

    mwunderl committed Aug 24, 2022
    Copy the full SHA
    44b9ff3 View commit details
  2. egress logs, sample repos

    mwunderl committed Aug 24, 2022
    Copy the full SHA
    12f1980 View commit details
  3. release notes

    mwunderl committed Aug 24, 2022
    Copy the full SHA
    8994eea View commit details
  4. release notes

    mwunderl committed Aug 24, 2022
    Copy the full SHA
    19efeba View commit details

Commits on Aug 30, 2022

  1. CloudFormation templates

    mwunderl committed Aug 30, 2022
    Copy the full SHA
    3de35bd View commit details

Commits on Sep 28, 2022

  1. sample app scripts, reqs

    mwunderl committed Sep 28, 2022
    Copy the full SHA
    fbdf091 View commit details

Commits on Oct 12, 2022

  1. Copy the full SHA
    d4aff3a View commit details
  2. change log

    mwunderl committed Oct 12, 2022
    Copy the full SHA
    ea588b8 View commit details

Commits on Oct 14, 2022

  1. change log

    mwunderl committed Oct 14, 2022
    Copy the full SHA
    034d795 View commit details
  2. onSignal node launch option

    mwunderl committed Oct 14, 2022
    Copy the full SHA
    1de445d View commit details

Commits on Oct 17, 2022

  1. Copy the full SHA
    97a4497 View commit details

Commits on Oct 18, 2022

  1. Copy the full SHA
    0b96aa8 View commit details

Commits on Nov 16, 2022

  1. Copy the full SHA
    151bc95 View commit details

Commits on Nov 18, 2022

  1. metrics display issue

    mwunderl committed Nov 18, 2022
    Copy the full SHA
    7088cd1 View commit details

Commits on Dec 20, 2022

  1. timeout option

    mwunderl committed Dec 20, 2022
    Copy the full SHA
    821e141 View commit details

Commits on Jan 24, 2023

  1. device software 5.0.74

    mwunderl committed Jan 24, 2023
    Copy the full SHA
    9aaf17a View commit details

Commits on Feb 25, 2023

  1. Copy the full SHA
    99fa2e4 View commit details
  2. Copy the full SHA
    d33a874 View commit details

Commits on Mar 31, 2023

  1. 5.1.7 release

    mwunderl committed Mar 31, 2023
    Copy the full SHA
    489ac38 View commit details

Commits on Apr 7, 2023

  1. amend 5.1.7 release notes

    mwunderl committed Apr 7, 2023
    Copy the full SHA
    0f9e99a View commit details

Commits on Jun 12, 2023

  1. Copy the full SHA
    0f1b395 View commit details

Commits on Jun 29, 2023

  1. update README

    mwunderl committed Jun 29, 2023
    Copy the full SHA
    a6c7466 View commit details

Commits on Jul 6, 2023

  1. software update 6.0.8

    mwunderl committed Jul 6, 2023
    Copy the full SHA
    4a8d7fd View commit details

Commits on Aug 28, 2023

  1. inbound ports, routing rules

    mwunderl committed Aug 28, 2023
    Copy the full SHA
    d81e71e View commit details

Commits on Sep 6, 2023

  1. appliance software 6.2.1

    mwunderl committed Sep 6, 2023
    Copy the full SHA
    8b9025e View commit details

Commits on Oct 23, 2023

  1. base image 1.2.0-py38

    mwunderl committed Oct 23, 2023
    Copy the full SHA
    ba90825 View commit details
Showing with 1,857 additions and 3,405 deletions.
  1. +3 −0 .gitignore
  2. +5 −2 README.md
  3. +47 −0 cloudformation-templates/README.md
  4. +44 −0 cloudformation-templates/alarm-application.yml
  5. +44 −0 cloudformation-templates/alarm-device.yml
  6. +2 −2 cloudformation-templates/create-stack.sh
  7. +297 −0 cloudformation-templates/vpc-appliance.yml
  8. +142 −0 cloudformation-templates/vpc-endpoint.yml
  9. +0 −13 docs-source/appliance-applications.md
  10. +0 −43 docs-source/appliance-buttons.md
  11. +0 −43 docs-source/appliance-cameras.md
  12. +0 −44 docs-source/appliance-manage.md
  13. +0 −49 docs-source/appliance-network.md
  14. +0 −42 docs-source/applications-awssdk.md
  15. +0 −118 docs-source/applications-devenvwindows.md
  16. +0 −66 docs-source/applications-gpuaccess.md
  17. +0 −70 docs-source/applications-manage.md
  18. +0 −53 docs-source/applications-manifest-parameters.md
  19. +0 −89 docs-source/applications-manifest.md
  20. +0 −63 docs-source/applications-migrate.md
  21. +0 −88 docs-source/applications-models.md
  22. +0 −137 docs-source/applications-nodes.md
  23. +0 −52 docs-source/applications-overrides.md
  24. +0 −52 docs-source/applications-packages.md
  25. +0 −32 docs-source/applications-panoramasdk.md
  26. +0 −205 docs-source/applications-ports.md
  27. +0 −34 docs-source/gettingstarted-compatibility.md
  28. +0 −37 docs-source/gettingstarted-concepts.md
  29. +0 −195 docs-source/gettingstarted-deploy.md
  30. +0 −32 docs-source/gettingstarted-hardware.md
  31. +0 −460 docs-source/gettingstarted-sample.md
  32. +0 −119 docs-source/gettingstarted-setup.md
  33. +0 −68 docs-source/index.md
  34. +0 −17 docs-source/monitoring-console.md
  35. +0 −101 docs-source/monitoring-logging.md
  36. +0 −57 docs-source/monitoring-metrics.md
  37. +0 −14 docs-source/panorama-appliance.md
  38. +0 −11 docs-source/panorama-applications.md
  39. +0 −18 docs-source/panorama-development.md
  40. +0 −18 docs-source/panorama-gettingstarted.md
  41. +0 −12 docs-source/panorama-monitoring.md
  42. +0 −18 docs-source/panorama-permissions.md
  43. +0 −16 docs-source/panorama-releases.md
  44. +0 −49 docs-source/panorama-samples.md
  45. +0 −16 docs-source/panorama-security.md
  46. +0 −41 docs-source/panorama-troubleshooting.md
  47. +0 −22 docs-source/panorama-welcome.md
  48. +0 −37 docs-source/permissions-application.md
  49. +0 −100 docs-source/permissions-services.md
  50. +0 −16 docs-source/permissions-user.md
  51. +0 −22 docs-source/security-compliance.md
  52. +0 −53 docs-source/security-dataprotection.md
  53. +0 −27 docs-source/security-iam-awsmanpol.md
  54. +0 −11 docs-source/security-iam-trustpolicies.md
  55. +0 −101 docs-source/security-iam.md
  56. +0 −17 docs-source/security-infrastructure.md
  57. +0 −5 docs-source/security-runtime.md
  58. +0 −63 docs-source/security_iam_id-based-policy-examples.md
  59. +0 −5 docs-source/security_iam_service-with-iam.md
  60. +0 −64 docs-source/security_iam_troubleshoot.md
  61. +0 −61 docs-source/using-service-linked-roles.md
  62. +275 −21 resources/appliance-changelog.md
  63. +22 −12 resources/applicationsdk-reference.md
  64. +23 −23 resources/manifest-schema/ver_2021-01-01/network/inboundPort.schema.json
  65. +17 −17 resources/manifest-schema/ver_2021-01-01/network/network.schema.json
  66. +37 −37 resources/manifest-schema/ver_2021-01-01/network/networkRoutingRule.schema.json
  67. +2 −1 resources/manifest-schema/ver_2021-01-01/node/nodeWithInterface.schema.json
  68. BIN resources/panorama-dev-preview.pdf
  69. +0 −2 sample-apps/aws-panorama-sample/.gitignore
  70. +3 −1 sample-apps/aws-panorama-sample/0-test-compile.sh
  71. +2 −2 sample-apps/aws-panorama-sample/1-create-role.sh
  72. +7 −2 sample-apps/aws-panorama-sample/2-import-app.sh
  73. +2 −2 sample-apps/aws-panorama-sample/3-build-container.sh
  74. +0 −2 sample-apps/aws-panorama-sample/4-package-app.sh
  75. +68 −0 sample-apps/aws-panorama-sample/5-deploy.sh
  76. +0 −4 sample-apps/aws-panorama-sample/5-monitor-deployment.sh
  77. +17 −0 sample-apps/aws-panorama-sample/6-monitor-deployment.sh
  78. +2 −0 sample-apps/aws-panorama-sample/7-open-container.sh
  79. +10 −0 sample-apps/aws-panorama-sample/8-delete-application.sh
  80. +1 −1 sample-apps/aws-panorama-sample/9-delete-role.sh
  81. +85 −0 sample-apps/aws-panorama-sample/README.md
  82. +11 −0 .../aws-panorama-sample/assets/1872d0b1129481ed053c52e66d6af8b030f9eb69b1168a29012f01c7034d7a8f.json
  83. +4 −1 sample-apps/aws-panorama-sample/aws-panorama-sample.yml
  84. +2 −2 sample-apps/aws-panorama-sample/graphs/{aws-panorama-sample → my-app}/graph.json
  85. +79 −0 sample-apps/aws-panorama-sample/graphs/my-app/override-multicam.json
  86. +66 −0 sample-apps/aws-panorama-sample/graphs/my-app/override.json
  87. +66 −0 sample-apps/aws-panorama-sample/graphs/my-app/override.json.bup
  88. +3 −3 sample-apps/aws-panorama-sample/packages/123456789012-SAMPLE_CODE-1.0/Dockerfile
  89. +25 −14 sample-apps/aws-panorama-sample/packages/123456789012-SAMPLE_CODE-1.0/application.py
  90. +2 −2 sample-apps/aws-panorama-sample/packages/123456789012-SAMPLE_CODE-1.0/requirements.txt
  91. 0 ...es/{123456789012-SQUEEZENET_PYTORCH_V1-1.0 → 123456789012-SQUEEZENET_PYTORCH-1.0}/descriptor.json
  92. +1 −1 ...kages/{123456789012-SQUEEZENET_PYTORCH_V1-1.0 → 123456789012-SQUEEZENET_PYTORCH-1.0}/package.json
  93. +1 −1 ...s/{123456789012-SQUEEZENET_PYTORCH_V1-1.0 → 123456789012-SQUEEZENET_PYTORCH-1.0}/package.json.bup
  94. +0 −7 sample-apps/aws-panorama-sample/rename-package.sh
  95. +0 −10 sample-apps/aws-panorama-sample/sync-sample.sh
  96. +0 −7 sample-apps/aws-panorama-sample/update-model-config.sh
  97. +1 −1 sample-apps/custom-model/99-delete-bucket.sh
  98. +1 −1 sample-apps/custom-model/Pipfile
  99. +1 −2 sample-apps/custom-model/README.md
  100. +2 −1 sample-apps/debug-server/0-test-compile.sh
  101. +2 −1 sample-apps/debug-server/3-build-container.sh
  102. +1 −0 sample-apps/debug-server/5-deploy.sh
  103. +6 −2 sample-apps/debug-server/README.md
  104. +11 −0 ...le-apps/debug-server/assets/1872d0b1129481ed053c52e66d6af8b030f9eb69b1168a29012f01c7034d7a8f.json
  105. +2 −2 sample-apps/debug-server/graphs/my-app/override.json
  106. +2 −2 sample-apps/debug-server/graphs/my-app/override.json.bup
  107. +3 −1 sample-apps/debug-server/packages/123456789012-DEBUG_SERVER-1.0/application.py
  108. +96 −2 util-scripts/README.md
  109. +85 −0 util-scripts/check-updates.sh
  110. +89 −0 util-scripts/cleanup-patches.sh
  111. +1 −1 util-scripts/deregister-camera.sh
  112. +57 −0 util-scripts/pause-camera.sh
  113. +11 −0 util-scripts/provision-device.sh
  114. +1 −1 util-scripts/push.sh
  115. +40 −0 util-scripts/reboot-device.sh
  116. +1 −1 util-scripts/register-camera.sh
  117. +2 −2 util-scripts/rename-package.sh
  118. +1 −1 util-scripts/samplify.sh
  119. +1 −1 util-scripts/update-model-config.sh
  120. +23 −8 util-scripts/view-logs.sh
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -9,3 +9,6 @@ aws-panorama-sample-dev
device-id.txt
application-id.txt
*.local.json
samplify.sh
push.sh
view-logs.sh
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
## AWS Panorama Developer Guide

This repository contains the Markdown version of the AWS Panorama Developer Guide and additional resources that you can use to learn about AWS Panorama concepts and features.
This repository contains additional resources for the AWS Panorama developer guide.

Table of contents: [index.md](/docs-source/index.md)
- [cloudformation-templates](./cloudformation-templates) - AWS CloudFormation templates for creating IAM roles, CloudWatch alarms, and VPC network resources to support application development.
- [resources](./resources) - Reference content for the AWS Panorama application SDK, appliance software updates, and application manifest files.
- [sample-apps](./sample-apps) - Sample applications that demonstrate features and use cases for the AWS Panorama service and application SDK.
- [util-scripts](./util-scripts) - Shell scripts that automate common use cases for the AWS Panorama API, including provisioning and updating devices, managing cameras, and deploying applications.

## License Summary

47 changes: 47 additions & 0 deletions cloudformation-templates/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# CloudFormation templates

To create a CloudFormation stack, use the `create-stack.sh` script with the template name.

$ ./create-stack.sh application-role

If the template takes parameters, specify the parameters after the template name.

$ ./create-stack.sh alarm-device notificationEmail=me@example.com deviceName=my-appliance deviceId=device-m3axxmpl2tirl6fvf67ast2iqm

To delete a stack, use the `delete-stack.sh` script.

$ ./delete-stack.sh alarm-device

## alarm-application

Create an alarm that monitors an application for errors. If the application instance raises errors or stops running for 5 minutes, the alarm sends a notification email.

Name and ID parameters are both required. When you deploy a new version of the application, you must update the application ID.

**Parameters**
- `notificationEmail` - The email address that receives alarm notifications.
- `applicationName` - The name of the application to monitor.
- `applicationId` - The ID of the application instance to monitor.

## alarm-device

Create an alarm that monitors a device's connectivity. If the device stops sending metrics for 5 minutes, the alarm sends a notification email.

Name and ID parameters are both required.

**Parameters**
- `notificationEmail` - The email address that receives alarm notifications.
- `deviceName` - The name of the device to monitor.
- `deviceId` - The ID of the device to monitor.

## application-role

Create an application role. The role includes permission to send metrics to CloudWatch. Add permissions to the policy statement for other API operations that your application uses.

## vpc-appliance

Create a VPC with private subnet service access for the AWS Panorama Appliance. To connect the appliance to a VPC, use AWS Direct Connect or AWS Site-to-Site VPN.

## vpc-endpoint

Create a VPC with private subnet service access to the AWS Panorama service. Resources inside of the VPC can connect to AWS Panorama to monitor and manage AWS Panorama resources without connecting to the internet.
44 changes: 44 additions & 0 deletions cloudformation-templates/alarm-application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
AWSTemplateFormatVersion: '2010-09-09'
Description: Creates an alarm and a notification topic for AWS Panorama application metrics.
Parameters:
notificationEmail:
Type: String
Description: Email address to notify when a alarms are triggered
Default: PLACEHOLDER
applicationName:
Type: String
Description: Application name
Default: PLACEHOLDER
applicationId:
Type: String
Description: Application ID
Default: PLACEHOLDER
Resources:
# needs ApplicationInstanceName and ApplicationInstanceId dimensions
applicationErrorAlarm:
Type: AWS::CloudWatch::Alarm
Properties:
AlarmName: ApplicationErrorAlarm
AlarmDescription: Alarms when an application is in error
AlarmActions:
- !Ref alarmNotificationTopic
MetricName: ApplicationErrors
Dimensions:
- Name: ApplicationInstanceName
Value: !Ref applicationName
- Name: ApplicationInstanceId
Value: !Ref applicationId
Namespace: PanoramaDeviceMetrics
EvaluationPeriods: 5
DatapointsToAlarm: 5
Period: 60
Threshold: 1
Statistic: Sum
ComparisonOperator: GreaterThanOrEqualToThreshold
TreatMissingData: breaching
alarmNotificationTopic:
Type: AWS::SNS::Topic
Properties:
Subscription:
- Endpoint: !Ref notificationEmail
Protocol: email
44 changes: 44 additions & 0 deletions cloudformation-templates/alarm-device.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
AWSTemplateFormatVersion: '2010-09-09'
Description: Creates an alarm and a notification topic for AWS Panorama device metrics.
Parameters:
notificationEmail:
Type: String
Description: Email address to notify when a alarms are triggered
Default: PLACEHOLDER
deviceName:
Type: String
Description: Device name
Default: PLACEHOLDER
deviceId:
Type: String
Description: Device ID
Default: PLACEHOLDER
Resources:
# needs DeviceID and DeviceName dimensions
deviceOfflineAlarm:
Type: AWS::CloudWatch::Alarm
Properties:
AlarmName: DeviceOfflineAlarm
AlarmDescription: Alarms when a device is offline
AlarmActions:
- !Ref alarmNotificationTopic
MetricName: DeviceActive
Dimensions:
- Name: DeviceName
Value: !Ref deviceName
- Name: DeviceId
Value: !Ref deviceId
Namespace: PanoramaDeviceMetrics
EvaluationPeriods: 5
DatapointsToAlarm: 5
Period: 60
ComparisonOperator: LessThanThreshold
Threshold: 1
Statistic: Sum
TreatMissingData: breaching
alarmNotificationTopic:
Type: AWS::SNS::Topic
Properties:
Subscription:
- Endpoint: !Ref notificationEmail
Protocol: email
4 changes: 2 additions & 2 deletions cloudformation-templates/create-stack.sh
Original file line number Diff line number Diff line change
@@ -11,13 +11,13 @@ elif [[ $# -eq 1 ]]; then
TEMPLATE=$(cat ${TEMPLATE_NAME}.yml)
if [[ "$TEMPLATE" =~ PLACEHOLDER ]]; then
echo "Usage: ./create-stack.sh <template-name> <parameters>"
echo "e.g. ./create-stack.sh metric-alarms notificationEmail=me@example.com"
echo "e.g. ./create-stack.sh alarm-device notificationEmail=me@example.com deviceName=my-appliance deviceId=device-6talxmpl5mmik6qh5moba6jium"
exit 0
fi
else
echo "Usage: ./create-stack.sh <template-name> <parameters>"
echo "e.g. ./create-stack.sh application-role"
echo "e.g. ./create-stack.sh metric-alarms notificationEmail=me@example.com"
echo "e.g. ./create-stack.sh alarm-device notificationEmail=me@example.com deviceName=my-appliance deviceId=device-6talxmpl5mmik6qh5moba6jium"
exit 0
fi
STACK_NAME=panorama-${TEMPLATE_NAME}
Loading