HPE Morpheus Enterprise
1833495 Members
2686 Online
110052 Solutions
New Discussion

How to reference external services in the morpheus.rb config file (AWS)

 
Not applicable

How to reference external services in the morpheus.rb config file (AWS)

As an alternative to using the embedded RabbitMQ, Elasticsearch, and/or MySQL services when setting up a new HA appliance, it is possible to use the equivalent hosted service on a cloud vendor instead. See reference [1] at the bottom of this page for more details.

A sample working morpheus.rb file can be found below for a 3-node HA setup with Amazon MQ, Amazon Opensearch, and Amazon Aurora configured as external services:

appliance_url = 'https://ueqbal-test-appliance.io'

elasticsearch['enable'] = false
mysql['enable'] = false
rabbitmq['enable'] = false
nginx['enable'] = true
guacd['guacamole_enabled'] = true
firewall['enabled'] = false

elasticsearch['es_hosts'] = { 'opensearch-test.us-east-1.es.amazonaws.com' => 443 }
elasticsearch['auth_user'] = '****************'
elasticsearch['use_tls'] = true
elasticsearch['auth_password'] = '**************'

mysql['host'] = { 'mysql://morpheus:password@mydatabasecluster.cluster-xyz123abc456.us-east-1.rds.amazonaws.com:3306/morpheus' => 3306 }
mysql['morpheus_db_user'] = '************'
mysql['morpheus_password'] = '**********'
mysql['morpheus_db'] = 'morpheus'

rabbitmq['host'] = 'rabbit-test.mq.us-east-1.amazonaws.com'
rabbitmq['port'] = '5671'
rabbitmq['use_tls'] = true
rabbitmq['queue_user'] = '*************'
rabbitmq['queue_user_password'] = '*************'
rabbitmq['vhost'] = '/'

ui['max_memory_mb'] = '3584'

If you are interested in installing a new HA environment (or shifting towards one), I strongly recommend getting in touch with your account manager who can point you towards our experts on the Professional Services team for further guidance.

References / Useful links:

  1. Supported PaaS Offerings
  2. HA Installation Overview — Morpheus Docs documentation
  3. 3 Node HA Install Example — Morpheus Docs documentation

Credit to gandharvas (gandharvas) · GitHub for his help on sharing a working config file!

As always, feel free to get in touch with support@morpheusdata.com if you have any questions or issues! :smiley: