title: Deploy Java Web Application + MongoDB on AWS
body: <p>I have Java Web Application that runs on tomcat server, without any frameworks. My application works with MongoDB and I need to deploy it to AWS.</p>
  
  <p>What are my steps need to be done?</p>
  
  <ol>
  <li>Deploy war on Elastic Beanstalk?</li>
  <li>Install Mongo on EC2?</li>
  </ol>
  
  <p>What would be the process?</p>
  
  <p>Actually, I don't understand how to use Mongo in AWS. Deploying war is simple but how to connect this project with my database?</p>