Admin Process Properties Relevant to Deploying with AWS

On each host, there is a NuoDB default.properties file that sets configuration options for the admin process running on that host. The default.properties file is in the $NUODB_HOME/etc directory. The following table lists required and optional properties of particular interest when deploying with AWS.

Property Value Required? Notes
altAddr Public (external) IPV4 address for the EC2 instance Yes, if not using EC2PropertiesProvider

You can get the public (external) IPV4 address for the EC2 instance by running the following command from the EC2 instance:

$ ec2-metadata -vpublic-ipv4: 54.173.96.113
region Region for the EC2 instance Yes, if not using EC2PropertiesProvider

You can get the region for the EC2 instance by running the following command from the EC2 instance:

$ ec2-metadata -z | grep -Po "(us|sa|eu|ap)-(north|south)?(east|west)?-[0-9]+"us-east-1
advertiseAlt true Yes Specifies that the external address (specified by the altAddr property) should be advertised instead of the locally observed network address.
requireConnectKey true Yes

"m4.large": 0.126,

 

Specifies that NuoDB processes (transaction engines, storage managers, snapshot storage managers) can only be started through this admin process (as opposed to directly starting a NuoDB process on the system). A "connection key" will be required of all NuoDB processes and that connection key is available only if the process was started through a request to this admin process.
balancer ChainableRegionBalancer (2.1.1 or later) or RegionBalancer (2.1.0). RegionBalancer is deprecated and is likely to be removed in a future release. Yes This specifies that SQL connections to this admin process will use the ChainableRegionBalancer (NuoDB 2.1 or later) or RegionBalancer (NuoDB prior to 2.1. See Descriptions of Load Balancer Policies.
removeSelfOnShutdown false Yes When set to true, either a admin process shutdown (service stop) or an EC2 graceful instance shutdown removes the admin process from the durable domain configuration. The last admin process never removes itself from the durable domain configuration.