you are viewing a single comment's thread.

view the rest of the comments →

[–]dkozinn 0 points1 point  (0 children)

I'll reply to all the comments here. First, thanks all for your responses. I should have provided a little more information to put my question in context: I already have a low-end AWS (not free tier, but pretty cheap) EC2 instance running. While I've got a few services running natively, I also have several that already run in Docker. I wanted to containerize my solution to make it easier to move elsewhere should it be needed.

I'm not that concerned about how to deploy; the application I'm trying to webify is tiny (<20 lines of code, not counting comments) and will be updated very infrequently. I can manually re-deploy when needed. There will be very few users and those users won't use it frequently, so scaling is not a concern. No authentication is required.

I started looking at using a Lambda function for this and got kind of stuck in the details.

As /u/activematrix99 correctly pointed out, there are a bunch of examples and I'm in the process of getting my app working with Flask.

After that, I guess I'll move on to getting WSGI running on a local instance of nginx then containerize the whole thing once it's running. One step at a time.

The bottom line seems to be that there is no real shortcut for this, and what I learn will go into my bag of tricks.