Menu

1 / 4

Provisioning Application Load Balancer and connecting it to Ec-2 instance using Terraform

DEV Community·Viktor Vasylkovskyi·6 months ago
#VKrFaoA7
#provision#creating#update#aws#module
Reading 0:00
15s threshold

Previous: API Gateway SSL Termination

In this notes we will continue improving on our infrastructure by adding HTTPS to our web app.

Due to extra complexity in requirements of setting up the ALB, our network topology will suffer some changes. For example, a load balancer requires two availability zones to run in AWS. This means extra configuration overhead which we will have to work with.

As a bonus, since we will have multiple availability zones, we are going to showcase in the end of this guide how to make ALB work with 2 EC-2 instances. And you could scale to as much instances as you want!

Architecture Overview

We will do the following:

Modify Network so that we have two subnets in two availability zones.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.