A media company hosts a video processing platform on AWS. The application runs on Amazon EC2 instances in an Auto Scaling Group (ASG) behind an Application Load Balancer (ALB). The instances process large 4K video uploads (averaging to each) that are downloaded from Amazon S3, transcoded locally, and uploaded back to S3. The transcoding software requires metadata from an Amazon Aurora PostgreSQL database deployed in a Multi-AZ configuration.
During recent scheduled marketing campaigns, the company encountered several performance issues:
* Transcoding execution times increased significantly, and the EC2 instances showed high I/O wait times and disk queue length, while instance CPU utilization remained under . The instances utilize Amazon EBS gp3 volumes with default settings ( IOPS and throughput).
* The ALB dropped incoming user connections at the start of the campaigns before the ASG could launch new instances.
* The database experienced high CPU utilization and query timeouts due to a spike in read-intensive analytical queries.
Which combination of actions will optimize the performance of the system to resolve these bottlenecks?
- Increase the throughput of the gp3 volumes to to resolve the storage bottleneck. Submit a request to AWS Support to pre-warm the Application Load Balancer prior to the scheduled marketing campaigns. Create Aurora Replicas to offload the read-intensive queries and update the application to use the Aurora reader endpoint.Cevap
- BIncrease the throughput of the gp3 volumes to to resolve the storage bottleneck. Submit a request to AWS Support to pre-warm the Application Load Balancer prior to the scheduled marketing campaigns. Configure the application to route read-intensive queries to the passive Multi-AZ standby instance to offload the primary instance.
- CIncrease the throughput of the gp3 volumes to to resolve the storage bottleneck. Configure the Auto Scaling Group to use step scaling policies with a lower CPU utilization threshold to quickly scale out the EC2 instances at the start of the campaigns. Create Aurora Replicas to offload the read-intensive queries and update the application to use the Aurora reader endpoint.
- DReplace the gp3 volumes with io2 volumes configured with Provisioned IOPS. Configure the Auto Scaling Group to use step scaling policies with a lower CPU utilization threshold to quickly scale out the EC2 instances. Configure the application to route read-intensive queries to the passive Multi-AZ standby instance.