Пример с балансировщиком нагрузки

https://www.youtube.com/watch?v=nFlFswEpwnA


Networking -> Virtual Cloud Networks -> Create VCN


С помощью мастера


Name: Marley-VCN

CIDR BLOCK: 10.0.0.0/16


Default Security List for Marley-VCN

Ingress Rules

10.0.0.0/16 80


Compute -> Instances -> Create Instance

marley-instance

ubuntu 20


$ ssh ubuntu@<public-ip>


Запускаю приложение на 80 порту


Networking -> Load Balancers -> Create Load Balancer

Marley-LB

Public

Virtual Cloud Network -> Marley-VCN

Subnet -> Public Subnet Marley

Next

Weighted Round Robin

Add Backends

Protocol TCP

Next

Listener Name: marley-listener_lb

HTTP

Create


VCN -> Default Security List for Marley-VCN

0.0.0.0/0

80