title: Add Loadbalancer to aws cli run instance command
body: <p>I have been using the following AWS CLi command t launch EC2 Instances which works well but i would like to add these instances to my Load-balancer at the same time if possible??</p>
  
  <pre><code>aws ec2 run-instances --image-id ami-xxxxxxxx --count 1 --instance-type t1.micro --key-name MyKeyPair --security-group-ids sg-xxxxxxxx --subnet-id subnet-xxxxxxxx
  </code></pre>
  
  <p>To Manually Register i could use </p>
  
  <pre><code>elb-register-instances-with-lb MyLoadBalancer --instances i-xxxxxxx
  </code></pre>
  
  <p>but i want to add this to the launch process like autoscaling does?</p>