title: MongoDB first time user setup
body: <p>My friend has been dumped by a developer who was working on creating a web app for them. They have asked me for help but I have never used MongoDB.</p>
  
  <ol>
  <li><p>To connect to a remote MongoDB do I need to install MongoDB on my EC2 instance? If yes, can you suggest a link that can show this step by step as I have never done this before. I am running Ubuntu 12.04 LTS</p></li>
  <li><p>Next is accessing the data, can someone point me to an example of scripting with MongoDB whereby I would execute an equivalent query to:</p>
  
  <pre><code>SELECT field1, field2, SUM(field3)
  FROM table
  GROUP BY field1, field2
  </code></pre></li>
  </ol>