Solved

Reboot Amazon EC2 Linux instance via Putty

Posted on 2014-03-17
7
1,123 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_
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

 
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Fine Tune your automatic Updates for Ubuntu / Debian
Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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…

724 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