더북(TheBook)

EC2 인스턴스에서 외부 인터넷으로 통신 확인하기

SSH 터미널에서 간단하게 외부 인터넷 통신을 확인합니다.

# SSH 터미널 접속
# 외부 인터넷 구간으로 ping 테스트
ping google.com

PING google.com (142.251.42.206) 56(84) bytes of data. 
64 bytes from nrt12s47-in-f14.1e100.net (142.251.42.206): icmp_seq=1 ttl=104 time=33.6 ms 
64 bytes from nrt12s47-in-f14.1e100.net (142.251.42.206): icmp_seq=2 ttl=104 time=33.6 ms 
64 bytes from nrt12s47-in-f14.1e100.net (142.251.42.206): icmp_seq=3 ttl=104 time=33.6 ms

ctrl+c