The subject of my work was getting to know the services and opportunities provided by Amazon EC2 (Amazon Elastic Compute Cloud). The main question was how suitable this is for loading the OpenStreetMap (OSM) database and being used as a tile server.
I studied the working of the OSM map service and the architecture of a tile server. I studied the services provided by Amazon EC2 and used multiple virtual machine configurations for working with the OSM database
I first created a server instance loading the map of Hungary then installed a tile server and, using freely available information on the Internet, loaded the data into my PostgreSQL database. To optimise the loading performance, I carried out the loading with varying loading parameters, and measured the required time.
Then I tested the feasibility of various server sizes for loading the larger Europe map using the previous architecture. I verified the correctness and speed of loading maps using servers with differing resources and capacities.
Last, I designed a testing algorithm for measuring the query speed of loaded data. With this, I could compare the speed of the tile server on different server instances.
I concluded based on the results that Amazon EC2, its features are feasible for being used as a tile server. With correct configuration, it can be used with both smaller and larger OSM maps.