Giter VIP home page Giter VIP logo

Comments (4)

dakotabenjamin avatar dakotabenjamin commented on July 26, 2024 1

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.

from tech.

geohacker avatar geohacker commented on July 26, 2024

Tagging @batpad @Rub21. Happy to talk through anything on the osm-seed front.

from tech.

dakotabenjamin avatar dakotabenjamin commented on July 26, 2024

I have almost everything working for osm-seed. You can now:

  1. Go to the URL and create an account (Will share privately until we setup https and a dns record)
  2. Email isn't working yet so for now we have to manually confirm emails in the db
  3. Once I have edited your user status, you can access iD at port 8080 (not the "Edit" button on the osm page)
    I have managed to create and edit a way without problem.

What's left:

  • 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.
  • 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
  • I need to setup https and a url. Not sure the best way to go about the encryption. Any thoughts @geohacker ?

from tech.

geohacker avatar geohacker commented on July 26, 2024

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.

from tech.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.