Running your GpsGate Server on Amazon Cloud

You can use Amazon Web Services (AWS) as cloud infrastructure to run your GpsGate server. To facilitate the process, GpsGate provides an "Amazon Machine Image (AMI)" that can be used to create a fresh GpsGate Server installation.


Introduction

You can use Amazon Web Services (AWS) as a cloud infrastructure to run your GpsGate server. To facilitate this process, GpsGate provides an Amazon Machine Image (AMI) that can be used to create a fresh GpsGate Server installation.
Complete the following tasks to set up a GpsGate Server on Amazon EC2. For more information about Amazon Web Services visit https://aws.amazon.com/

Sign Up for AWS

In order to use AWS you need to sign up for AWS account. You are charged only for the services that you use. If you already have an Amazon account, skip to the next section.

  1. Open http://aws.amazon.com and click on Create an AWS Account
  2. Follow the instructions and create you AWS account
Create a Key Pair

AWS uses public-key cryptography to secure communications with servers. Note that if you want to run more than one GpasGate Server instance in different regions, you need to create a key pair in each region.
For more information about regions, see Regions and Availability Zones
If you already have a key pair, your can skip to the next section.

  1. Open Amazon EC2 console and Login using the credentials you created the last section..
  2. From the navigation bar, select the region you want to create the server in. Please note that you cannot move a server to a different region after you created it. For low network latency, we recommend selecting the region you have the highest traffic in.
  3. In the navigation pane (the left side menu) under Network & Security, select Key Pair.
  4. Click on Create Key Pair.
  5. Provide a name for the key pair and click Create.
  6. The key pair is automatically downloaded by your browser. The key pair file extension is .pem, save this file in a safe place. Note that, you need this file to connect to your GpsGate server and there is no way to recover it in case you loose it.

For more details about setting up with Amazon EC2 please visit Setting Up with Amazon EC2

Launching your GpsGate server
  1. Open Amazon EC2 console.
  2. Make sure that the right region is selected in the navigation bar.
  3. Click on Launch Instance button in the middle of the dashboard.
  4. On the Choose an Amazon Machine Image (AMI) page, click on Community AMIs and search for GpsGate
  5. Based on the selected region you will find one of the following AMIs. Verify that the AMI is provided by GpsGate by finding the AMI id in the following list.
    • ami-4b691d5d - US East (N. Virginia)
    • ami-bbe8cedb - US West (N. California)
    • ami-6123b901 - US West (Oregon)
    • ami-2c86894a - EU (Ireland)
    • ami-43e43a2c - EU (Frankfurt)
    • ami-a9aa99ce - Asia Pacific (Tokyo)
    • ami-7cfa2712 - Asia Pacific (Seoul)
    • ami-ec6bee8f - Asia Pacific (Singapore)
    • ami-59646e3a - Asia Pacific (Sydney)
    • ami-a43d52c8 - South America (São Paulo)
  6. Select the GpsGate Server AMI by clicking on Select button.
  7. On the Choose an Instance Type page, select the hardware configuration that satisfies your needs and click on Next: Configure Instance Details.
  8. On Configure Instance Details, leave the default settings and click on Next: Add Storage.
  9. On Add Storage, Specify the amount of storage you need. We recomment at least 50 GB of General Purpose SSD drive. Click Next: Tag Instance.
  10. On the Tag Instance page, specify a name for your instance and click on Next: Configure Security Group.
  11. On Configure Security Group, you can specify network firewall rules for your instance. You can either use your saved security groups if you have any, or create a new security group as displayed in the following picture. Please note that you need to allow trafic for HTTP and RDP protocols to be able to reach your GpsGate server using HTTP and remote desktop. You also need to open all ports that your devices use to communicate with the server. In the example below port number 30175 has been added to the network firewall.

  12. On Review Instance Launch, double check all settings and click on Launch button.
  13. On the Select an existing key pair or create a new key pair popup window select the option Choose an existing key pair from the firt combo box, and specify the key pair your generated in Create a Key Pair from the second combo box.
  14. Acknowledge that you have access to the selected private key file by checking the confirmation box and click on Launch Instances.
  15. On Launch Status page click on View Instances.
  16. Congradulation! Your GpsGate Server is running now. You can find your new instances in the list of instances available in Amazon EC2 console - Instances

For more information about luching servers on AWS visit Launching an Instance

Check your GpsGate Server installation

You can see your running instances in the Instances section of EC2 console, if you do not see your instance in the list, please make sure the right region is selected in the navigation bar. As soon as the instance state is running you can start using Site Admin. It might take few minutes for the instance to be in running status. In Amazon EC2, by default, each instance has a public DNS name. To test your GpsGate Server installation use the public DNS to connect to site admin using the following pattern:

http://your_server_public_dns/gpsgateserver/SiteAdmin/SiteAdmin.aspx

where your_server_public_dns is the public DNS name of your instance that you can copy from Amazon EC2 console Instances page .

IMPORTANT NOTE!!!
The first thing you should do at this step is to change the admin password of Site Admin. The default password is password. It is very important to change the password since everyone has access to the login page of your server!

Associate a Static IP address to your GpsGate Server

In order to define an user-friendly name for your GpsGate Server in a DNS server, you need a static public IP address associated to your server. Follow these steps to associate a static public IP address to the server.

  1. In the navigation pane under Network & Security, select Elastic IPs.
  2. Click on Allocate New Address, and confirm by pressing Yes, Allocate in the popup window.
  3. Right-click on the newly allocated Elastic IP address and select Associate Address from the menu.
  4. Click on Instances textbox and select your instance from the popup menu.
  5. Click on Associate.
  6. At this point your server has a static public IP address. You should be able to reach Site Admin using the following URI, where associated_address is the new Elastic IP address.
  7. http://associated_address/gpsgateserver/SiteAdmin/SiteAdmin.aspx
Remote desktop to your GpsGate Server
  1. Open Amazon EC2 console.
  2. Right click on your GpsGate Server instance and select Connect from the popup menu.
  3. In the popup window click on Get Password.
  4. In the new popup window click on Choose File and provide the key pair generated in section Create a Key Pair.
  5. You can see the content of the file in the textbox, click on Decrypt Password and keep the generated password in a safe place
  6. In the popup window click on Download Remote Desktop File, a file with .rdp extension is automatically downloaded by your browser.
  7. Click on the downloaded file and connect to the server.
  8. Login to the windows with username Administrator and the password you got in the last step.

 


  Discuss this blog post on the forum please



Download free GpsGate Server

Install it on your own server. The installation is free for 5 users.

Download Now