Monitoring - SG 변경

This commit is contained in:
dsk-minchulahn
2023-12-19 11:52:32 +09:00
parent a868ce0ebc
commit 947561ce1d
3 changed files with 47 additions and 70 deletions

View File

@@ -5,26 +5,26 @@ resource "aws_security_group" "grafana-allow-security" {
ingress {
description = "Allow SSH traffic"
from_port = 22
to_port = 22
from_port = 2222
to_port = 2222
protocol = "tcp"
cidr_blocks = ["118.223.123.161/32"]
cidr_blocks = ["39.115.183.236/32"]
}
ingress {
description = "Allow HTTP traffic"
from_port = 80
to_port = 80
protocol = "tcp"
cidr_blocks = ["118.223.123.161/32"]
}
# ingress {
# description = "Allow HTTP traffic"
# from_port = 80
# to_port = 80
# protocol = "tcp"
# cidr_blocks = ["118.223.123.161/32"]
# }
ingress {
description = "Allow TLS traffic"
description = "Allow HTTPS traffic"
from_port = 443
to_port = 443
protocol = "tcp"
cidr_blocks = ["118.223.123.161/32", "39.115.183.138/32"]
cidr_blocks = ["118.223.123.161/32", "39.115.183.138/32", "39.115.183.236/32"]
}
# ingress {