Filter down better the ec2 instance so it excludes security groups and stacks
Get the right PEM key based on the instance name