<p>How can I publish a service in an AWS kubernetes cluster at a permanent IP address, so that I can add a DNS record? I define service <code>xxx</code> of type <code>LoadBalancer</code> in kubernetes, and <code>kubectl describe service xxx</code> gives me something like: </p>

<pre><code>LoadBalancer Ingress:   aae55ce563ca611e692c10a83aef9ddc-467886677.eu-west-1.elb.amazonaws.com
Port:           &lt;unset&gt; 9004/TCP
</code></pre>

<p>Indeed, I can access the application on aae55ce563ca611e692c10a83aef9ddc-467886677.eu-west-1.elb.amazonaws.com:9004. How can I make this a permanent IP address?</p>

<p>For AWS ELB you cannot make a permanent IP address as the IP address for AWS ELB is dynamic and changes frequently. So you have to use "aae55ce563ca611e692c10a83aef9ddc-467886677.eu-west-1.elb.amazonaws.com" as the Canonical name for your application. Also refer this question <a href="https://stackoverflow.com/questions/3821333/amazon-ec2-elastic-load-balancer-does-its-ip-ever-change">Amazon EC2 Elastic Load Balancer: Does its IP ever Change?</a></p>
