Add a template for ec2 instance with security group of ssh.