Skip to content

Commit 651a548

Browse files
Jaime Salas ZancadaJaime Salas Zancada
authored andcommitted
set images
1 parent af891ca commit 651a548

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

  • 04-cloud/aws/09-elb/demos/05-create-app-lb

04-cloud/aws/09-elb/demos/05-create-app-lb/readme.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,56 +2,56 @@
22

33
Let's jump over to the AWS web console. Here we are at the EC2 console. Go ahead and click on the Load Balancers menu option and click the Create Load Balancer button.
44

5-
![01 create load balancer](./.resources/02-creating-app-load-balancer/01.png)
5+
![01 create load balancer](./.resources/01.png)
66

77
We're going to select the Application Load Balancer because we want the load balancer to actually terminate the HTTP connection. So click Create under that.
88

9-
![02 create load balancer](./.resources/02-creating-app-load-balancer/02.png)
9+
![02 create load balancer](./.resources/02.png)
1010

1111
Select `web-vpc`
1212

13-
![03 create load balancer](./.resources/02-creating-app-load-balancer/03.png)
13+
![03 create load balancer](./.resources/03.png)
1414

1515
Now we're going to configure which security group we want the load balancer to use. The security group we're choosing here gets associated with the elastic network interface, as I just mentioned. As part of the lab setup, we created a security group called `web‑sg` to allow HTTP and HTTPS traffic from any source. We'll go ahead and select that one, deselect the default one here, and then click Next. Here we can select the target group we created.
1616

17-
![05 create load balancer](./.resources/02-creating-app-load-balancer/05.png)
17+
![05 create load balancer](./.resources/05.png)
1818

1919
And we're going to give this a name of `web‑lb`.
2020

21-
![04 create load balancer](./.resources/02-creating-app-load-balancer/04.png)
21+
![04 create load balancer](./.resources/04.png)
2222

2323
The scheme is `internet‑facing` because we want the load balancer to be accessible from the internet. By choosing Internet‑facing instead of Internal, we're making sure that the load balancer gets assigned publicly routable IPv4 addresses. And for the IP address type we can select `Ipv4` or we can select `dualstack`, which will give the listener publicly routable `IPv4` and `IPv6` addresses. Selecting `dualstack` makes it really easy to take our IPv4‑only web application, which does not support IPv6, and make it available on the IPv6 internet. This is something we're actually going to configure a little later.
2424

2525
All right, go ahead and look under Listeners. By default, the load balancer will listen on TCP port 80 for HTTP requests. That's fine for now. Later on when we set up secure HTTPS access, we're going to revisit the listener settings, but for now we'll stick with HTTP.
2626

2727
Go to the Target group drop‑down and click Existing target group, and it shows us the target group settings, which of course we've already reviewed. So this looks good.
2828

29-
![06 create load balancer](./.resources/02-creating-app-load-balancer/06.png)
29+
![06 create load balancer](./.resources/06.png)
3030

3131
And next, we're going to have to select two subnets, one in each availability zone. Click on `eu-west-3a`, and then select the web1a subnet right here. Then click the `eu-west-3b` checkbox and select `web-3a`. All right, there we go.
3232

33-
![07 create load balancer](./.resources/02-creating-app-load-balancer/07.png)
33+
![07 create load balancer](./.resources/07.png)
3434

3535
The listener **will have two elastic network interfaces, one in each availability zone, and we are selecting which zones those interfaces should go in**. Double check and make sure that the web-3a and web-3b subnets are selected, and let's jump down to `Tags`. Expand Tags here.
3636

3737
We're going to go ahead and create a name tag, and we're going to call this one `web‑lb`. That is it for this page.
3838

39-
![08 create load balancer](./.resources/02-creating-app-load-balancer/08.png)
39+
![08 create load balancer](./.resources/08.png)
4040

4141
Let's review the Summary and click `Create load balancer`
4242

43-
![09 create load balancer](./.resources/02-creating-app-load-balancer/09.png)
43+
![09 create load balancer](./.resources/09.png)
4444

4545
And the load balancer is successfully created. Great. Let's click `View load balancer`.
4646

47-
![10 create load balancer](./.resources/02-creating-app-load-balancer/10.png)
47+
![10 create load balancer](./.resources/10.png)
4848

4949
Now initially it's in a provisioning state and it can take about a minute or so before it finally becomes active.
5050

51-
![11 create load balancer](./.resources/02-creating-app-load-balancer/11.png)
51+
![11 create load balancer](./.resources/11.png)
5252

5353
All right, now that it's active, let's go check on the health of our target, web1. We'll go back down to Target Groups right here and click on the Targets tab, refresh this here, and the one instance we have as a registered target is showing healthy.
5454

55-
![12 create load balancer](./.resources/02-creating-app-load-balancer/12.png)
55+
![12 create load balancer](./.resources/12.png)
5656

5757
So we're almost ready to test out the load bouncer, but before we do that there are a couple more things I want to show you.

0 commit comments

Comments
 (0)