Skip to content

ELB Module #46

@robg-test

Description

@robg-test

Create an ELB Module that will allow the creation of an ELB provided a set of instances to add to the Load Balancer

It should be made so that it will receive traffic on a port and redistribute traffic to the instance port on the specified listeners.

The goal of this module will allows us to simplify the process of creating a load balancer so that given a set of 2 private EC2's or resources on Private IP's can we provide the port of which the application sits and put those in-front of a public facing load balancer to route traffic too.

Inputs

  • Target Port of your instance
  • The Instance Id's of the EC2's
  • SSL Certificate Id - Provided you will need this added either as part of another module or some form of other process. For testing purposes add this yourself.

Outputs

  • TBD

See https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elb for info on setting this up.

Testing

Will need fairly rigorous testing to ensure that the networking is working, ideally this will be done with the Go Modules.

  • Assert that Load Balancer can communicate with paired EC2 instances

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions