This tutorial and accompanying presentation is based on a talk I gave at FOSS4G 2018 in Tanzania and will cover off the following tasks:
- Host a simple webpage on AWS (Hello S3!)
- Host the webpage from our own domain (Hello Route 53!)
- Create a free HTTPS cert for our domain (Hello ACM!)
- Publish our simple webpage to a CDN with SSL support (Hello CloudFront!)
- Add a map (Hello Vector Tiles!)
- Publish ready-made OSM tiles to S3/CloudFront
- Publish our own geo data to S3/CloudFront
Once complete you should have something like this running on your own domain on AWS and costing you next to nothing to host!
You can play around with this yourself at the Demo Site
- An AWS account
- A domain name that can be used for the exercise (this will need to be re-pointed so make sure it is not being used for anything else!). namecheap.com have domains starting at $0.48 per year but make sure you switch off auto-renew!
- Patience – there is a lot of AWS config to make this work and no sign of a map until Step 5 but this will be worth it, trust me
There are a lot of steps involved and a lot of new concepts to learn and so the recommended approach is to Download the Tutorial and work through this in order as each step builds on the last and a small oversight in config earlier on could easily cause problems later.