Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

104
Views
Can a Java web app in GAE connect to Mongodb in GCE?

I'm looking at Google app engine for deploying my Java web app which connects to a mongodb database through the mongodb java driver.

Plan 1:

  1. Deploy MongoDb Database in Google Compute Engine
  2. Deploy Java Web app in Google App Engine and pass the address of the MongoDb (in GCE) to the mongodb driver

Plan 2:

Deploy both Mongodb and Java web app in Google Compute engines

Question 1: Will Plan 1 work ? Question 2: I think Plan 2 will probably work. But is it the most efficient method ? If not, can you suggest a more efficient method?

Note: Im on planning on using Google Datastore.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Your plan 1 is feacible, the only thing you need to ensure is that your App Engine and Compute Engine (MongoDB) are in the same virtual network. As it is stated here.

The plan 2 won't be cost effective due to the requirement of having the intance(s) running your app on 24x7. Even if there are no traffic you will have to pay for them. Google App Engine will give you the chance of having a free quota.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!