Comments (7)
I did get DocumentDB to work (in my prior job, so don't have access to see details anymore). Are you sure you had the necessary security groups set up to allow port 27017 to communicate from citizen server to documentdb?
from citizen.
Yeah, when I got it to work, it was a version of Citizen so old that it didn't even have the HCL2 support in there, so at best it was 0.3.3. Looks like Prisma was added with 0.6.0. So it's possible that earlier versions might work.
from citizen.
Has anyone had anyone had luck trying to get AWS DocumentDB to work? When I pass in the URL for documentDB for CITIZEN_MONGO_DB_URI and I just get a connection refused when citizen loads up.
from citizen.
interesting, yeah the security groups were fine. I manually logged into the ec2 instance that citizen was running on and used a "nc" command to verify the connection. The nc command worked.
Were you using 0.4.0 version or the master version of citizen?
did you have to create a database in DocumentDB manually before citizen connects to it?
from citizen.
from citizen.
@joeykhashab I don't think Documentdb will work with citizen because Prisma only supports Mongodb version 4.2 and above. Documentdb is currently at version 4.0 so unless Amazon adds support for the newer versions of Mongodb, documentdb isn't really an option. Prisma adding support for Mongo v4.0 also seems unlikely.
I was able to hookup the citizen server (v6.0) with a Documentdb instance (v4.0) but I kept running into errors when I tried to version modules.
from citizen.
DocumentDB now apparently supports the MongoDB 5.0 compatability: https://docs.aws.amazon.com/documentdb/latest/developerguide/compatibility.html
from citizen.
Related Issues (20)
- Does citizen support terraform network mirror protocol ?
- Couldn't publish provider HOT 1
- provider download with s3 issue HOT 1
- s3 backed container doesn't see modules/providers after restart HOT 1
- Provider Publication HOT 2
- Timeout when connecting to the sqlite database HOT 1
- Uploading Modules HOT 3
- Citizen module publish execution requires extraneous ENV variables - Citizen v0.6.0
- Citizen module publish does not apply owner switches but will apply ENV CITIZEN_MODULE_OWNER in mysql
- How to trace no of downloads are happening? is there any metrics endpoint exposed, if not any one could you please help me out.
- Citizen Module 404
- Support for Azure Storage Containers as a Backend for CITIZEN_STORAGE
- the fileNamePrefix in regexp pattern of validating the built provider pacakge should be escaped
- Logging inside of container is colorized
- Add explanations about prisma generate in the README.
- namespace validation rule in cli-helper.js requires the namespace must be longer than 3 characters
- Can't public provider
- Cleanup non issue
- Publishing a module which has a submodule without a source field fails and causes Citizen to spike to 100% CPU usage until restarted.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from citizen.