Solved

Reboot Amazon EC2 Linux instance via Putty

Posted on 2014-03-17
7
1,062 Views
Last Modified: 2014-03-17
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
Comment
Question by:_agx_
  • 4
  • 3
7 Comments
 
LVL 21

Accepted Solution

by:
Mazdajai earned 500 total points
ID: 39934688
Updated: You can use the generic linux commands to reboot -

reboot now
init 6 

Open in new window

0
 
LVL 52

Author Comment

by:_agx_
ID: 39934704
What does the "init 6" do? How does reboot differ from "shutdown -r now" on a regular linux machine?
0
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39934739
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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 21

Assisted Solution

by:Mazdajai
Mazdajai earned 500 total points
ID: 39934745
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
 
LVL 52

Author Comment

by:_agx_
ID: 39934760
(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
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39934768
Yes all should work. Personally I prefer init 6.
0
 
LVL 52

Author Comment

by:_agx_
ID: 39934789
Thanks, I'll give those a try.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
There is no doubt that cloud is gaining importance. Many of you must have read about this technology and its growing importance. More and more organisations are embracing this technology not forgetting start-ups. The process begins by dipping …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question