title: Kubernetes and AWS: Set LoadBalancer to use predefined Security Group
body: <p>As the title says, I am looking for a way to force a LoadBalancer service to use a predefined security group in AWS. I do not want to have to manually edit the inbound/outbound rules of the security group that is created for the ELB by Kubernetes. I have not been able to find anything within the documentation, nor have I located anything that works elsewhere online. Here is my current template:</p>
  
  <pre><code>apiVersion: v1
  kind: Service
  metadata:
    name: ds-proxy
  spec:
    type: LoadBalancer
    ports:
    - port: 8761 # the port that this service should serve on
      targetPort: 8761
      protocol: TCP
    selector:
      app: discovery-service
  </code></pre>