Move global EC2 client to helper