Giter VIP home page Giter VIP logo

Comments (8)

learnaws avatar learnaws commented on June 10, 2024

facing the same issue

from amazon-ecs-init.

buttonbuilder avatar buttonbuilder commented on June 10, 2024

👍

from amazon-ecs-init.

buttonbuilder avatar buttonbuilder commented on June 10, 2024

+1

from amazon-ecs-init.

desponda avatar desponda commented on June 10, 2024

I guess more specifically, it looks like if we add more regions here:

var regionToS3BucketURL = map[string]string{
"cn-north-1": "https://s3.cn-north-1.amazonaws.com.cn/amazon-ecs-agent/",
DefaultRegionName: "https://s3.amazonaws.com/amazon-ecs-agent/",
}
it would work

from amazon-ecs-init.

jamisonhyatt avatar jamisonhyatt commented on June 10, 2024

Also facing the same issue.

from amazon-ecs-init.

richardpen avatar richardpen commented on June 10, 2024

Thank you all for reporting this, originally the ecs-agent was only stored in us-east-1, and it was replicated to cn-north-1 when we support the BJS region. Since then I think it is reasonable to replicate the ecs-agent to all the regions to support the use case above, beyond that we also need to make some change to the ecs-init to support downloading from specified region. I'll mark this as a feature request, please keep tracking this for updates.

Thanks,
Peng

from amazon-ecs-init.

desponda avatar desponda commented on June 10, 2024

@richardpen you already have support for this you just need to upload to additional buckets and update these lines of code:

var regionToS3BucketURL = map[string]string{
"cn-north-1": "https://s3.cn-north-1.amazonaws.com.cn/amazon-ecs-agent/",
DefaultRegionName: "https://s3.amazonaws.com/amazon-ecs-agent/",
}

This is pretty important for high-availability especially with the 2 major recent AWS s3 outages in us-east-1 any way you can prioritize it, shouldn't take a lot of time?

from amazon-ecs-init.

jahkeup avatar jahkeup commented on June 10, 2024

Regional buckets are now used by amazon-ecs-init with #170. It is worth noting that the downloader's behavior is to attempt a download from the bucket in us-east-1 first and then fail over to the instance's region's bucket (eg: an instance in us-west-2 will attempt download from a bucket in us-east-1 and then us-west-2).

Please feel free to reopen and comment if and why this doesn't satisfy your environment's needs so that we can drive the appropriate change.

Thanks for the input folks!

from amazon-ecs-init.

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.