Closed migurski closed 2 years ago
Hey, thanks for the example. We have managed to set up CloudFront in front of our server so we should be fine for now. We are generating OSM tiles with ukrainian language so we need the server anyway.
It's a good idea with trigerring script on build tho, we'll need to add that
Great, thanks for the feedback! Closing this now.
In email conversation with Włodzimierz Bartczak I learned that OSM-PL is worried about attacks on the site after start of promotion. Static site hosting on a large service such as Amazon S3 with a CDN like Cloudfront can protect against most foreseeable attacks. This draft PR demonstrates how the site can be deployed to a static site host.
In this example, we deploy to a bucket visible online at https://dopomoha.teczno.com.
See https://github.com/migurski/ua-2022-map/runs/5370557331 for the latest successful run.
To keep the data up-to-date, AWS and other cloud hosts support scheduled tasks that can run
download_data.py
periodically.