forked from ymcatwincities/openy
-
Notifications
You must be signed in to change notification settings - Fork 0
Configuring a tile cache server
Andrey Maximov edited this page Feb 12, 2020
·
2 revisions
A registered AWS account.
To register a new account:
- Go to https://aws.amazon.com/ .
- Click “Create an AWS Account”.
- Go through the registration process.
-
Go to the AWS Console at https://console.aws.amazon.com/, log in
-
In the top navigation menu find
Services
>Networking & Content Delivery
>Cloudfront
and click it. You are navigated to https://console.aws.amazon.com/cloudfront/home -
Click
Get started
if this a new account without CF distributions orCreate Distribution
if there are existing distributions -
Step 1: Select delivery method
- Click “Get started” under the “Web” section
-
Step 2: Create distribution
- Origin Settings (only change the following fields):
- Origin Domain Name:
maps.wikimedia.org
- You may need to use another domain if you use another map provider
- Origin Protocol Policy:
Match Viewer
- Origin Domain Name:
- Default Cache Behavior Settings (leave untouched)
- Distribution Settings (only change the following fields):
- Price Class:
Use Only U.S., Canada and Europe
- Click
Create Distribution
- Price Class:
- Origin Settings (only change the following fields):
-
You are redirected to the listing of distributions with the new distribution in status
In Progress
and with stateEnabled
.- It will take some time for the service to initialize
-
Use the new distribution domain name (should look like abcdef1234567.cloudfront.net) to replace the original map provider domain name.