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.
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.
- Open http://aws.amazon.com and click on Create an AWS Account
- Follow the instructions and create your 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, you can skip to the next section.
1. Open Amazon EC2 console and Login using the credentials you created in 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 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.
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-38b38a47 - US East (N. Virginia)
ami-cea398ab - US East (Ohio)
ami-7b22c018 - US West (N. California)
ami-65faa71d - US West (Oregon)
ami-a1d3e3ce - Asia Pacific (Mumbai)
ami-8ceb5ce2 - Asia Pacific (Seoul)
ami-faa8d210 - Asia Pacific (Singapore)
ami-8275d1e0 - Asia Pacific (Sydney)
ami-65791788 - Asia Pacific (Tokyo)
ami-6efd700a - Canada (Central)
ami-4fc3c5a4 - EU (Frankfurt)
ami-502b34ba - EU (Ireland)
ami-dc0ae1bb - EU (London)
ami-cda515b0 - EU (Paris)
ami-bc1234d0 - South America (São Paulo)
6. Select the GpsGate Server AMI by clicking on the 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 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
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:
where your_server_public_dns is the public DNS name of your instance that you can copy from Amazon EC2 console Instances page .
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.
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.
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.
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.