An EC2 instance unreachable after reboot, with a failing instance status check, usually points to the guest OS network configuration, not AWS. Fix it without SSH by using the EC2 Serial Console, a rescue instance that mounts the root volume, the AWSSupport-ExecuteEC2Rescue runbook, or a root volume replacement.
Checked: November 24, 2026 (AWS EC2 and Systems Manager documentation, AWS re:Post Knowledge Center, Red Hat networking guide)
Why is an EC2 instance unreachable after reboot?
An EC2 instance unreachable after reboot usually fails its instance status check because the operating system came back with a broken network or boot configuration. AWS lists “incorrect networking or startup configuration” as a typical cause, and it is something you fix yourself.
EC2 runs status checks every minute. The system status check watches the AWS hardware and network your instance runs on, and a failure there needs AWS to repair it. The instance status check watches the software and network connectivity of your instance. AWS checks it by sending an ARP request to the instance’s network interface. If the OS never brings the interface up correctly, that check fails. Nitro instances also have an attached EBS status check for volume I/O.
A reboot is the moment hidden configuration problems show up. Anything you changed in memory, such as a route added with a one-off command, disappears. Anything you changed on disk but never tested, such as a network script or /etc/fstab, now runs for the first time. AWS also notes that during a reboot the instance status check can report a failure until the instance is available again, so give it a few minutes before you assume the worst.
I spent 22+ years in infrastructure work, the first decade or so on-premises and, from 2013, in the cloud, mostly AWS, mainly building and operating systems. On EC2 there is no keyboard to plug in, so you need a recovery plan that works without the network.
A real case: the default route that was never saved
In my case, an Oracle database server on EC2 became unreachable right after a reboot because a default route had been set without being saved to the configuration. I fixed it by mounting the server’s boot drive on a jumphost.
This happened on an EC2 instance that ran an Oracle database. After I rebooted it, I could not connect to it. The cause turned out to be simple: the default route had been set up, but the route configuration was never saved before the reboot. When the server came back, the route was gone, and so was every path to the instance.
The fix was a jumphost, a server I could still reach in the same environment. I mounted the broken server’s boot drive on the jumphost and solved it from there. AWS calls this pattern a rescue instance, and its documented steps are below.
Why do routes vanish? Red Hat’s networking guide says it directly: static routes set with ip commands at the command prompt are lost if the system is shut down or restarted. To survive a reboot on Red Hat style systems, they must live in a per-interface file such as /etc/sysconfig/network-scripts/route-eth0. A default route line there looks like this:
default via 192.168.1.1 dev eth0
The address above is the example from Red Hat’s guide, not a value to copy. Use your own subnet’s gateway, and check which network tool your distribution uses before editing anything.
First checks before you touch the volume
Before detaching anything, read the status checks and the system log. A failed system check points to AWS, a failed instance check points to your OS, and the system log often names the exact error.
Start with the Status and alarms tab, then open Actions > Monitor and troubleshoot > Get system log once the instance is running. Use this table to choose your next move.
| What you see | Likely cause | First action |
|---|---|---|
| System status check failed | AWS host, power or network problem | Stop and start an EBS-backed instance, or wait at least 30 minutes for AWS to resolve it |
| Instance status check failed, log shows “Bringing up interface eth0: failed” | Interface disabled or misconfigured | Fix the interface config (AWS cites setting ONBOOT to yes) via serial console or rescue instance |
| Instance check passes, but SSH and apps time out | Routing, firewall, or security group | Check security groups and route tables, then the OS routing table from the serial console |
| Log shows “Failed to mount” or “Dependency failed” | Bad /etc/fstab entry |
Correct fstab on a rescue instance, then check the file system |
| Log shows “different MAC address than expected” | Hard-coded MAC in the image | Remove the hard-coded MAC from udev rules |
For an EC2 instance unreachable after reboot, a second plain reboot sometimes clears a transient problem, and AWS suggests trying it. If the route or config was never saved, though, rebooting again will not help. That is the point where you need one of the four fixes below.
Fix 1: EC2 Serial Console
The EC2 Serial Console gives you a text console over the instance’s serial port, so you can log in and fix network settings even when the network is down. It only works if you set it up before the outage.
AWS describes the serial console as a way to troubleshoot “boot, network configuration, and other issues.” It works through the instance’s serial port, and the browser client reaches it over port 443 through the EC2 Instance Connect endpoint for your Region, so you are not relying on the guest OS network you are trying to repair.
The catch is the prerequisites. According to AWS documentation, you need:
- An instance built on the Nitro System, or a supported bare metal type.
- Serial console access configured for your account, plus IAM permission to use it.
- A password-based OS user that you set up beforehand, because you sign in at a text login prompt.
- The instance in the
runningstate, and a browser that supports WebSocket.
If you cannot log in normally, AWS documents booting into single-user mode from the GRUB menu. Single-user mode mounts the file system but may not activate the network, which is exactly what you want when the network config is the problem. After you correct the files, reboot and confirm the instance status check passes.
Fix 2: Mount the root volume on a rescue instance
A rescue instance is a healthy EC2 instance in the same Availability Zone that temporarily mounts the broken instance’s root volume. You edit the files on that volume, then attach it back as the root device. This is the jumphost method from my case.
This works for any EBS-backed EC2 instance unreachable after reboot, with or without serial console access. The AWS Knowledge Center lays out the manual steps:
- Launch a rescue instance in the same VPC and Availability Zone, from the same AMI, or use an existing instance that meets those conditions.
- Stop the impaired instance.
- Detach its root EBS volume (for example
/dev/xvdaor/dev/sda1) and write down the device name. - Attach the volume to the rescue instance as a secondary device, such as
/dev/sdf. - Connect to the rescue instance and mount the volume. Run
lsblkfirst, because the device name on the rescue instance may differ. - Fix the configuration on the mounted volume.
- Unmount it, detach it, and attach it back to the original instance as the root device.
- Start the original instance and confirm it responds.
sudo mkdir /rescue
lsblk
sudo mount /dev/xvdf1 /rescue
# edit files under /rescue, for example /rescue/etc/sysconfig/network-scripts/
sudo umount /rescue
For a lost route, the file to check is the route file for the interface on the mounted volume. For a disabled interface, AWS points to ifcfg-eth0 and the ONBOOT setting. Before you run any file system repair tool such as fsck or xfs_repair, AWS advises backing up the file system first. Taking an EBS snapshot of the volume before you edit it is a simple way to keep a way back.
Fix 3: AWSSupport-ExecuteEC2Rescue
AWSSupport-ExecuteEC2Rescue is a Systems Manager Automation runbook that performs the rescue-instance steps for you. It stops the instance, attaches the root volume to a temporary helper, runs EC2Rescue on it, and puts everything back.
According to the Systems Manager documentation, the runbook deploys a temporary CloudFormation stack, creates a temporary VPC unless you give it a subnet, launches an SSM-enabled helper instance in the same Availability Zone, stops your instance, creates a backup, and attaches the root volume to the helper. After EC2Rescue runs, it reattaches the volume, restarts your instance, and removes the temporary resources.
Know the limits before you start:
- Instances with encrypted root volumes are not supported.
- Without a subnet ID, it needs room for a new VPC. The default quota is five VPCs per Region, and the run fails without changing the instance if you hit it.
- A backup AMI named
AWSSupport-EC2Rescue:<instance-id>stays in your account afterward. - The helper instance type defaults to
t2.medium.
The documentation does not say that this runbook repairs a missing custom route, so treat it as a tool for common OS issues and confirm what its modules cover. For a specific config file you already know is wrong, the manual rescue instance is often more direct.
Fix 4: Replace the root volume from a snapshot
Root volume replacement swaps the root EBS volume of a running instance for one restored from a snapshot, the launch state, or an AMI. AWS says the snapshot option is useful to recover from network configuration errors in the guest OS.
If you have a snapshot from before the bad change, this can be the fastest path. AWS documentation says the instance stays on the same host, keeps its private and public IP addresses and DNS name, and keeps instance store and non-root EBS volumes attached. The instance is rebooted automatically during the task, and if the task fails, the original root volume stays attached.
The trade-off is data. Anything written to the root volume after the snapshot is lost on the new volume. The original volume is kept unless you choose to delete it, so you can still mount it on a rescue instance and copy files off. The snapshot must come from the instance’s current or previous root volume, and the instance must be running.
| Method | Needs setup in advance | Stops the instance | Best for |
|---|---|---|---|
| EC2 Serial Console | Yes: account access, password user, Nitro | No | Quick edits to network config in place |
| Rescue instance (jumphost) | No | Yes | Any EBS-backed instance, precise file fixes |
| AWSSupport-ExecuteEC2Rescue | IAM permissions; no encrypted root | Yes | Automated repair of common OS issues |
| Replace root volume | A snapshot from before the change | No (it reboots) | Rolling back a bad change when root data can be restored |
How to keep this from happening again
Save every network change to the configuration files, test a reboot in a maintenance window, and set up the serial console and snapshots before you need them. Each step turns a long outage into a short one.
Lessons from my case and the AWS guidance come down to a short checklist:
- Persist routes: if you add a route by hand, write it to the interface route file in the same change. A route that lives only in memory will not survive the next reboot.
- Test the reboot: after a network change, plan one controlled reboot while people are ready to fix it, instead of finding out during the next patch night.
- Enable the serial console early: configure account access and a password-based user on critical Nitro instances now.
- Snapshot before changes: a fresh EBS snapshot makes root volume replacement possible.
- Alarm on status checks: a CloudWatch alarm can recover an instance after system check failures when it uses only EBS volumes and a supported instance type.
- Keep a jumphost path: know which healthy instance in the same Availability Zone can act as a rescue instance and who has permission to move volumes.
If cost reviews are part of your change process, my guide on AWS Pricing Calculator vs Real Bill: 6 Costs It Misses covers the line items, such as EBS snapshots, that teams often forget to budget.
Sources
- AWS: Status checks for Amazon EC2 instances
- AWS: Troubleshoot Amazon EC2 Linux instances with failed status checks
- AWS Knowledge Center: Instance status check failure due to operating system issues
- AWS Knowledge Center: Troubleshoot OS-level network configuration issues
- AWS Knowledge Center: System reachability check failure
- AWS: Troubleshoot using the EC2 Serial Console
- AWS: Prerequisites for the EC2 Serial Console
- AWS Systems Manager: Run the EC2Rescue tool on unreachable instances
- AWS: Replace the root volume for an Amazon EC2 instance
- Red Hat: Configuring static routes in ifcfg files
FAQ
Why is my EC2 instance unreachable after reboot and failing the reachability check?
Most often the guest OS came back with a broken network or boot configuration, such as a lost route, a disabled interface, or a bad fstab entry. AWS lists incorrect networking or startup configuration as a typical cause. Read the system log to find the exact error.
Will rebooting the EC2 instance again fix it?
Sometimes, if the problem was temporary. If the configuration on disk is wrong, such as a route that was never saved, another reboot brings back the same state. You need the serial console, a rescue instance, or a root volume replacement.
Will AWS fix a failed instance status check for me?
No. AWS says instance status checks detect problems that require your involvement to repair, such as incorrect networking or startup configuration. System status check failures are the ones that need AWS involvement, and stopping and starting an EBS-backed instance is the usual first step for those.
Do I lose data when I stop the instance to detach the root volume?
Data on EBS volumes stays. Data on instance store volumes is erased when you stop the instance, and the public IP changes unless you use an Elastic IP. Take a snapshot of the root volume before you edit it.
What is the difference between a jumphost and a rescue instance?
A jumphost is any server you can reach that gives you access to others in the network. AWS calls an instance used to mount and fix another instance’s root volume a rescue instance. In practice, a jumphost in the same Availability Zone can serve as the rescue instance.
Pingback: RDS for Oracle vs EC2: Licensing, Cost and Ops (2026)