1 Answer
- Newest
- Most votes
- Most comments
1
Hi. Make sure the Cloud9 instance is in the same VPC as Amazon DocumentDB cluster. Then double check the security group attached with DocumentDB, it should have an inbound rule to allow connections with source the C9 security group. I recommend following the getting started guide from the DocumentDB documentation.
answered 4 years ago
Relevant content
- asked a year ago
- asked 4 years ago
- AWS OFFICIALUpdated 4 months ago

Thank you very much for your reference @Mihai yet I struggle with installing the mongo shell in my AWS Cloud9.
Indeed, it seems I can't create the repository file with the
echo -e "[mongodb-org-4.0] \nname=MongoDB Repository\nbaseurl=...it returns:mongodb-org-4.0.repo: No such file or directoryFurthermore, when I tried to install the mongo shell with
sudo yum install -y mongodb-org-shellwhich I didn't had, and which I installed, it returnsrepolist: 0What's the full 'echo' command you're running ?