Setup loadbalancer
Last updated
Was this helpful?
Last updated
Was this helpful?
Taskforce.sh requires a load balancer so that we can enable HTTPS which is mandatory for Auth0.
Go to EC2 load balancers and create a new application load balancer:
Make sure to choose the HTTPS listener:
Choose your Availability zones:
In this step you will choose an appropriate TLS certificate that you must have created previously (https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-public.html)
In this step you must choose the security group that you created and assigned to your EC2 instance where Taskforce.sh is running.
You may also need to add a security group to make your load balancer accessible. For example for a public-faced Taskforce.sh dashboard you would define a security groups with the following inbound rules:
Just leave the settings on this step with its defaults, but port 4200 and just name the target group to something like taskforcesh-target.
Choose the EC2 instance running Taskforce.sh, target port 4200 and click on "Add to registered".