Security groups for ALB

Public ALB:

-----------------------rules--------

- Inbound rules:

ipv4 http tcp 80 0.0.0.0/0

ipv6 http tcp 80  ::/0

ipv4 https tcp 443 0.0.0.0/0

ipv6 https tcp 443 ::/0


- Outbound rules: 

Custom TCP TCP 30000 - xxxxx      eks_cluster_security_group1

Custom TCP TCP 30000 - xxxxx      eks_cluster_security_group2


-----------------------AZ 3 different zones--------


-----------------Listeners and rules----------------

http:80   -> redirect to https://#{host}:443/#{path}?#{query}

status code: HTTP_301


------

https:443   -> Forward to target group

if path pattern is /xxx/* then forward to target1

if header is zzzz then forward or redirect to target2

if 

Comments

Popular posts from this blog

Fixing the DeepSpeed Import Error While Fine-Tuning the Qwen Model

Amazon Linux 2023 - User data configuration for launch templates to connect to the EKS cluster

How to create ISM policy and rotate logs in opensearch