Skip to content

mongoDB atlas scaling with AWS regions

0

I have 6 EC2 Instances on different region on AWS. I have only one MongoDB server on MongoDB Atlas (AWS). I am having latency issue while updating Data to the database. what is the best way to scale my MongoDB server with My 6 EC2 instances.

asked 6 years ago778 views
1 Answer
0

Here's a secure and cost-effective way you can connect to your MongoDB cluster using AWS IAM passwordless authentication. I think it is one of the fastest ways to connect to the DB as well.

Link: https://vishnusblog.tech/secure-mongodb-with-aws-iam-passwordless-authentication-example

You could create a global EC2 role and assign it to all of your instances. Use that role to enable authentication with reference to the article mentioned.

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.