Mastering Development System & Network

Best configuration for frequent short lived EC2 instances, eg a build server

We have a EC2 use case where we want to build our code on EC2, but these builds are infrequent.

Given that builds may take around 5-60 minutes and we build something 2-5 times a day, what is the best approach balancing cost and convienence?

Should we use a larger instance type with Spot Instances and EBS, and try to get staff to stop the instance when not needed? Should we be using T2 instead of T3, to make use of Launch credits?
Or should we have a smaller instance in Unlimited mode which we keep running to accure credits, to burn through when actully building?
Are there any other approaches that should be considered?

Leave a Reply

Your email address will not be published. Required fields are marked *