About two weeks ago I was suddenly unable to ssh
into my AWS machines, they just time out. Really, the best information I can get from an ssh -vvv <ip>
is ssh: connect to host <ip> port 22: Connection refused
. if the ip address has changed no one told me about it.
Since I still have the information about the machines from when I set them up, I'm wondering if there's a way to resurrect an AWS cluster using command line tools.
Here is all of the information I have about the machines in the cluster:
- instance IDs
- region
- groupName
- VpcId
- SubnetId
- SubnetId
- public IP addresses
Using the AWS CLI, is there a way to resurrect these instances?
EDIT I'm pretty sure the instances are stopped
, judging by this: When I do aws describe-instances --region <region> --instance-ids <id>
I see "State" { "Code": 80, "Name": "stopped"}
.