Solved

Reboot Amazon EC2 Linux instance via Putty

Posted on 2014-03-17
7
1,009 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
Do email signature updates give you a headache?

Do you spend too much time managing email signatures? Hate visiting every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Well, let Exclaimer give your company the email signature it deserves!

 
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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Join & Write a Comment

Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now