---
title: "Comment by Kanika Mahajan on \"Kubeadm Installation Guide\" | Hashnode"
description: "Hello! If the nodes are restarted, will the IP 172.31.61.121 be retained?"
url: "https://hashnode.com/posts/kubeadm-installation-guide/66571ad3e9f6003309df9aec/comment/66571d373c510b99838c79c1"
---

[Discussion](https://hashnode.com/posts/kubeadm-installation-guide/66571ad3e9f6003309df9aec)

Comment [Kubeadm Installation Guide](https://hashnode.com/posts/kubeadm-installation-guide/66571ad3e9f6003309df9aec)

[Kanika Mahajan](https://hashnode.com/@kmahajan)

[May 29, 2024](https://hashnode.com/posts/kubeadm-installation-guide/66571ad3e9f6003309df9aec/comment/66571d373c510b99838c79c1)

Hello! If the nodes are restarted, will the IP 172.31.61.121 be retained?

[ANSAR SHAIK](https://hashnode.com/@ansarshaik965)

[May 29, 2024](https://hashnode.com/posts/kubeadm-installation-guide/66571ad3e9f6003309df9aec/comment/66571d373c510b99838c79c1#reply-6657229660ff3c821cedd9f8)

Until unless your not stopping or restarting Master Node/Worker Node EC2 instance IP address is not going to change. If you you stop instance then IP will be changed, if you want static IP address then use elastic IP.

[Kanika Mahajan](https://hashnode.com/@kmahajan)

[May 29, 2024](https://hashnode.com/posts/kubeadm-installation-guide/66571ad3e9f6003309df9aec/comment/66571d373c510b99838c79c1#reply-66573606a35926ad3c7678cf)

[ANSAR SHAIK](https://hashnode.com/@ansarshaik965) Thanks! So for preproduction/production grade clusters, the best practice is to use static Ip?

[ANSAR SHAIK](https://hashnode.com/@ansarshaik965)

[May 29, 2024](https://hashnode.com/posts/kubeadm-installation-guide/66571ad3e9f6003309df9aec/comment/66571d373c510b99838c79c1#reply-665736893286db2780b76cdc)

Yes [Kanika Mahajan](https://hashnode.com/@kmahajan)
