aws_how_to
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
aws_how_to [2011/10/26 16:12] – created k2patel | aws_how_to [2020/08/10 02:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 38: | Line 38: | ||
openssl rsa -in www.k2patel.in.key -out www.k2patel.in.RSA.key | openssl rsa -in www.k2patel.in.key -out www.k2patel.in.RSA.key | ||
</ | </ | ||
+ | |||
+ | At this point you are almost done, you just need to upload it to LB.\\ | ||
+ | Considering you already have existing LB. | ||
+ | |||
+ | <code bash | Upload Certificate to Amazon> | ||
+ | iam-servercertupload -b www.k2patel.in.crt -c gd_bundle.crt -k www.k2patel.in.com.rsa.key -d -s www.k2patel.in | ||
+ | </ | ||
+ | |||
+ | You can list all your certificate on amazon. | ||
+ | |||
+ | <code bash | List All your certificate> | ||
+ | iam-servercertlistbypath | ||
+ | </ | ||
+ | |||
+ | 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> | ||
+ | elb-set-lb-listener-ssl-cert test-lb --lb-port 9031 --cert-id ' | ||
+ | </ | ||
+ | |||
+ | 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 " | ||
+ | </ | ||
+ | |||
+ | <code bash | Register Instance> | ||
+ | elb-register-instances-with-lb elb-test1 --instances i-12345678 | ||
+ | </ | ||
+ | |||
+ | <code bash | Register Listeners on ELB > | ||
+ | elb-create-lb-listeners v3-test --listener " | ||
+ | </ | ||
+ | |||
+ | |||
aws_how_to.1319645522.txt.gz · Last modified: 2020/08/10 02:28 (external edit)