• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1350
  • Last Modified:

Reboot Amazon EC2 Linux instance via Putty

Easy question. I'm new to linux and am accessing an EC2 linux instance via putty, and need to reboot it.  The Amazon User Guide only mentions using the Amazon console. Does anyone know if it supports rebooting via putty?
0
_agx_
Asked:
_agx_
  • 4
  • 3
2 Solutions
 
MazdajaiCommented:
Updated: You can use the generic linux commands to reboot -

reboot now
init 6 

Open in new window

0
 
_agx_Author Commented:
What does the "init 6" do? How does reboot differ from "shutdown -r now" on a regular linux machine?
0
 
MazdajaiCommented:
On a high level, they perform nearly the same. (Both call the shutdown command).

If one day you are missing reboot binary in a nix distro, you can try init 6.

There is no 'best' method in reboot verus init 6.
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
MazdajaiCommented:
I attached the article below for a throughout explanation:

http://www.vreference.com/2009/09/23/reboot-is-not-the-same-as-init-6/
0
 
_agx_Author Commented:
(Edit)  Coincidentally I was just reading that same link!

Ok.. so in theory any of the three options would work? I don't have access to the Amazon console, so I want to be sure I understand what *should* happen before trying them ;-)
0
 
MazdajaiCommented:
Yes all should work. Personally I prefer init 6.
0
 
_agx_Author Commented:
Thanks, I'll give those a try.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now