Silly .profile tricks for EC2 instances
Assuming you have your AWS CLI configured properly, and have the “jq” package installed, this is an easy way to SSH to your EC2 instances, and can detect/start an EC2 instance if you attempt to SSH to one that is stopped. Place the below in ~/.profile, and then source it with “. ~/.profile” (or close […]