AWS Compute Optimizer no longer requires EC2 instances to have 30 consecutive hours of utilization data to generate recommendations. EC2 instances that have non-consecutive 30 hours of utilization data during the 14 days period (for EC2 instances without enhanced infrastructure metrics) or up to 93 days (for EC2 instances with enhanced infrastructure metrics) can get cost and performance optimization recommendations.
Source:: Amazon AWS