Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


4097 posts

Uber Geek
+1 received by user: 544

Trusted

Topic # 228939 31-Jan-2018 09:24
Send private message

Unsure how to term what I'm after.  But being a bit cheap, I've got a GPS Tracking server at home on my domestic ISP connection (spark)....I'm too cheap to pay the $15 a month for a static ip.

 

The GPS tracker that you buy, generally don't have DNS, so they must be set up with an IP address, obviously the more static the better.

 

I did have an AWS version of my server (and had an Azure one for a while based off my work MSDN subscription), but the AWS free tier ended.

 

So I started thinking since some of the network tools for azure or aws remain free if I could assign a public ip address and open a couple of ports, and redirect any traffic to my dynamic ip address at home.

 

So the tracker would have a static IP to play with, and I'd update the end point via api when my dynamic ip address changes.

 

Under azure they have a functions area, which seems to be a web based function, which I could write something that says when traffic on received, forward to destination ip on same port.

 

Or some sort of vpn/virtual network function.

 

Thoughts, or should I just carry on and deal with my dynamic ip (I have an sms gateway at home which can update my gps tracker reletively easy on public IP change).

 

 





Previously known as psycik

NextPVR: 
Gigabyte AMD A8 Brix --> Samsung LA46A650D via HDMI, NextPVR,
OpenHAB: ODroid C2 eMMC DriveOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave and Bluetooth LE Sensors
Media:Chromecast v2, ATV4, Roku3, HDHomeRun Dual
Windows 2012 
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


Create new topic
14216 posts

Uber Geek
+1 received by user: 2572

Trusted
Subscriber

  Reply # 1949081 31-Jan-2018 10:05
Send private message

I suspect Azure functions is serverless. Too much trouble IMHO.

 

An AWS t2.nano with 0.5GB is RAM is heaps to run Linux - I have one running Nginx / PHP / MySQL no problems. Windows, maybe not. Run whatever you need there. Costs US$5 a month, less if you reserve your instance for a year.

 

Probably easiest just to keep something active on your home network so the IP doesn't change too often.





AWS Certified Solution Architect Professional, Sysop Administrator Associate, and Developer Associate
TOGAF certified enterprise architect
Professional photographer




4097 posts

Uber Geek
+1 received by user: 544

Trusted

  Reply # 1949082 31-Jan-2018 10:13
Send private message

timmmay:

 

I suspect Azure functions is serverless. Too much trouble IMHO.

 

An AWS t2.nano with 0.5GB is RAM is heaps to run Linux - I have one running Nginx / PHP / MySQL no problems. Windows, maybe not. Run whatever you need there. Costs US$5 a month, less if you reserve your instance for a year.

 

Probably easiest just to keep something active on your home network so the IP doesn't change too often.

 

 

Yeah it doesn't change that often, and I do have a script that emails me with an iphone message format with the sms I have to send the tracker to update the address.  As long as the car is started in the net 72 hours, it'll update.

 

 

 

 





Previously known as psycik

NextPVR: 
Gigabyte AMD A8 Brix --> Samsung LA46A650D via HDMI, NextPVR,
OpenHAB: ODroid C2 eMMC DriveOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave and Bluetooth LE Sensors
Media:Chromecast v2, ATV4, Roku3, HDHomeRun Dual
Windows 2012 
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


472 posts

Ultimate Geek
+1 received by user: 94


  Reply # 1949084 31-Jan-2018 10:15
Send private message

If it were me I'd probably do something like....

 

Would be a fun little project!

 

 


722 posts

Ultimate Geek
+1 received by user: 300

Subscriber

  Reply # 1949086 31-Jan-2018 10:17
Send private message

If I was in your position, I'd switch to an ISP which will give you a static IP address for a one off fee. After 3 months you'd have paid it off based on Sparks $15 per month.

 

 

 

 










4097 posts

Uber Geek
+1 received by user: 544

Trusted

  Reply # 1949090 31-Jan-2018 10:29
Send private message

nzkc:

 

If it were me I'd probably do something like....

 

Would be a fun little project!

 

 

 

 

Yeah that's kinda what I was thinking of.  Now I'd be more comfortable on azure given my familiarity of .net...

 

I'm just reading though and trying ot figure out it it will pass all communication, or if it's just http.  This is tcp communication from the tracker.





Previously known as psycik

NextPVR: 
Gigabyte AMD A8 Brix --> Samsung LA46A650D via HDMI, NextPVR,
OpenHAB: ODroid C2 eMMC DriveOpenHAB with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave and Bluetooth LE Sensors
Media:Chromecast v2, ATV4, Roku3, HDHomeRun Dual
Windows 2012 
Host (Plex Server/Crashplan): 2x2TB, 2x3TB, 1x4TB using DriveBender, Samsung 850 evo 512 GB SSD, Hyper-V Server with 1xW10, 1xW2k8, 2xUbuntu 16.04 LTS, Crashplan, NextPVR channel for Plex,NextPVR Metadata Agent and Scanner for Plex


Amanzi
889 posts

Ultimate Geek
+1 received by user: 93

Trusted
Subscriber

  Reply # 1949222 31-Jan-2018 13:09
Send private message

You can get a free VPS from Google Cloud, and also $300 free credits for new accounts. https://cloud.google.com/free/

 

With the VPS you could probably achieve what you're trying to do.


pab

70 posts

Master Geek
+1 received by user: 7


  Reply # 1949408 31-Jan-2018 15:23
One person supports this post
Send private message

davidcole:

This is tcp communication from the tracker.


HAProxy on your AWS instance?

Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.