Giter VIP home page Giter VIP logo

Comments (9)

lewfish avatar lewfish commented on May 22, 2024

As a workaround, you can run sudo start ecs on the instance to get it to progress out of the runnable state.

from raster-vision.

lossyrob avatar lossyrob commented on May 22, 2024

Tagging @azavea/operations in case it is of interest.

from raster-vision.

hectcastro avatar hectcastro commented on May 22, 2024

Hm. It is possible that the root cause is buried in another log (possibly the Docker agent log given this agent's inability to connect).

There have also been a flurry of updates to the ECS agent. Are we on a current version (one that supports Docker 17)?

from raster-vision.

lewfish avatar lewfish commented on May 22, 2024
   __|  __|  __|
   _|  (   \__ \   Amazon ECS-Optimized Amazon Linux AMI 2017.03.g
 ____|\___|____/
[ec2-user@ip-172-31-38-99 ~]$ docker --version
Docker version 1.12.6, build 7392c3b/1.12.6

from raster-vision.

lossyrob avatar lossyrob commented on May 22, 2024

This is one the problems of running off of a pre-baked AMI, instead of the official ECS AMI with cloud init installing everything else. If we could do the latter, we could simply bump the ECS AMI ID to the latest version; what we should do now is re-bake our custom AMI off of the latest ECS AMI.

from raster-vision.

hectcastro avatar hectcastro commented on May 22, 2024

We can probably take a stab and putting something more reproducible together if you can point us to the current steps.

from raster-vision.

lewfish avatar lewfish commented on May 22, 2024

The AMI we are using for Batch instances was generated as follows:

from raster-vision.

lewfish avatar lewfish commented on May 22, 2024

The above process was based on the recommendations in http://docs.aws.amazon.com/batch/latest/userguide/batch-gpu-ami.html, although we are not using their recipe for exposing the GPU to the container. Instead, we are using the recipe in https://blog.cloudsight.ai/deep-learning-image-recognition-using-gpus-in-amazon-ecs-docker-containers-5bdb1956f30e. We might want to go with the officially recommended way.

from raster-vision.

hectcastro avatar hectcastro commented on May 22, 2024

I created #74 to capture the task. I agree that the recommended way makes sense to chase. Please comment in that issue's thread with any additional tweaks we may need.

from raster-vision.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.