CloudChoir - Part 5: ServiceNow vs. Amazon EC2 Linux VM
YouTube DEMO video:
http://youtu.be/47vkgzcLMnk
Included in this DEMO:
1. how to use SSH cert to login to Amazon host, instead of using user name and password
2. query Linux VM hosted on Amazon EC2
Sample data used in DEMO:
Runbook:
SSH
Input:
//this sample shows how to run two Linux shell command (or shell script)
<SSHBridge>
<host>ec2-54-213-54-199.us-west-2.compute.amazonaws.com</host>
<port>22</port>
<certfilename >CloudChoirEC2.pem</certfilename >
<user>ubuntu</user>
<password>-password-not-used</password>
<timeout>20000</timeout>
<commandline>ps -ef | grep daemon ; ps -ef | grep tty</commandline>
</SSHBridge>
//this sample shows how to run two Linux shell command (or shell script)
<SSHBridge>
<host>ec2-54-213-54-199.us-west-2.compute.amazonaws.com</host>
<port>22</port>
<certfilename >CloudChoirEC2.pem</certfilename >
<user>ubuntu</user>
<password>-password-not-used</password>
<timeout>20000</timeout>
<commandline>ls -l</commandline>
</SSHBridge>
(Note: my Amazon demo VM's SSH cert already removed after recording of above video. If you want to repro the DEMO, you will need an Amazon VM, and I need to upload your ".pem" to CloudChoir's server.)
That is very interesting; you are a very skilled blogger. I have shared your website in my social networks! A very nice guide. I will definitely follow these tips. Thank you for sharing such detailed article.
ReplyDeleteServiceNow training in Hyderabad