This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-06-02
Channels
- # announcements (1)
- # asami (89)
- # aws (10)
- # babashka (41)
- # beginners (71)
- # calva (25)
- # cider (3)
- # clj-kondo (65)
- # cljdoc (15)
- # cljs-dev (3)
- # cljsrn (8)
- # clojure (56)
- # clojure-europe (44)
- # clojure-italy (1)
- # clojure-nl (2)
- # clojure-uk (48)
- # clojured (7)
- # clojurescript (17)
- # conjure (6)
- # cursive (3)
- # datomic (9)
- # emacs (11)
- # events (3)
- # fulcro (3)
- # helix (3)
- # honeysql (7)
- # hugsql (6)
- # introduce-yourself (2)
- # jobs (2)
- # kaocha (4)
- # luminus (1)
- # nrepl (2)
- # off-topic (10)
- # pathom (7)
- # philosophy (3)
- # polylith (27)
- # reagent (18)
- # reitit (3)
- # remote-jobs (7)
- # reveal (3)
- # shadow-cljs (9)
- # slack-help (5)
- # tools-deps (9)
- # vim (48)
Hello, a more generic AWS question here, but is I have a python script that I want to offload to AWS, because it needs way too much RAM and runs for many hours to generate a model (similar to ML but for Optimisation). Is AWS Lambda or Fargate what I need?
Lambdas cannot run for longer than 15 minutes as a hard limit, so that might eliminate Lambda for your use case
EC2 would be the most akin to running your script the way it’s already running; EC2 just gives you a virtual machine to run your program on, you can install python and run your script
I don’t think you need fargate
Right, I just looked at https://greenm.io/aws-lambda-or-aws-fargate/ and seems like fargate might fit quite well. Or do you still recommend EC2? I agree that EC2 is most akin to doing so. But would serverless be a better way since it is like a one time use thing?
Maybe Ill just go with EC2 after all, there is no option to use fargate with aws educate it seems
I would say go with EC2 to start. It’s the “simplest” in a way, and things like Lambda, etc are more akin to cost optimization strategies.