I have deployed an aws endpoint using a docker container. (i followed this https://docs.aws.amazon.com/sagemaker/latest/dg/docker-containers.html). Everything is working perfectly but now i need to put it in production, and define an auto scaling strategy. I tried 2 things: first with the aws console but the autoscaling button is greyed out. Then i tried to use the ..
Is it possible to set –server.endpoint configuration for a running docker container without restarting it? e.g. docker update –server.endpoint tcp://0.0.0.0:xxxx container_id but it does not work as the flag is unknown. Source: Docker..
I’m trying to make an api call to an internal docker container, but for every request url I have to make a proxy_pass in the Nginx config. I’ve read articles that the slashes at the end should work to pass all after de certain url to the proxy_pass. Read here (redirect table) Example www.example.com/api -> ..
How to manage endpoints in docker? Want to call two endpoints each inside a docker container using an nginx container Code example: ./Container1/Dockerfile FROM python:3.6.10-slim-stretch WORKDIR /usr/src/app COPY requirements.txt . RUN pip install –no-cache-dir -r requirements.txt && apt-get update && apt-get install -y wget curl EXPOSE 5000 COPY . . CMD [ "python", "./Api.py" ] ..
In my dockerfile I am defining :- EXPOSE 5050 Is there a way where I can give it an endpoint name as we can give in any REST frameworks. So that I can send a request in localhost:5050/ Source: Sta..
I’ve two docker-compose files, one contains the solution with multiple API’s the other contains some background running programs. The problem is that one background program uses the API that runs in the other compose file. I was hoping I could use cotnainername as http://[CONTAINERNAME]:80 but that isn’t working, the url is not known. I think ..
I have built a custom model in Sagemaker and serialized the model through pickle. I want to deploy my model through Sagemaker hosting services and read through this https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works-hosting.html But I am lost on how to build my own Docker container for a custom model with an algorithm that is currently not implemented as part ..