Tags

Share on social media

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 an AWS account. You are charged only for the services that you use. If you already have an Amazon account, skip to the next section.

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 ZonesIf you already have a key pair, you can skip to the next 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 create 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 - you need this file to connect to your GpsGate server. There is no way to recover it if you lose it.

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.

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 first combo box, and specify the key pair you 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. Congratulations! Your GpsGate Server is running now. You can find your new instances in the list of instances available in Amazon EC2 console - Instances

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 Site Admin credentials. The username is adminand 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.