Configuring Cloudsoft AMPΒΆ
Once your UForge platform deployment is complete you can configure Cloudsoft AMP in order to allow users to deploy published machine images directly to Amazon or OpenStack, without having to connect to their cloud account. Before you start the configuration, ensure that you have:
- a running AMP server (version AMP-5.0, Brooklyn 0.12.0) with groovy script enabled, see Cloudsoft AMP documentation for installation
- a configured user in AMP server that will be used by UForge to connect
To configure AMP:
On each UForge webservice node and the UI node, in
/etc/UShareSoft/uforge/uforge.conf
uncomment and complete the following lines:
- AMP_API_ENDPOINT=<The URL to access AMP server eg: http://amp-instance.com:8081/v1>
- AMP_API_USER=<The AMP user password that uforge should connect with>
- AMP_API_PASSWORD=<The AMP user password>
Note
If you want to connect to your AMP server with HTTPS instead of HTTP, you can follow Cloudosft AMP documentation to configure it. In this case your AMP_API_ENDPOINT should use the secure URL eg: https://amp-instance.com:8443/v1.
Run the following command on the webservice node:
$ service tomcat restartRun the following command on the UI node:
$ /opt/UShareSoft/uforge-client/bin/uforge_ui_update.shAt this point the deployment feature should be available for the root user. In order to allow other users to use this feature, give them the entitlement
deployments_access
. For more information on entitlements refer to Creating and Updating User Roles.role create --name launcher --entitlement deployments_access user role add --roles launcher --account someUser