Are you going to save more than 412 hours of instance time?

Then spend an hour optimizing. Otherwise, maybe wait.

Doesn't look right? Try your values:

$
AWS EC2 time per equivalent cost in programmer hours.
Instance Type Cost/Hour Time/Programmer Hour
t2.nano $0.0065 6,597 hours
t2.micro $0.013 3,298 hours
t2.small $0.026 1,649 hours
t2.medium $0.052 825 hours
m3.medium $0.067 640 hours
t2.large $0.104 412 hours
c4.large $0.105 408 hours
c3.large $0.105 408 hours
m4.large $0.12 357 hours
m3.large $0.133 322 hours
r3.large $0.166 258 hours
c4.xlarge $0.209 205 hours
c3.xlarge $0.21 204 hours
m4.xlarge $0.239 179 hours
m3.xlarge $0.266 161 hours
r3.xlarge $0.333 129 hours
c4.2xlarge $0.419 102 hours
c3.2xlarge $0.42 102 hours
m4.2xlarge $0.479 90 hours
m3.2xlarge $0.532 81 hours
g2.2xlarge $0.65 66 hours
r3.2xlarge $0.665 64 hours
d2.xlarge $0.69 62 hours
c4.4xlarge $0.838 51 hours
c3.4xlarge $0.84 51 hours
i2.xlarge $0.853 50 hours
m4.4xlarge $0.958 45 hours
r3.4xlarge $1.33 32 hours
d2.2xlarge $1.38 31 hours
c4.8xlarge $1.675 26 hours
c3.8xlarge $1.68 26 hours
i2.2xlarge $1.705 25 hours
m4.10xlarge $2.394 18 hours
g2.8xlarge $2.6 16 hours
r3.8xlarge $2.66 16 hours
d2.4xlarge $2.76 16 hours
i2.4xlarge $3.41 13 hours
d2.8xlarge $5.52 8 hours
i2.8xlarge $6.82 6 hours