Upgrade Docker agent version and docker version AWS ECS

Upgrade Docker agent version and docker version AWS ECS

Share Everywhere

Table of contents

Immutable approach:

1/Tạo và add 1 số EC2 mới (updated) vào Cluster, AZ khác

2/ Update ECS Task được tạo mới trên EC2 mới

3/ Drain hết Task cũ khỏi EC2 cũ rồi deregister

Lưu ý:

  • Sẽ có thể xảy ra tình trạng 2 instance được thêm vào không trong ASG của ECS -> sẽ cần nâng max của ASG, add thêm vào, terminate instance cũ, rồi giảm max
  • Thực ra cách đơn giản hơn là: Xóa cluster đi tạo lại :v Solution trên chỉ áp dụng trong TH không muốn xóa thôi, còn thực ra bản chất là thay instance 
  • EC2 add vào, nên được launch từ ECS-Optimized AMI
Bạn thấy bài viết này như thế nào?
0 reactions

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Bài viết liên quan

Khám phá FinOps

Khám phá FinOps - công nghệ đám mây

Nhiều doanh nghiệp ngày nay lựa chọn chuyển sang công nghệ đám mây với hi vọng đạt được lợi thế cạnh tranh so với đối thủ nhờ tiềm năng về hiệu quả cao và tiết kiệm chi phí hơn của công nghệ này.
Microservices Roadmap

Microservices Roadmap

- Kafka, RabbitMQ, Amazon SQS: Efficient and reliable message brokers for seamless communication between microservices.
The Data Analyst Roadmap

The Data Analyst Roadmap

**Database Knowledge**: Gain proficiency in working with databases like MySQL, PostgreSQL, or MongoDB.
Architectural patterns in software design

Architectural patterns in software design

Choose the architecture that aligns with your application's unique needs and goals. Each pattern offers a tailored approach to elevate your software system!
Exploring the Technological Marvel Behind Netflix

Exploring the Technological Marvel Behind Netflix

Ever wondered about the tech wizardry that powers your binge-watching adventures on Netflix?