adding funcionality to launch ec2 instance