This way your public IP address won’t change when you decide to terminate and recreate your instance. I encourage to allocate ‘Elastic IP address’ and create appropriate DNS A record for the domain name you’ve selected to use. Second one will use Nginx proxy with SSL Certificate acquired automatically and for free from Let’s Encrypt. First one is the easiest possible (and insecure) giving your Traccar running on HTTP port 80. Don’t worry if you don’t know any of these - everything will go up automatically with just one command. Everything will be set up with some Bash and Ansible scripts in infrastructure as a code style. We’ll use Docker containers to run Traccar and (optionally) Nginx. Please note that Amazon’s default EC2 instance domains *. cannot be used to get a free SSL certificate from Let’s Encrypt as they are considered ephemeral and are on a blacklist. It’s required to set up SSL protected version. One additional thing to consider is to get an external domain name. To keep it cheap even after your free tier is over we’ll only use one EC2 instance to host everything. We’ll do everything on Amazon AWS - there is nothing you need to set up on your local computer. Get a pre-paid one for testing and make sure you have some positive balance. In both cases you will need a GPRS-enabled SIM card for mobile data transmission. Another option is to use a regular smartphone with Traccar Client application installed. For a full list of supported devices please consult devices section on Traccar project website. Some popular cheap models are marketed as TK102B and GT06. You can get your own GPS tracker device from AliExpress, eBay etc. We’ll be using AWS free tier so hosting shouldn’t cost you anything (at least for the first year until your free tier is over). In this article I’ll show you how to set up your own secure GPS tracking server that you can use to locate your assets like a car or even a luggage. Traccar is an Open Source GPS Tracking Platform that supports a variety of protocols and device models.
0 Comments
Leave a Reply. |