EC2 Instance creation fails due to VPC Issues
<p>So I am following this link: <a href="https://stackoverflow.com/questions/32635241/autoscale-based-on-sqs-queue-size">Autoscale based on SQS queue size</a> to create an autoscaling group for my instances. I have read many articles about this problem that I am getting and many people are getting the same problem, but theirs occurs when they try to use "t1.micro". Whereas, I am using "c4.xlarge" instance type and I already have a VPC defined for my Image. Why am I still getting this error:</p>

<pre><code>Launching a new EC2 instance. Status Reason: The specified instance
type can only be used in a VPC. A subnet ID or network interface ID is
required to carry out the request. Launching EC2 instance failed.
</code></pre>

<p>Does anybody have a solution for this?</p>