(An administrator successfully accesses an EC2 instance via SSH from a local computer then stops it and starts it. Following the restart, the EC2 instance is no longer accessible. Which solution should be used to resolve the issue?)
Comprehensive and Detailed Explanation From Exact Extract:
After stopping and starting an EC2 instance, the public IP address may change (unless an Elastic IP is attached), but the security group rules remain intact. If the instance is no longer accessible via SSH, it's likely due to an inbound rule (e.g., for port 22) not being correctly configured or applied. Adding or verifying a rule in the security group associated with the network interface (NIC) to allow SSH (port 22) from the administrator's IP resolves this. The WGU Cloud Deployment and Operations Study Guide (Section 3.2, Security Groups) states, 'Stopping and starting an EC2 instance may require verifying or adding an inbound SSH rule (port 22) in the security group if connectivity is lost due to IP or rule misconfiguration.' Route table or IP changes are not the primary issue here.
Marva
3 days agoZona
8 days agoAlida
13 days agoCeola
18 days agoTamesha
24 days agoZoila
29 days agoJacob
1 month agoKaty
1 month agoMing
1 month agoKeshia
2 months agoJacquline
2 months agoLeonard
2 months ago