How can I minimize charges for my GPU EC2 instance when handling requests?

0
7
Asked By SunnySky49 On

Hey everyone! I'm currently running a puppeteer script on an EC2 g4dn.xlarge instance to generate PDF reports from a 3JS visualizer. Everything's working great, but I'm getting hit with a charge of $0.50 per hour for the instance, even when it's not in use. I usually make less than 100 requests daily, and while I can't switch to Lambda due to needing a GPU, I also can't afford the startup time hitting my response times. What options do I have to manage this more economically?

1 Answer

Answered By TechieGuru88 On

If you have to keep using the GPU and can’t wait for the instance startup, you might be stuck with what you have right now. However, consider using a scheduler to automatically turn off your instance during off-peak hours. Also, if this is a long-term project, look into purchasing Reserved Instances or Savings Plans to save on costs.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.