Skip to content

Commit 052fae8

Browse files
Improvement: SSL offloading with Virtual Router (#555)
1 parent f47826c commit 052fae8

10 files changed

+91
-0
lines changed
84.2 KB
Loading
42.7 KB
Loading
17.3 KB
Loading
51.8 KB
Loading
103 KB
Loading
23.6 KB
Loading
31.7 KB
Loading
234 KB
Loading

source/adminguide/networking/external_firewalls_and_load_balancers.rst

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,11 @@ Adding a Load Balancer Rule
291291
algorithm for the stickiness policy. See Sticky Session Policies
292292
for Load Balancer Rules.
293293

294+
- **Protocol**: The protocol for the Load Balancer Rule such as tcp, udp, tcp-proxy or ssl.
295+
296+
- **SSL Certificate**: The SSL certificate assigned to the Load Balancer Rule.
297+
This is visible only when protocol is ssl. See :ref:`conf-ssl-cert`.
298+
294299
- **AutoScale**: Click Configure and complete the AutoScale
295300
configuration as explained in :ref:`conf-autoscale`.
296301

@@ -470,6 +475,70 @@ For details on how to set a health check policy using the UI, see
470475
:ref:`adding-lb-rule`.
471476

472477

478+
.. _conf-ssl-cert:
479+
480+
Configuring SSL Certificate for Load Balancer Rules
481+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
482+
483+
SSL Offloading allows load balancers to handle encryption and decryption of
484+
HTTP(s) traffic giving plain text HTTP to the back end servers freeing them
485+
from the resource intensive task of handling encryption and decryption.
486+
SSL Offloading supports CloudStack Virtual Router since Apache CloudStack 4.22.0.
487+
488+
- Upload SSL certificates
489+
490+
SSL certificate is required for SSL offloading feature. As the first step, users
491+
need to upload SSL certificates for the accounts or projects.
492+
493+
|ssl-certificate-account.png|
494+
495+
Click "Upload SSL Certificate" button, input the following fields in the dialog, click "Submit"
496+
497+
* Name: the name of the SSL certificate. This is required.
498+
* Certificate: the SSL certificate. This is required.
499+
* Private Key: the private key of the SSL certificate. This is required.
500+
* Certificate chain: the ROOT CA and intermediate certificate(s) of the SSL certificate. Please input if exist, otherwise the SSL certificate might not work.
501+
* Password: the password of the private key. Currently it is unsupported when use CloudStack Virtual Router for SSL offloading.
502+
* Revocation check: Whether enables revocation checking for certificates. Please do not check if self-signed SSL certificate.
503+
504+
|ssl-certificate-upload.png|
505+
506+
Users can view or remove the SSL certificates on the same page.
507+
508+
|ssl-certificate-list.png|
509+
510+
For projects, go to the project page and click "Certificates" tab
511+
512+
|ssl-certificate-project.png|
513+
514+
- Create Load balancer rule with SSL Certificate
515+
516+
SSL certificate can be configured only when the protocol of load balancer rule is ssl.
517+
518+
|ssl-certificate-new-lb-rule.png|
519+
520+
Click "SSL certificate" button, select a SSL certificate, click "OK"
521+
522+
|ssl-certificate-new-lb-rule-select.png|
523+
524+
- Assign SSL certificate to existing Load balancer rule
525+
526+
If the load balancer rule has been created without SSL certificate, update protocol to SSL if it is not
527+
528+
|ssl-certificate-update-lb-rule-protocol.png|
529+
530+
Click "Manage" button under the "SSL certificate" field, select a SSL certificate,
531+
click "Replace" or "Assign" button to assign a new SSL certificate.
532+
533+
|ssl-certificate-update-lb-rule-ssl-cert.png|
534+
535+
User can remove the SSL certificate from load balancer rule by clicking "Remove" button.
536+
537+
.. note::
538+
Since SSL offloading increases CPU utilization on the load balancer,
539+
please allocate more resources to the Virtual Router when expecting high traffic.
540+
541+
473542
.. _conf-autoscale:
474543

475544
Configuring AutoScale
@@ -735,3 +804,19 @@ Runtime Considerations
735804
:alt: Configuring AutoScale.
736805
.. |EnableDisable.png| image:: /_static/images/enable-disable-autoscale.png
737806
:alt: button to enable or disable AutoScale.
807+
.. |ssl-certificate-account.png| image:: /_static/images/ssl-certificate-account.png
808+
:alt: Manage certificates for account.
809+
.. |ssl-certificate-upload.png| image:: /_static/images/ssl-certificate-upload.png
810+
:alt: Upload SSL certificate for account.
811+
.. |ssl-certificate-list.png| image:: /_static/images/ssl-certificate-list.png
812+
:alt: List of certificates for account.
813+
.. |ssl-certificate-project.png| image:: /_static/images/ssl-certificate-project.png
814+
:alt: Manage certificates for project.
815+
.. |ssl-certificate-new-lb-rule.png| image:: /_static/images/ssl-certificate-new-lb-rule.png
816+
:alt: Create load balancer rule with SSL protocol
817+
.. |ssl-certificate-new-lb-rule-select.png| image:: /_static/images/ssl-certificate-new-lb-rule-select.png
818+
:alt: Select SSL certificate for new load balancer rule.
819+
.. |ssl-certificate-update-lb-rule-protocol.png| image:: /_static/images/ssl-certificate-update-lb-rule-protocol.png
820+
:alt: Update protocol of load balancer rule to SSL.
821+
.. |ssl-certificate-update-lb-rule-ssl-cert.png| image:: /_static/images/ssl-certificate-update-lb-rule-ssl-cert.png
822+
:alt: Manage certificates of load balancer rule.

source/adminguide/networking/virtual_private_cloud_config.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,6 +1123,12 @@ Creating an External LB Rule
11231123
algorithm for the stickiness policy. See Sticky Session Policies
11241124
for Load Balancer Rules.
11251125

1126+
- **Protocol**: The protocol for the Load Balancer Rule such as tcp, udp, tcp-proxy or ssl.
1127+
1128+
- **SSL Certificate**: The SSL certificate assigned to the Load Balancer Rule.
1129+
This is visible only when protocol is ssl. see `"Configuring SSL Certificate for Load Balancer
1130+
Rules" <external_firewalls_and_load_balancers.html#configuring-ssl-certificate-for-load-balancer-rules>`_.
1131+
11261132
- **Add Instances**: Click Add Instances, then select two or more Instances that will
11271133
divide the load of incoming traffic, and click Apply.
11281134

0 commit comments

Comments
 (0)