fourcodes-org / proof-of-concepts

2 stars 1 forks source link

64. Study Case for application load Balancer? #122

Closed four-codes closed 11 months ago

four-codes commented 1 year ago

Image

four-codes commented 1 year ago

You may implement the techniques you have learned so far.

four-codes commented 1 year ago

Please show me the architectural flow for each process.

four-codes commented 1 year ago

Image

fourtimes commented 11 months ago

@januo-io

1 public server and 2 private server. am i right?

public server  - webserver
private server - appserver, dbserver
four-codes commented 11 months ago

Yes

fourtimes commented 11 months ago
  1. Create the VPC
  2. Create the subnet. 1 public subent and 2 private subnet.
  3. Create RT for Public and private.
  4. Create the IGW and attach to VPC and configure to public RT.
  5. Create the NAT and configure to private RT. IGW connectivity Image

NAT connectivity Image

  1. Create the 3 ec2 instance for using public subnet and 2 private subnet. Image

Create the security group for EC2 instance. Image

Note:
---------
- attach the LB security group in EC2 security group
  1. Create the Target Group in Load Balancer. Image

Create the Security group for Load Balancer: Image

  1. Create the Application Load Balancer(ALB). Image

Note - A load balancer(LB) must have at least 2 subnets connected to different Availability Zones

OUTPUT

Image