Totally Nerdy Information

Mike Heath's Blog

To automatically register with the load balancer when my EC2 node starts up, I placed the following script in /etc/init.d/registerlb: #!/bin/bash # # registerlb Startup script for registering and deregistering with the load balancer # # chkconfig: – 90 10 # description: Script for registring and deregistering with load balancer LB_REGISTER_URL=http://wslb-p.webappwishlist.com:8080/pound/subscribe LB_UNREGISTER_URL=http://wslb-p.webappwishlist.com:8080/pound/unsubscribe LB_STATUS_URL=http://wslb.webappwishlist.com:8080/pound/list PRIVATE_IP=`ip -4 [...]

Configuring OpenSSH for EC2

If you’re using OpenSSH to access EC2, you can tell ssh to use your ec2 public key instead of specifying the public key with the -i option when you connect to one of your ec2 instances. To do this, create or modify your ~/.ssh/config file and add: host *.amazonaws.com IdentityFile PATH_TO_YOUR_AMAZON_EC2_KEY_PAIR Unlike Putty, you don’t [...]

  

Calendar

September 2007
M T W T F S S
« Apr   Oct »
 12
3456789
10111213141516
17181920212223
24252627282930