<p>I have question about kubernetes ingress.</p>

<p>I want to use ingress with my Amazon account and/or private cloud and want to assign external IP.</p>

<p>It is possible to assign external ip for services :
<a href="http://kubernetes.io/docs/user-guide/services/#external-ips" rel="noreferrer">Services documentation - chapter external IP</a>
but cannot find a way to do that for Ingress : <a href="http://kubernetes.io/docs/user-guide/ingress/" rel="noreferrer">Ingress documentation</a>.</p>

<p>My question is direct especially to Kubernetes team.
Similar question was asked by Simon in this topic : <a href="https://stackoverflow.com/questions/37001557/how-to-force-ssl-for-kubernetes-ingress-on-gke">How to force SSL for Kubernetes Ingress on GKE 2</a>
but he asked about GKE while I am interested in private cloud, AWS.</p>

<p>Thank you in advance.</p>

<p>[UPDATE]</p>

<p>Guys found that my question may was answered already in <a href="https://stackoverflow.com/a/40164860/1342445">this</a> topic.
Actually answer that @anigosa put there is specific for GCloud.
His solution won't work in private cloud neither in AWS cloud. In my opinion the reason for that is that he use <code>type: LoadBalancer</code> (which cannot be used in private cloud) and use <code>loadBalancerIP property</code> which will works only on GCloud(for AWS it cause error : "Failed to create load balancer for service default/nginx-ingress-svc: LoadBalancerIP cannot be specified for AWS ELB
"). </p>

<p>Looking at this <a href="https://github.com/kubernetes-sigs/aws-load-balancer-controller/issues/1867" rel="nofollow noreferrer">issue</a>, it seems you can define annotation on your service and map it to existing <a href="https://aws.amazon.com/premiumsupport/knowledge-center/intro-elastic-ip-addresses/#:%7E:text=An%20Elastic%20IP%20address%20is,Allocating%20an%20Elastic%20IP%20Address." rel="nofollow noreferrer">elastic ip</a>.
Something like that:</p>
<pre class="lang-yaml prettyprint-override"><code>apiVersion: v1
kind: Service
metadata:
  name: my-service
  annotations:
    service.beta.kubernetes.io/aws-load-balancer-eip-allocations: &lt;&gt;
spec:
  type: LoadBalancer
  selector:
    app: MyApp
  ports:
    - protocol: TCP
      port: 80
      targetPort: 9376
</code></pre>
<p>Please note this will create ELB for this service, not ingress.</p>
<p>As an ingress is simply one service (=ELB) handling requests for many other services, it should be possible to do something similar for ingress, but I couldn't find any docs for it.</p>
