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:
- EU (Stockholm): ami-0b01a0e32e35c64ad
- Asia Pacific (Mumbai): ami-004ee73dad679196e
- EU (Paris): ami-02b5f467ea7fb91e3
- EU (London): ami-0b971374d30d0169c
- EU (Ireland): ami-074007eb391c1356c
- Asia Pacific (Seoul): ami-06f75060ae6a897f3
- Asia Pacific (Tokyo): ami-0b286be3bc6376005
- South America (São Paulo): ami-09bfaf8341d071c31
- Canada (Central): ami-06f502b8e10480fb0
- Asia Pacific (Singapore): ami-0c1e4352115cfd849
- Asia Pacific (Sydney): ami-0dc8bca6cb70fe669
- US East (N. Virginia): ami-052f46d6e8516439f
- US East (Ohio): ami-0248c5dc2c1539742
- US West (N. California): ami-01ae9c9f76d454877
- US West (Oregon): ami-0aa3072d6d81a9672
- EU (Frankfurt): ami-00667e82fffb36971
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. In 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 the 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 the 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 launching 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 a 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 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 .
Associate a Static IP address to your GpsGate server
In order to define a user-friendly name for your GpsGate server in a DNS server, you need a static public IP address associated with your server. Follow these steps to associate a static public IP address with 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 the 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 URL, where associated_address is the new Elastic IP address.
Remote desktop to your GpsGate instance
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. Log in to the windows with username Administrator and the password you received in the last step.