title: ASP.NET application slow performance on AWS EC2 t2.micro
body: <p>I'm new to AWS and trying to run an ASP.NET MVC and Web API web application hosted on IIS in a t2.micro EC2 instance. The database is an RDS instance of MS SQL server express 2016. </p>
  
  <p>The website was running normally from yesterday night until today afternoon, then it became incredibly slow and un-usable, and now it's running perfectly alright again. Based on the application logs it seemed that the database calls were taking a long time, but I'm confused as to what's causing it and what to check to diagnose the problem.  </p>
  
  <ol>
  <li>Is it the CPU credits? I had 86 when it was running terribly slow and now I have 126 CPU credits when it's running fine.</li>
  <li>Does the RDS also maintain CPU credits? Do I need to check something here?</li>
  <li>Is 86 CPU credits very low to run an ASP.NET MVC and Web API application? </li>
  </ol>
  
  <p>Some more info:
  1. The max cpu utilization in the last 24 hours was at 12.9% and then 13.8% for about 1-2 minutes, otherwise it's been below 1%</p>
  
  <p>Thanks in advance!</p>