enabling ec2 plugin and config