use ec2-cagent from the path