Open pantierra opened 4 years ago
We can either setup on a single machine (EC2) using docker-compose or on a Kubernetes cluster. It's not clear what the infrastructure requirements will be from the OSM Seed stack docs but we can compare differences and our own needs here.
Using Kubernetes on AWS has a base cost of $0.10/hr and then each pod (ec2/container/Fargate) has certain base costs. It may take some time to architect an optimized stack if they haven't been already. It is however possible to run some pods but not all, if we only need certain resources.
OTOH, a single EC2 instance may need to be quite large to handle the workload of an entire OSM stack. I am currently reaching out to some developers to try to get a better idea on the differences in workload requirements.
Tagging @batpad @Rub21. Happy to talk through anything on the osm-seed front.
I have almost everything working for osm-seed. You can now:
What's left:
Once I have edited your user status, you can access iD at port 8080 (not the "Edit" button on the osm page)
We have a fix for running iD as part of the rails app instead of a separate container. This should land in master in a few days.
Fix the email server. Amazon doesn't let you send emails from an EC2, we have to use Simple Email Service (like TM). I have this configured in the .env but need to troubleshoot why it isn't working.
For OpenHistoricalMap, we use SES and it works really well.
It doesn't seem like the planet data is showing up in iD. I need to check the config that we are processing the data, and that we have proper access rights to the s3://hotosm-seed bucket
That's weird. Did you use https://github.com/developmentseed/osm-seed/tree/develop/populate-apidb to populate the api database with a planetfile?
I need to setup https and a url. Not sure the best way to go about the encryption.
Do you use Route53? I'd recommend that. You can get an SSL and setup a loadbalancer to route requests to the ec2.
We need two similar setups to map empty databases with the Tasking Manager. Such stacks can potentially being created by using the OSM Seed stack. One stack should use iD and the other one RapiD. They can be linked in the Tasking Manager as custom editors.
ping @bopercival-hot @dakotabenjamin @ramyaragupathy @willemarcel