Skip to content

Instantly share code, notes, and snippets.

@tsabat
Created June 29, 2013 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsabat/5891540 to your computer and use it in GitHub Desktop.
Save tsabat/5891540 to your computer and use it in GitHub Desktop.
#!/bin/bash
LB_NAME="app-lb-west"
LISTNER_HTTP="lb-port=80,instance-port=80,protocol=http"
CERT_ID="cert-id=arn:aws:iam::555555555555:server-certificate/production/myCert"
LISTENER_HTTPS="lb-port=443,instance-port=80,protocol=https,$CERT_ID"
ZONES="us-west-2c"
elb-create-lb $LB_NAME \
--listener $LISTENER_HTTP \
--listener $LISTENER_HTTPS \
--availability-zones $ZONES
elb-describe-lbs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment