Difference between revisions of "Amazon AMIs"

From WA2IAC Wiki
Jump to: navigation, search
m (Amazon AMI Usage and Solutions Notes)
(Amazon ec2 AMI Miscellaneous Notes)
 
Line 1: Line 1:
 +
= Introduction =
 +
 +
Presently a catch-all for Amazon AMI related info.
 +
 +
== Instance Console ==
 +
 +
From the AWS pages... http://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/ApiReference-cmd-GetConsoleOutput.html
 +
 +
Description
 +
 +
Gets the console output for the specified instance.
 +
 +
Instances do not have a physical monitor through which you can view their console output. They also lack physical controls that allow you to power up, reboot, or shut them down. To allow these actions, we provide them through the Amazon EC2 API and command line interface.
 +
 +
Instance console output is buffered and posted shortly after instance boot, reboot, and termination. Amazon EC2 preserves the most recent 64 KB output which will be available for at least one hour after the most recent post.
 +
 +
For Linux/UNIX instances, the instance console output displays the exact console output that would normally be displayed on a physical monitor attached to a machine. This output is buffered because the instance produces it and then posts it to a store where the instance's owner can retrieve it.
 +
 +
For Windows instances, the instance console output displays the last three system event log errors.
 +
 +
The short version of this command is '''ec2gcons'''.
 +
 +
Tip
 +
 +
If you are using the AWS CLI, see get-console-output instead.
 +
Syntax
 +
 +
ec2-get-console-output
 +
Description
 +
 +
Gets the console output for the specified instance.
 +
 +
Instances do not have a physical monitor through which you can view their console output. They also lack physical controls that allow you to power up, reboot, or shut them down. To allow these actions, we provide them through the Amazon EC2 API and command line interface.
 +
 +
Instance console output is buffered and posted shortly after instance boot, reboot, and termination. Amazon EC2 preserves the most recent 64 KB output which will be available for at least one hour after the most recent post.
 +
 +
For Linux/UNIX instances, the instance console output displays the exact console output that would normally be displayed on a physical monitor attached to a machine. This output is buffered because the instance produces it and then posts it to a store where the instance's owner can retrieve it.
 +
 +
For Windows instances, the instance console output displays the last three system event log errors.
 +
 +
The short version of this command is ec2gcons.
 +
 +
Tip
 +
 +
If you are using the AWS CLI, see [http://docs.aws.amazon.com/cli/latest/reference/ec2/get-console-output.html get-console-output] instead.
 +
 +
http://docs.aws.amazon.com/cli/latest/reference/ec2/get-console-output.html
 +
 +
 +
 +
 +
== Using CentOS Packages ==
 
Sort of CentOS like, but many things taken out for Amazon's convenience and security.
 
Sort of CentOS like, but many things taken out for Amazon's convenience and security.
  

Latest revision as of 20:23, 16 February 2015