Service type Layer 7 Load Balancer
FPT Cloud cung cấp giải pháp Layer 7 Load Balancer dùng SSL certificate do bạn tự cung cấp.
Tạo certificate
-
Vào tab Load Balancer và chọn Import SSL Certificate để tạo certificate mới.

-
Điền thông tin cần thiết — certificate phải ở định dạng chuẩn PEM.

-
Xác nhận certificate đã tạo thành công.

Tạo Load Balancer service dùng method HTTPS
Trong cấu hình Service, thêm annotation để dùng certificate vừa tạo:
loadbalancer.fptcloud.com/load-balancer-version: v2
loadbalancer.fptcloud.com/default-tls-secret-ref-name: "name_of_ssl_cert" # the certificate name must match the name created on the portal
Listener khi đó dùng method TERMINATED_HTTPS.
ghi chú
Thêm annotation này ngay lúc tạo Load Balancer. Hiện chưa hỗ trợ renew và update certificate qua Portal — để đổi certificate, thêm certificate mới trên portal với tên khác rồi cập nhật annotation sang tên đó (downtime khoảng 20 giây).