I’m trying to add an EC2 instance as a news Rancher hostm, but got this message when doing so:
Error setting machine configuration from flags provided: amazonec2 driver requires the --amazonec2-access-key option or proper credentials in ~/.aws/credentials
Tried aws security group with ANY traffic in and out your vpc for test purpose ?
Are you running the right rancher os ami or spinning up a custom host ?
Maybe first try to spin up a custom ec host. Advantage is, to have full access of docker and container logfile to look for agent/client side errors?
Any further erros in debug log of rancher server ?