[AWS] Architecture Patterns - Containers and PaaS

Company plans to deploy Docker containers on AWS at lowest cost?

Use ECS with a clsuter of SPot instances and enable Spot instance draining.

 

Company plans to migrate Dokcer containers to AWS and does not want to manage operating system?

Migrate to ECS using the Fargate launch type

 

Fargate task is launched in a private subnet and fails with error "CannotPullContainer"?

Disable auto-assignment of public IP addresses and configure a NAT gateway.

 

Application will be deployed on ECS and must scale based on memory?

Use service auto-scaling and use the memory utilization. (For EC2, otherwise, you need to use CloudWatch Agent to collect custom mertic, but EC2 has memory utilization metric)

 

Application will run on ECS tasks across multiple hosts and needs access to an S3 bucket?

Use a task execution IAM role to provide permissions to S3 bucket.

 

Company requires standard Docker container automation and management service to be used across multiple environments?

For multiple environments, Deploy Amazon EKS.

 

Company needs to move many simple web apps running on PHP, Java and Rudby to AWS. Utilization is very low?

Deploy to single instance Elastic Beanstalk environments.

 

Business critical application running on Elastic Beanstalk must be updated. Requrie zero downtime and quick and complete rollback?

Update using an immutable update with a new ASG and swap traffic.

 

A development application running on Elastic Beanstalk needs a cost-effective and quick update. Downtime is acceptable?

Use an all-at-once update.

 

Need a managed environmnet for running a simple web application. App processes incoming data which can take several minutes per task?

Use an Elastic Beanstalk environment with a web server for the app front-end and a decoupled SQS tier for the long running process.

posted @   Zhentiw  阅读(36)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· AI技术革命,工作效率10个最佳AI工具
历史上的今天:
2021-04-04 [AWS] Lab: Configure and Work with CodeCommit from the CLI
2019-04-04 [Spring boot] Autowired by name, by @Primary or by @Qualifier
2019-04-04 [Docker] Getting Started with Container Networks
2017-04-04 [CSS] Build Responsive CSS Layouts with Tachyons
2017-04-04 [CSS] Specify grid columns, rows, and areas at once with the grid-template shorthand
2017-04-04 [CSS] Nest a grid within a grid
2017-04-04 [CSS] Re-order the appearance of grid items using the order property
点击右上角即可分享
微信分享提示