- Le plus récent
- Le plus de votes
- La plupart des commentaires
Hello.
Where is Mongo DB managed?
If Mongo DB is installed on EC2, I think there will be no problem just by allowing the EC2 security group of the AutoScaling group in the security group.
https://docs.aws.amazon.com/vpc/latest/userguide/security-group-rules.html#security-group-referencing
If Mongo DB exists on-premises and provides public access, you can fix the IP address by creating a NAT Gateway within the VPC and directing EC2 communication via the NAT Gateway.
https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-basics
If you are accessing on-premises via VPN, I think you can use a method to allow VPC CIDR.
There is a related post that helped me: https://serverfault.com/questions/664960/aws-public-subnet-autoscaling-group-with-outbound-nat
Contenus pertinents
- Réponse acceptéedemandé il y a un an
- demandé il y a 10 mois
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 3 ans
Thank you! Made it working with NAT gateway ^^