[AWS SAP] Architecture Patterns – Compute

2022/3/30 6:19:43

本文主要是介绍[AWS SAP] Architecture Patterns – Compute,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

High availability and elastic scalaility for web servers?

Use EC2 Auto Scaling and an ALB across Multi AZs

 

Low-latency connections over UDP to a pool of instances running a gaming application?

Use NLB with a UDP listener

 

Clients need a whitelist static IP addresses for a highly available load balanced application in an AWS Region?

use an NLB and create static IP addresses in each AZ.

 

Application on EC2 in an Auto Scaling group requires disaster recovery across Region?

Create an ASG in another Region with the capacity set to 0. Take snapshots and copy them across region (Lambda or DLM)

 

Application on EC2 must scal in larger increments if a big increase in traffic occurs, compared to small increases in traffic?

Use Auto Scaling with a Step scaling policy and configure a larger capacity increase.

 

Need to Scale EC2 instances behind an ALB based on the number of requrests completed by each instance?

Configure a target tracking policy using the ALBRequestCountPerTarget metric.

 

Need to run a large batch computing job at the lowest cost. Must be managed. Nodes can pick up where others left off in case of interruption?

Use a managed AWS Batch job and use EC2 Spot instances.

 

A tightly coupled High Performance Computing (HPC) workload requries low-latency between nodes and optimum network performance?

Launch EC2 instances in a signle AZ in a cluster placement group and use an Elastic Fabric Adapter (EFA)

 

Application must startup quickly when launched by ASG but requires app dependencies and code to be installed?

Create an AMI that includes the application depnedencies and code.

 

Application runs on EC2 behind an ALB. Once authenticated users should not need to reauthenticate if an instance fails?

Enable Sticky session for the target group or alternatively use a session store such as DynamoDB

 

LOB Application receives weekly burst of traffic and must scale for short periods - need thte most cost-effective solution?

Use reserved instsances for minimum required workload and then use Spot instances for the bursts in traffic.



这篇关于[AWS SAP] Architecture Patterns – Compute的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程