opendof.org

This site contains software provided under the terms of use of the OpenDOF Project.

[Home]

DOF Router on AWS

The DOF Router on AWS is a preconfigured set of servers running on a single AWS instance, typically provided as an AMI. The servers include an OpenDOF authentication server and DOF router. These servers are automatically configured when the instance starts for the first time.

The OpenDOF Project is an open-source IoT ecosystem that includes code for devices, gateways, cloud servers, and clients. The DOF Router on AWS is provided as an open-source component, and those sources can be used to create your own AMI or instance should you desire. See the project site for more information.

Network Requirements

This instance creates TCP and UDP DOF servers running on port 3567. In order for this instance to route DOF traffic you must configure this instance to allow port 3567 for TCP and UDP as needed.

Master Credentials

This instance supplies master credentials that are created when the instance was first run. The credentials are located on the instance in the directory /var/opt/opendof/dof-router-on-aws/web/public/master.cred, and can be downloaded from the home page of this site once you are logged in.

Using Domain Management

This instance comes installed with a domain management tool and can be executed by running domain-manage. Several terms are used throughout this guide. Definitions for these term can be found at the OpenDOF Glossary.

Add Authentication Node

domain-manage add --authID [DOFObjectID]

Add Credentials to an Authentication Node

domain-manage set --authID [DOFObjectID] --credentials [Credentials]

Grant Permissions to an Authentication Node

domain-manage grant --authID [DOFObjectID] --permission [Permission] --pgid [Permission Group ID]

Revoke Permissions to an Authentication Node

domain-manage revoke --authID [DOFObjectID] --credentials [Credentials]

Remove Authentication Node

domain-manage remove --authID [DOFObjectID]

Using Credentials Generator

This instance comes installed with a credentials generator tool and can be executed by running cred-gen.

cred-gen [Credentials Format] --file [File Location]

To Automatically Generate a Secret

< cred_type:identity >

To Manually Set a Secret

< cred_type:identity;secret >