Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Hands-on with Neo4j Aura Free Tier - NODES 2021 Training

Hands-on with Neo4j Aura Free Tier - NODES 2021 Training

Interested in testing a project, building a proof-of-concept, or playing with a graph database - all without handling database administration yourself? Neo4j Aura (free tier) is the option for this and so much more, without any fees or costs of any kind to you!
In this hands-on session, we will cover the following:
- what Aura is, what's provided with free tier, and how to access it
- how to manage and monitor the database from the control board
- how to import data, run queries, and interact with the database
- how to connect to the database from other sources (like Desktop, drivers, and more)
- (time permitting) how to access and deploy an application for the database
We will also see how to find help and other information specific to using Neo4j in the cloud!

10f2b035856eef2b59c02267e3ee9e63?s=128

Jennifer Reif

June 08, 2021
Tweet

Transcript

  1. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights

    reserved 2021 1 POLL: What best fits your situation? A. New to graphs B. Know some graphs, but new to Neo4j Aura C. Familiar with graphs and Aura, but learning more
  2. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights

    reserved 2021 2 NODES Training: Hands-on with Neo4j Aura Free tier Jennifer Reif, Developer Relations Engineer at Neo4j jennifer.reif@neo4j.com @JMHReif https://www.linkedin.com/in/jmhreif/
  3. Neo4j, Inc. All rights reserved 2021 Agenda • Intro to

    graphs and Neo4j • Intro to Neo4j DBaaS (Aura) ◦ Hands-on: explore Aura console and instance • Import and interact with data ◦ Hands-on: Import Venmo data from Github using Cypher ◦ Hands-on: visualize with Bloom • Connect to the database ◦ Hands-on: connect from Neo4j Desktop ◦ Hands-on: connect from graph app • Access and connect an application ◦ Hands-on: connect an application • Final questions and wrap-up
  4. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights

    reserved 2021 4 Graphs and Neo4j
  5. Neo4j, Inc. All rights reserved 2021 5 What is a

    graph? • Set of discrete objects, each of which has some set of relationships with other objects Seven Bridges of Konigsberg problem. Leonhard Euler, 1735
  6. Neo4j, Inc. All rights reserved 2021 6 Show how data

    is connected
  7. Neo4j, Inc. All rights reserved 2021 7 Relational Graph

  8. Neo4j, Inc. All rights reserved 2021 8 Other NoSQL Graph

  9. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights

    reserved 2021 9 What does graph have to offer?
  10. Neo4j, Inc. All rights reserved 2021 10 Graphs add context

    and meaning
  11. Neo4j, Inc. All rights reserved 2021 11 A few graph

    use cases…. Social network Fraud detection Network & IT operations Identity & access management Graph-based search
  12. Neo4j, Inc. All rights reserved 2021 12 (Graphs)-[ARE]->(Everywhere) The Internet

    Bank Fraud
  13. Neo4j, Inc. All rights reserved 2021 13 Literally… NASA space

    satellite Game of Thrones family trees
  14. Neo4j, Inc. All rights reserved 2021 14 Whiteboard friendliness

  15. Neo4j, Inc. All rights reserved 2021 15 Graph model paymentId:

    657987915649862247 Payment User username: jennifer123 name: Venmo for x Application username: mark456 User SENDS PAID_TO PAID_USING
  16. Neo4j, Inc. All rights reserved 2021 16 Graph data

  17. Neo4j, Inc. All rights reserved 2021 17 Graph components •

    Node (vertex) • Objects Michael Jennifer Neo4j Graphs
  18. Neo4j, Inc. All rights reserved 2021 18 Graph components •

    Node (vertex) • Objects • Relationship (edge) • Connections Michael Jennifer Neo4j Graphs :LIKES :IS_FRIENDS_WITH :WORKS_FOR
  19. Neo4j, Inc. All rights reserved 2021 19 Graph components •

    Node (vertex) • Objects • Relationship (edge) • Connections • Label • Node category (optional) Person Person Employee Company Technology Hobby :LIKES :IS_FRIENDS_WITH :WORKS_FOR
  20. Neo4j, Inc. All rights reserved 2021 20 Graph components Person

    Person Company Technology :LIKES :IS_FRIENDS_WITH :WORKS_FOR • Node (vertex) • Objects • Relationship (edge) • Connections • Label • Node category (optional) • Properties • Enrich node/relationship • No need for nulls name: Michael type: Graphs name: Jennifer name: Neo4j since: 2018
  21. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights

    reserved 2021 21 Cypher Query Language… SQL for Graphs
  22. Neo4j, Inc. All rights reserved 2021 22 Functional and visual

    • Based on ASCII-art • Declarative query language • Focuses on what to retrieve • Not how A B LIKES MATCH ( A ) - [ : LIKES] - > ( B )
  23. Neo4j, Inc. All rights reserved 2021 23 Cypher: powerful and

    expressive Jennifer Neo4j WORKS_FOR CREATE (:Person { name: ‘Jennifer’}) -[:WORKS_FOR]-> (:Company { name: ‘Neo4j’}) NODE PROPERTY NODE PROPERTY LABEL LABEL
  24. Neo4j, Inc. All rights reserved 2021 Cypher: powerful and expressive

    Jennifer Neo4j WORKS_FOR MATCH (:Person { name: ‘Jennifer’} ) -[:WORKS_FOR]-> ( whom ) 
 RETURN whom
  25. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights

    reserved 2021 25 Neo4j Aura
  26. Neo4j, Inc. All rights reserved 2021 26 Neo4j in the

    cloud • Announced at NODES 2019 • Database-as-a-service (DBaaS) • Neo4j-managed • Reduce maintenance/provisioning • Avoid staffing and skill training • Avoid downtime, improve reliability • Cost: resource-usage
  27. Neo4j, Inc. All rights reserved 2021 27 Aura Tiers https://neo4j.com/cloud/aura/pricing/

  28. Neo4j, Inc. All rights reserved 2021 28 Free Tier vs

    Sandbox Neo4j Sandbox • Temporary (3-10 days) • Version updated ad hoc Aura Free • Forever instance • Always current features/version
  29. Neo4j, Inc. All rights reserved 2021 29 Aura Versioning •

    Version: handled and upgraded in background • Aura version = Neo4j major version (i.e. 4) • Downtime (free tier): • very little, always latest features • Features: • In Neo4j version = In Aura • Exceptions (currently) = RBAC, Multi-DB • Integrations: • APOC (core), not extended • Bloom (limited users) • More coming…
  30. Neo4j, Inc. All rights reserved 2021 30 Quick note on

    monitoring • Currently no monitoring panel in free tier • Pro and Enterprise tiers • Halin graph app not integrated with Aura • Need monitoring access? • Feedback! neo4j-aura.canny.io/
  31. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights

    reserved 2021 31 What we’ll do: • Console/log in • dev.neo4j.com/aura-login • Running Aura free instance • Console tabs • Database tabs Hands-on #1
  32. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights

    reserved 2021 32 Import with Neo4j Aura
  33. Neo4j, Inc. All rights reserved 2021 33 What to know

    about import • Console methods • Dump, Cypher, language drivers • External methods • Cloud Tool, public URLs, secure data • Differences • Import directory access • APOC import local files • Store API credentials in config • Import with custom procedures • Import with neo4j-admin tool • Neo4j ETL Tool (<v1.4.1) neo4j.com/developer/aura-data-import/
  34. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights

    reserved 2021 34 What we’ll do: • Repo: • github.com/JMHReif/ nodes2021-aura-training • Aura console: open Browser • Run Cypher to load data • Explore data with queries • Extra: • Load via dump file (Aura console) Hands-on #2 neo4j.com/developer/aura-data-import/
  35. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights

    reserved 2021 35 What we’ll do: • Aura console: open Bloom • Queries with Bloom Hands-on #3 neo4j.com/developer/neo4j-bloom/
  36. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights

    reserved 2021 36 Connect to the database
  37. Neo4j, Inc. All rights reserved 2021 37 Ways to connect

    • Desktop • Remote connection • Graph apps • Cypher shell • Command line tool • Programmatically • Language drivers • Applications
  38. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights

    reserved 2021 38 What we’ll do: • Open Neo4j Desktop • Aura console: • copy Connection URI • Desktop: Add remote instance Hands-on #4 neo4j.com/developer/aura-connect-neo4j-desktop/
  39. Neo4j, Inc. All rights reserved 2021 39 Cypher shell •

    Included in Neo4j • Also can be downloaded • Run Cypher statements for admin or data load • Command line tool • Will need username/password neo4j.com/developer/aura-connect-cypher-shell/
  40. Neo4j, Inc. All rights reserved 2021 40 Connect a graph

    app • Graph apps • Single-page app with HTML/JS • Use Neo4j Desktop to interact with db • Can also be webpage • Full list: install.graphapp.io/ • Users can build their own neo4j.com/developer/graph-apps/
  41. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights

    reserved 2021 41 What we’ll do: • Open Neo4j Desktop • Open Graph Apps Gallery • Review graph apps Hands-on #5 neo4j.com/developer/graph-apps/
  42. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights

    reserved 2021 42 Applications with Aura
  43. Neo4j, Inc. All rights reserved 2021 43 Connect an application

    • Need: • Connection URI, username, password, dependencies • Aura console contains examples • Code for each language • Steps to reproduce • App can be local or deployed • Guide: neo4j.com/developer/aura-grandstack/
  44. Neo4j, Inc. All rights reserved 2021 Neo4j, Inc. All rights

    reserved 2021 44 What we’ll do: • Aura console: • Instance console • Connect tab • Choose language • Follow steps (right pane) • Backup - repo: • github.com/JMHReif/ nodes2021-aura-training Hands-on #6 neo4j.com/developer/aura-connect-driver/
  45. Neo4j, Inc. All rights reserved 2021 45 Resources • Aura

    Feature Request / Feedback: • dev.neo4j.com/aura-feedback • Aura Documentation: • dev.neo4j.com/aura-docs • Aura Developer Guides: • dev.neo4j.com/aura-guides • Aura Support Guides: • dev.neo4j.com/aura-support • Review today: • dev.neo4j.com/aura-guides • Github repository: • github.com/JMHReif/nodes2021-aura-training Jennifer Reif jennifer.reif@neo4j.com @JMHReif linkedin.com/in/jmhreif/