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 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.
- Open http://aws.amazon.com and click on Create an AWS Account
- 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.
- Open Amazon EC2 console and Login using the credentials you created the last section..
- 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.
- In the navigation pane (the left side menu) under Network & Security, select Key Pair.
- Click on Create Key Pair.
- Provide a name for the key pair and click Create.
- 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
- Open Amazon EC2 console.
- Make sure that the right region is selected in the navigation bar.
- Click on Launch Instance button in the middle of the dashboard.
- On the Choose an Amazon Machine Image (AMI) page, click on Community AMIs and search for GpsGate
- 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-7217d21f - US East (N. Virginia)
- ami-a3387dc3 - US West (N. California)
- ami-500ef430 - US West (Oregon)
- ami-a3d04fd0 - EU (Ireland)
- ami-d2e60fbd - EU (Frankfurt)
- ami-05c82364 - Asia Pacific (Tokyo)
- ami-7b1bd015 - Asia Pacific (Seoul)
- ami-23b76440 - Asia Pacific (Singapore)
- ami-dc163fbf - Asia Pacific (Sydney)
- ami-d78b01bb - South America (São Paulo)
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 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. Follow these steps to associated a static public IP address to the server.
- In the navigation pane under Network & Security, select Elastic IPs.
- Click on Allocate New Address, and confirm by pressing Yes, Allocate in the popup window.
- Right-click on the newly allocated Elastic IP address and select Associate Address from the menu.
- Click on Instances textbox and select your instance from the popup menu.
- 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. http://associated_address/gpsgateserver/SiteAdmin/SiteAdmin.aspx
Remote desktop to your GpsGate Server
- Open Amazon EC2 console.
- Right click on your GpsGate Server instance and select Connect from the popup menu.
- In the popup window click on Get Password.
- In the new popup window click on Choose File and provide the key pair generated in section Create a Key Pair.
- You can see the content of the file in the textbox, click on Decrypt Password and keep the generated password in a safe place
- In the popup window click on Download Remote Desktop File, a file with .rdp extension is automatically downloaded by your browser.
- Click on the downloaded file and connect to the server.
- Login to the windows with username Administrator and the password you got in the last step.
Discuss this blog post on the forum please