Create a gist now

Instantly share code, notes, and snippets.

#!/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