Category : endpoint

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 ..

Read more

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" ] ..

Read more

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 ..

Read more

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 ..

Read more