Skip to content

Production Subnet Documentation

Bryan Stephens edited this page Nov 8, 2022 · 3 revisions

Dev/Prod VPC:

  • Server geographic locations
    • Prod: Ohio
    • Dev: N. Virginia
    • Note: Dev is not a Perfect replica of Prod (some resources in Prod are not in Dev)
    • (Add Machine Software Paths)

Production

  • Public Subnet

    • Bastion:
      • Name: cadre-vpc-ohio-bastion
      • IP Public: 18.222.78.250
      • IP Private:
      • EBS Volume Name: cadre-vpc-ohio-bastion
        • Location: /dev/xvda
      • Desc: for SSH to hosts in Private subnet
        • Locations for SSH at: /home/ec2-user
    • Web Gateway:
      • Name: cadre-web-gateway
      • IP: 13.59.240.201
      • EBS Volume Name: cadre-web-gateway
        • Location: /dev/sda1
      • Desc: Public access to website
  • Private Subnet EC2 Machines:

    • Website:
      • Name: cadre-website
      • IP: 10.0.1.211
      • EBS Volume Name: cadre-website
        • Location: /dev/sda1
      • Desc: the contents of the website
    • Login Server:
      • Name: cadre-login
      • IP: 10.0.1.172
      • EBS Volume Name: cadre-login
        • Location: /dev/sda1
      • Cognito?
      • Desc: The Server handing logins
      • Path to cadre-login Repo
        • /home/ubuntu/cadre-login
    • Meta Database:
      • Name: cadre-metadatabase
      • IP: 10.0.1.156
      • EBS Volume Name: cadre-metadatabase
        • Location: /dev/sda1
      • Database Name: cadre_meta
      • Database user: cadre
      • Location to Repo
        • /home/ubuntu/cadre-metadatabase
    • Graph Databases:
      • Datasets: WoS, MAG, USPTO
      • Resources per Dataset:
        • 1 Janus Server
        • 1 Elastic Search Server
        • 3 Cassandra Nodes (1 seed and 2 nodes)
        • 1 Volume per resource above
    • Kub/Jupyter
      • Name: jupyter-driver-1
      • IP: 10.0.2.45
      • EBS Volume Name: jupyter-driver-1
        • Location: /dev/sda1
      • Cadre-job-listener path: /home/ubuntu/cadre-job-listener
    • Beanstalk
      • CadreInterface-env
      • URL: ??
      • IP: 10.0.1.44
        • ? ssh_to_interface not working and uses different IP than above (10.0.1.178)?

Other AWS Services

  • SQS (Simple Queue Service)
    • Cadre-janus-queue.fifo
    • Cadre-job-queue.fifo
    • Cadre-package.fifo
    • Cadre-startstop
    • Cadre-tool-queue.fifo
  • EFS (File Storage)
    • EFS-Ohio
    • Size: 115.83GiB
  • Cognito
    • Cannot find resource/service

AWS Managing Instances script on ssh_to_janus_server_uspto_2021

  • Sudo supervisorctl to see status of cadre-start-jg-listener
  • Crontab -e to view the automation and path to script
    • Path to python environment: /home/ubuntu/cloud-admin/venv/bin/activate
    • Path to idle checker: /home/ubuntu/cloud-admin/aws/idle_checker/idle_checker.py
    • Path to (???): /aws/ec2 januscluster start python script