Proxy Installation

Installing OS and packages

  1. Get ubuntu mini iso.
  2. Install Ubuntu
  3. Get the installation file and the gcloud certification key sent by email from cloudinn
  4. Through the command line, run the installation file as sudo, supply the certification key file as the first parameter, the instance id as second parameter, assuming the certification key file name is gc_certificate.json:
    sudo ./ gc_certificate.json $proxyuser $password staging
    where "$proxyuser" is a special user created by cloudinn to authenticate the proxy, "$password" is the proxy of that user, and "staging" is the environment which the instance is running on. replace $proxyuser and $password with the real username and password.

The username, password and environment will be sent in the same email as the installation script and gc credentials

  1. Continue with the installation steps and wait till the script finishes installation, the proxy will run automatically in the background.
  2. You can review the proxy configuration file in "/etc/cloudinn/pos_config.json", it will look like:

Each key represents a configuration settings,
fdms is a list of configurations per fdm, the port number, the baud speed, and a list of production numbers that the fdm should be able to receive requests from.

Check that proxy is working

The last required step is to check that the proxy is working and that we can make https requests to it. If you have used a self signed ssl "this happens automatically from the installation script", then you need to add an exception in the browser for the proxy ip in order to tell the browser to allow requests to the proxy's ip.

e.g: assuming that ip of the proxy is:
then we need to open a url that looks like this:
this url shows us if the proxy is running or not,