After looking closer at the AWS Elasticsearch service, it's actually pretty expensive at this point ($13.50/month for 1gb memory or $54.75/month for 4gb), which may make this "distributed" Arches not a financially sound idea. Haven't done all the calculations though.
Adam On Friday, March 4, 2016 at 8:59:22 AM UTC-6, Adam Cox wrote: > > HI Joel and Alexei, it seems you might actually be able to do this (maybe > not right now, but eventually) though it would be tricky. Here's a (very) > new project <https://github.com/Miserlou/django-zappa>aimed deploying > django on Lamda, and here's a little bit more > <https://www.reddit.com/r/django/comments/44r55j/announcing_djangozappa_serverless_django_on_aws/>information. > > You'd have to place your postgres db on AWS RDS, but it looks like that > Zappa project doesn't support postgres yet (you can see here > <https://www.youtube.com/watch?v=plUrbPN0xc8&feature=youtu.be>at 12:00 > that he chooses a MySQL db). Also, I didn't know it before, but it looks > like AWS has its own ElasticSearch > <https://aws.amazon.com/blogs/aws/new-amazon-elasticsearch-service/>service, > so you could probably use that for your elasticseach instance. > > Ultimately you're just distributing all of the Arches components between > various AWS services. I think this could actually alleviate much of the > operating system/software dependency issues that we have come across. No > idea how the costs would stack up though... > > Adam > > On Fri, Mar 4, 2016 at 1:44 AM, Alexei Peters <[email protected]> wrote: > >> Hi Joel, >> >> Since most of Arches code is either backed by Postgres or Elasticsearch, >> which are processes, I don't think Lambda would work to power Arches as it >> runs in a stateless environment. Arches relies on file storage and other >> supporting processes to work properly. >> Pretty interesting idea though. >> >> Cheers, >> Alexei >> >> >> >> >> Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 >> >> On Thu, Mar 3, 2016 at 5:14 PM, Joel Aldor <[email protected]> wrote: >> >>> Hi all, >>> >>> Has anyone tried putting Arches Python code on AWS Lambda? Or, at least >>> in theory, will Arches HIP work on it? I'd be very interested to know. >>> >>> Thanks, >>> >>> Joel >>> >>> -- >>> -- To post, send email to [email protected]. To >>> unsubscribe, send email to [email protected]. >>> For more information, visit >>> https://groups.google.com/d/forum/archesproject?hl=en >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "Arches Project" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> -- To post, send email to [email protected]. To >> unsubscribe, send email to [email protected]. >> For more information, visit >> https://groups.google.com/d/forum/archesproject?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Arches Project" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
