What is the MOST cost-effective way to solve the deployment issue?
Change the Auto Scaling group to six desired instances.
Change the deployment policy to traffic splitting. Specify an evaluation time of 1 hour.
Change the deployment policy to rolling with additional batch. Specify a batch size of 1.
Change the deployment policy to rolling. Specify a batch size of 2.
Explanations:
Changing the Auto Scaling group to six desired instances would add additional EC2 instances, but it doesn’t address the deployment issue and is not the most cost-effective solution.
Traffic splitting with an evaluation time of 1 hour delays the deployment and adds complexity, which is not cost-effective compared to other options.
The rolling with additional batch policy with a batch size of 1 ensures that new instances are deployed one at a time, maintaining a sufficient number of EC2 instances available during the deployment, preventing performance degradation.
The rolling policy with a batch size of 2 could still lead to fewer than the required number of EC2 instances available at a given time, which might degrade performance.