AWS CloudWatch: EndpointConnectionError: Could not connect to the endpoint URL
<p>I just followed these instructions (<a href="http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/QuickStartEC2Instance.html]" rel="noreferrer">Link</a>) to get AWS CloudWatch installed on my EC2 instance.</p>

<ol>
<li>I updated my repositories: sudo yum update -y</li>
<li>I installed the awslogs package: sudo yum install -y awslogs</li>
<li>I edited the /etc/awslogs/awscli.conf, confirming that my AZ is us-west-2b on the EC2 page</li>
<li>I left the default condiguration of the /etc/awslogs/awslogs.conf file as is, confirming that the default path indeed has logs being written to it</li>
<li><p>I checked the /var/log/awslogs.log file and it is repeatedly showing the error:
EndpointConnectionError: Could not connect to the endpoint URL: "<a href="https://logs.us-west-2b.amazonaws.com/" rel="noreferrer">https://logs.us-west-2b.amazonaws.com/</a>"</p>

<ul>
<li>I do not see any newly created log group and log stream in the CloudWatch console as expected. What am I missing here?</li>
</ul></li>
</ol>

<p>Should I be pointing at some other endpoint other than <a href="https://logs.us-west-2b.amazonaws.com/" rel="noreferrer">https://logs.us-west-2b.amazonaws.com/</a> ? If so, where is that configured?</p>

<p>Thanks in advance,</p>

<p>Graham</p>