August 18, 2023 at 4:27 pm
I’ve written a little Python script to post to multiple social medias at once, and I want somewhere to host it as an API so I don’t have to set up a static IP, keep a raspberry pi going etc. Essentially I want to be able to send a post request to this and have it run the script with the data in the post request. I’m looking at serverless.com but I’m not entirely sure if that’s the right path to be on, any wisdom would be appreciated. Also, if I do use Lambda is there any way to make sure that only requests from me actually spin up anything? Either by IP or some auth method?
August 18, 2023 at 6:55 pm
For the first part, using AWS instead of some server, I think this makes sense. The idea of FaaS type environments is this particular scenario: you don't want to manage a server. As long as you don't mind posting to a weird URL, I think this works.
No idea on the Lambda, but I would secure this. Someone is likely scanning various ports/hosts at all cloud providers and sending nonesense. I'd ensure some sort of authentication.
August 21, 2023 at 4:10 pm
This was removed by the editor as SPAM
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply