This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
aws_how_to [2011/10/26 16:44] k2patel [Sending Regular SSL / Key / Bundle to ELB] |
aws_how_to [2020/08/10 02:35] (current) |
||
---|---|---|---|
Line 53: | Line 53: | ||
Now Assign certificate to ELB. | Now Assign certificate to ELB. | ||
+ | |||
+ | **NOTE : \\ | ||
+ | You can change your certificate assignment live.\\ | ||
+ | Simply add new certificate and do next step replace existing assignment.** | ||
+ | |||
+ | |||
<code bash | assign certificate to port> | <code bash | assign certificate to port> | ||
Line 59: | Line 65: | ||
You are good to GOLDEN | You are good to GOLDEN | ||
+ | |||
+ | |||
+ | ==== Playing with Amazon ELB ==== | ||
+ | |||
+ | === Create LB using ELB API === | ||
+ | <code bash | Create lb> | ||
+ | elb-create-lb elb-test1 --availability-zones us-east-1b --listener "protocol=http, lb-port=80, instance-port=9130" --listener "protocol=https, lb-port=443, instance-port=9130,cert-id=arn:aws:iam::123456789101:server-certificate/www.k2patel.in" | ||
+ | </code> | ||
+ | |||
+ | <code bash | Register Instance> | ||
+ | elb-register-instances-with-lb elb-test1 --instances i-12345678 | ||
+ | </code> | ||
+ | |||
+ | <code bash | Register Listeners on ELB > | ||
+ | elb-create-lb-listeners v3-test --listener "lb-port=9145,instance-port=9145,protocol=https,instance-protocol=https,cert-id=arn:aws:iam::123456789101:server-certificate/www.k2patel.in" | ||
+ | </code> | ||
+ | |||
+ | |||
+ |