AWS Security ChangesHomeSearch

AWS AWSEC2 documentation change

Service: AWSEC2 · 2025-07-04 · Documentation low

File: AWSEC2/latest/UserGuide/instance-secondary-ip-addresses.md

Summary

Added specific commands for different Amazon Linux versions when restarting network services

Security assessment

The change clarifies system-specific commands for network configuration but doesn't introduce security features or address vulnerabilities. While network configuration impacts security posture, this is a procedural clarification rather than a security-specific update.

Diff

diff --git a/AWSEC2/latest/UserGuide/instance-secondary-ip-addresses.md b/AWSEC2/latest/UserGuide/instance-secondary-ip-addresses.md
index 34163701c..cac762acb 100644
--- a//AWSEC2/latest/UserGuide/instance-secondary-ip-addresses.md
+++ b//AWSEC2/latest/UserGuide/instance-secondary-ip-addresses.md
@@ -121 +121 @@ After you assign a secondary IP address to your instance, you must configure the
-  * If you are using Amazon Linux, the ec2-net-utils package can take care of this step for you. It configures additional network interfaces that you attach while the instance is running, refreshes secondary IPv4 addresses during DHCP lease renewal, and updates the related routing rules. You can immediately refresh the list of interfaces by using the command `sudo service network restart` and then view the up-to-date list using `ip addr li`. If you require manual control over your network configuration, you can remove the ec2-net-utils package. For more information, see [Configure your network interface using ec2-net-utils](https://docs.aws.amazon.com/linux/al2/ug/ec2-net-utils.html).
+  * If you are using Amazon Linux, the ec2-net-utils package can take care of this step for you. It configures additional network interfaces that you attach while the instance is running, refreshes secondary IPv4 addresses during DHCP lease renewal, and updates the related routing rules. You can immediately refresh the list of interfaces by using one of the following commands, depending on your system: `sudo systemctl restart systemd-networkd` (AL2023) or `sudo service network restart` (Amazon Linux 2). You can view the up-to-date list using the following command: `ip addr li`. If you require manual control over your network configuration, you can remove the ec2-net-utils package. For more information, see [Configure your network interface using ec2-net-utils](https://docs.aws.amazon.com/linux/al2/ug/ec2-net-utils.html).