If you log in through the GCP marketplace and create an Aura instance, then those instance belongs to your GCP account, and you can enable team access through GCP user management.
Aura instances created from the GCP marketplace are in a different console management view (namespace) whether you log in directly through the Neo4j Aura Console our via GCP console.
If you would like to consolidate all your Aura instances under single console management, you need to download database dumps of Aura instances from one of the environments (GCP marketplace / Aura direct) and then upload dump files and create new instances in another environment.
As an example, if you would like to consolidate your instances to be managed through your GCP project using the following steps:
This involves some downtime, and you will have to redirect any existing applications to new Aura instances.
- Login to the Aura Console directly using Google Authentication (this will take you to your personal account).
- Connect to your existing instances and make a note of your graph data summary (optional but recommended - see below "Graph data summary check" ).
- Create snapshots for your existing instances as explained in the Managing snapshots and backups in Neo4j AuraDB article.
- Download the snapshots locally, renaming them (but preserve the extension) in a way you can clearly differentiate between the snapshots from different instances.
- Make a note of the instance sizes and regions.
- Do not delete the instances yet. Pause them if necessary.
- Logout from the Aura console.
- Switch back to login to GCP.
- Navigate to "Neo4j GCP Integration Service" and click 'Manage via Neo4j Inc' / 'Manage on provider'. This will redirect you to the Aura console for your GCP project and will not list any existing Aura instance created directly in the Aura console from your personal account.
- Create new instances with the same or larger sizes and the same regions to replace your original ones.
- Once the instances have been created successfully, upload the respective snapshots you downloaded in step 4.
- Test the instances for data sanity once the uploads have been completed (optional but recommended see below "Graph data summary check")
- The new instances can be used in place of the old ones now.
- Logout from the Aura Console (this will log you out of the GCP project-specific session).
- Log back into the Aura Console using Google Authentication (this will take you to your personal account).
- Delete the old instances.
Graph data summary check
You can use the following cypher query to get a summary of your data (for use in steps 2 and 12) :
CALL db.labels() YIELD label
RETURN {name:'labels', data:COLLECT(label)[..1000]} AS result
UNION ALL
CALL db.relationshipTypes() YIELD relationshipType
RETURN {name:'relationshipTypes', data:COLLECT(relationshipType)[..1000]} AS result
UNION ALL
CALL db.propertyKeys() YIELD propertyKey
RETURN {name:'propertyKeys', data:COLLECT(propertyKey)[..1000]} AS result
UNION ALL
MATCH () RETURN { name:'nodes', data:count(*) } AS result
UNION ALL
MATCH ()-[]->() RETURN { name:'relationships', data: count(*)} AS result
Comments
0 comments
Please sign in to leave a comment.