Link Search Menu Expand Document

Pozi Cloud Server

  • From external: https://d2nozjvesbm579.cloudfront.net/
  • From internal: http://local.pozi.com:3001/

Example Requests

  • https://d2nozjvesbm579.cloudfront.net/ogr2ogr?source=frankston/property-valuation-information.vrt&options=-where|propertynumber='214855'
  • https://d2nozjvesbm579.cloudfront.net/ogr2ogr?source=data.gov.au/bendigo/cogb-recreation-drinking-fountains.shz

Maintenance

EC2 Issues

  • The server did not allow downloading files using IE. This page explains how to work around this: https://aws.amazon.com/premiumsupport/knowledge-center/ec2-windows-file-download-ie/
  • SSL/Certificate issues between Cloudfront and the EC2 instance. Thanks to: https://bobcares.com/blog/cloudfront-wasnt-able-to-connect-to-the-origin-how-to-fix/. Solution: run PoziServer on POZI_CONNECT_PORT=3001 with HTTPS=false
  • The server expired the Administrator password after 45 days. Make sure to set Password never expires for every user, especially Administrator. You can do this via Computer management

Increase Disk Space

  • Log into the machine using RDP
  • Shut down the machine
  • Wait for the machine to be shut down by looking at https://ap-southeast-2.console.aws.amazon.com/ec2/v2/home?region=ap-southeast-2#InstanceDetails:instanceId=i-09ddd4f41c2572984
  • Create a snapshot of the volume through https://ap-southeast-2.console.aws.amazon.com/ec2/v2/home?region=ap-southeast-2#VolumeDetails:volumeId=vol-088b383963de9b728
  • Request resize from 30GB to 50GB
  • Start instance
  • Observe that the IP address has changed from 13.211.106.117 to 13.54.118.232 (or from ec2-13-211-106-117.ap-southeast-2.compute.amazonaws.com to ec2-13-54-118-232.ap-southeast-2.compute.amazonaws.com)
  • Log back into machine as administrator using RDP
  • Follow instructions to inform Windows of the resize: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/recognize-expanded-volume-windows.html
  • Restart just to be sure (technically not necessary)
  • Change the origin for the Cloudfront distribution of E1UOYGEWAAJEZ1 https://console.aws.amazon.com/cloudfront/v3/home?#/distributions/E1UOYGEWAAJEZ1/origins to ec2-13-54-118-232.ap-southeast-2.compute.amazonaws.com and wait for it to be deployed
  • Observe that PoziServerCloud is up and running again on: Pozi Connect Server
  • Rename the userdata folder to reflect new IP address (eg from ec 213211106117 to ec 21354118232)
  • Test example (GeoJSON request)
  • Update any scripts that automate the transfer of data to the userdata folder (example update)
  • Update internal notes/password manager with new RDP address