Setting Host Properties for AWS Deployment

After you have spun up whatever EC2 instances you require for your NuoDB domain, you are ready to deploy. Basic deployment of NuoDB on EC2 means first installing the NuoDB software on each host in your domain. See Installing NuoDB on Linux.

Before starting any NuoDB service , you must configure your domain by setting properties for the NuoDB Admin process. In particular, you must set the properties that determine which IP address is advertised for this EC2 instance, which admin process is the admin process that all admin processes peer to, what region the admin process is running in and which load balancer should be used for client connections to the database.

To create a domain, each admin process peers into the domain by using the setting of the peer property in its nuoadmin.conf file. The first admin process that you start peers to itself and all other admin processes peer to the admin process that peers to itself. NuoDB recommends that the first admin process you start not set the peer property for its first start-up. Once there are multiple admin processes in the domain, then this first admin process can be restarted and it will use the last known durable domain configuration when it restarts.

See the following topics: