title: Custom domain on Amazon MQ
body: <p>I have setup an Amazon MQ broker and you get generated a domain *.mq.eu-west-2.amazonaws.com</p>
  <p>What is generated is a very long DN and what I want to do is map that to a subdomain of my own domain.</p>
  <p>Since all AWS services are over SSL I will need a certificate as well for this subdomain, which I normally just use ACM.</p>
  <p>The problem is I cant just CNAME that generate domain and then generate a SSL certificate as that does not work. AWS offer whats called an ALIAS A record in route53 which for other services gets around this problem, BUT it doesnt seem to work with Amazon MQ. The options you get do not include the MQ service.</p>
  <p>Looking at some AWS docs it sounds like I need to do the following (but just seems so overkill)</p>
  <ol>
  <li>Create private broker</li>
  <li>Create network load balancer</li>
  <li>Connect the 2 together (which is pretty hard, I couldnt get this to work)</li>
  <li>CNAME my subdomain to the NLB</li>
  </ol>
  <p>Does anyone else have any suggestions on how best to solve this problem?</p>