forked from pivotal-cf/docs-pcf-install
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_configure_aws_elb.html.md.erb
62 lines (43 loc) · 2.46 KB
/
_configure_aws_elb.html.md.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
In this step, you complete your load balancer configuration that you began when
setting up AWS components for PCF.
1. On the EC2 Dashboard, click **Load Balancers**.
1. Select the load balancer that you created in the [Create Load Balancer](./pcf-aws-manual-config.html#pcfaws-lb) section of
the _Manually Configuring AWS for PCF_ topic.
The **Load balancer** detail tabs display at the bottom of the page.
<p class="note"><strong>Note</strong>: You must associate this ELB with your
routers. <a href="pcf-aws-manual-er-config.html#config-elb">Configure this</a> on the <strong>Resource
Config</strong> page of the Pivotal Application Service (PAS) tile.
</p>
1. Select **Listeners**.
<%= image_tag("pcfaws/er_lb_add_listeners.png") %>
1. Click **Edit** to define a second listener with the following values:
* **Load Balancer Protocol**: **HTTPS (Secure HTTP)**
* **Load Balancer Port**: `443`
* **Instance Protocol**: **HTTP**
* **Instance Port**: `80`
1. Click **Change** in the **SSL Certificate** column of the second listener.
1. On the Select Certificate page, click **Upload a new SSL Certificate** and
complete the following information:
* Enter a **Certificate Name**.
* **Private Key** and **Public Key Certificate**: Paste the RSA certificate
and private key information from the **SSL Certificate** fields of the
IP and Ports page to the appropriate field.
* Click **Save**.
<%= image_tag("pcfaws/er_lb_cert_details.png") %>
1. Click **Edit** to define a third listener with the following values for use with WebSockets:
* **Load Balancer Protocol**: **SSL (Secure TCP)**
* **Load Balancer Port**: `4443`
* **Instance Protocol**: **TCP**
* **Instance Port**: `80`
1. Click **Change** in the **SSL Certificate** column of the third listener.
When you click **Save**, AWS prompts you to enter SSL certificates for these
listeners.
<%= image_tag("pcfaws/er_lb_add_sslcert.png") %>
1. Select **Choose an existing SSL certificate** and select the certificate that
you previously uploaded for the second listener.
<p class="note"><strong>Note</strong>: There might be a brief delay before
the certificate that you uploaded for the second listener appears. If you do
not see the certificate that you uploaded, try refreshing the page.</p>
The image shows the completed listener information.
<%= image_tag("pcfaws/er_lb_cert_done.png") %>
1. Click **Save** to complete the load balancer configuration.