Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

Deployment: Load balancer

Julien Dufresne edited this page Jun 3, 2020 · 1 revision

Load Balancers | EC2 Management Console

The main entry point of the platform will be a Load Balancer. We will be able to configure the load balancer to redirect request our internal applications.

Create a load balancer

  1. Click on the Create Load Balancer button.
  2. We want to create a Application Load Balancer. Click on the Create button button of the Application Load Balancer card to start the load balancer creation process.
  3. Step 1: Configure Load Balancer
    1. Basic configuration
      1. Name: Give a unique name to your load balancer.
      2. Scheme: Select the internet-facing option.
      3. IP address type: Select the ipv4 option.
    2. Listeners
      1. Select the HTTPS (Secure HTTP) option.
    3. Availability Zones
      1. VPC: Keep the default vpc.
      2. Availability Zones: You need to select a minimum of two zones.
    4. Go to the next section by clicking on the Next button.
  4. Step 2: Configure Security Settings
    1. Select default certificate
      1. Certificate type: Use the Choose a certificate from ACM (recommended) option.
      2. Certificate name: Select a certificate that you have already requested
    2. Select Security Policy
      1. Security policy: You can use the default value.
    3. Go to the next section by clicking on the Next button.
  5. Step 3: Configure Security Groups
    1. Assign a security group: Select the Create a new security group.
      1. Security group name: Give a unique name to the group.
      2. Description: Be creative.
      3. In the rule table, modify the first rule type to HTTPS.
    2. Go to the next section by clicking on the Next button.
  6. Step 4: Configure Routing
    1. Target group
      1. Target group: Keep the New target group option.
      2. Name: Give a unique name to the group.
      3. Target type: Keep the Instance option.
      4. Protocol: Keep the HTTP option.
      5. Port: Keep 80.
    2. Health checks
      1. Protocol: Keep the HTTP option.
      2. Path: Keep the / value.
    3. Go to the next section by clicking on the Next button.
  7. Step 5: Register Targets: You can skip this section. Go to the next section by clicking on the Review button.
  8. Create the load balancer by clicking on the Create button.
Clone this wiki locally