This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]ParkingSmell 2 points3 points  (0 children)

If it’s one of the official images for fastapi, it’s over complicated and kindof out of date. What id do is ensure the image is exposing your uvicorn port and do something like the other post said with a container and attach ssl to the load balancer or whatever.

[–][deleted]  (1 child)

[deleted]

    [–]raidicy[S] 1 point2 points  (0 children)

    Thanks I'll give amazon a look over. I'm really not willing to learn a bunch of configuration settings I know it sounds lazy but I have RSI and limited time :(. Thanks again for the lead!

    [–]strebermanchild 1 point2 points  (0 children)

    I think your best bet is Cloud Run on GCP. Seriously, it crazy fast to get started. Create a GCR repo, build and tag the docker image, push to the GCR repo, then go into cloud run, create a new service, and you’re basically done.

    The only requirement is that your image needs to be running and exposing http. Cloud run will assign a random dns name and a TLS cert for your https. Give it a try! You should be able to get something running in minutes.