title: Is it good to run prometheus in the same application server
body: <p>I have a VPC, where the backend are in private subnets connected. I am introducing a new logging tool &quot;Prometheus&quot; to it. <strong><code>My question is should I spin up an another ec2 on the private subnet where the backend applications are connected or should I run along with the application server machine itself ?</code></strong>
  If I bring up a new server, I see like if any issue like a disk failure or full happens to the app server then prometheus can help me to say that but if installed in same machine if a sudden disk fails prometheus too will go down, right ?
  On second part, which one is more <strong>secure</strong>, I don't know if any port need to be exposed since we run in different servers ? do we need to do that ?</p>
  <p>Pls let me know your best experience ?</p>