TheDevOpsHub / container-labs

🐳 DevOps practice project designed to set up and manage multiple labs environments using Docker containers
3 stars 1 forks source link

Inititalize the project with ubuntu VMs and monitoring #2

Closed tungbq closed 1 month ago

tungbq commented 1 month ago

Closes #1

Result

Prometheus up and running

image

Grafana up and running

image

Alert manager up and running

image

Able to bring up the 2 VM and connect each other in the lab network

➜  container-labs git:(init-proj) ✗ docker run -it --network container-labs_lab-network container-labs-ubuntu-vm1 bash 
root@9069153b62d5:/# ping ubuntu-vm2
PING ubuntu-vm2 (172.20.0.3) 56(84) bytes of data.
64 bytes from ubuntu-vm2.container-labs_lab-network (172.20.0.3): icmp_seq=1 ttl=64 time=0.256 ms
64 bytes from ubuntu-vm2.container-labs_lab-network (172.20.0.3): icmp_seq=2 ttl=64 time=0.046 ms
64 bytes from ubuntu-vm2.container-labs_lab-network (172.20.0.3): icmp_seq=3 ttl=64 time=0.066 ms
64 bytes from ubuntu-vm2.container-labs_lab-network (172.20.0.3): icmp_seq=4 ttl=64 time=0.042 ms
64 bytes from ubuntu-vm2.container-labs_lab-network (172.20.0.3): icmp_seq=5 ttl=64 time=0.055 ms
^C
--- ubuntu-vm2 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4134ms
rtt min/avg/max/mdev = 0.042/0.093/0.256/0.081 ms
tungbq commented 1 month ago

All component containers are up and running: image