A company runs its application by using Amazon EC2 instances and AWS Lambda functions. The EC2 instances run in private subnets of a VPC. The Lambda functions need direct network access to the EC2 instances for the application to work. The application will run for 1 year. The number of Lambda functions that the application uses will increase during the 1-year period. The company must minimize costs on all application resources. Which solution will meet these requirements?
Select an option, then click Submit answer.
Reference / correct answer:
Purchase a Compute Savings Plan. Connect the Lambda functions to the private subnets that contain the EC2 instances.
Most accepted answer: C. Purchase a Compute Savings Plan. Connect the Lambda functions to the private subnets that contain the EC2 instances.
Community votes: A=1, C=4, D=1
Selected Answer: C Compute Savings Plan: This plan offers significant discounts on Lambda functions compared to on-demand pricing. Since the application will run for a year, a sustained use discount like Compute Savings Plan is ideal. Private Subnets: Lambda functions in private subnets can directly access EC2 instances within the VPC without needing internet access, reducing security risks and potential egress costs. upvoted 7 times
Selected Answer: C Compute Savings Plans provide the most flexibility and help to reduce your costs by up to 66%. These plans automatically apply to EC2 instance usage regardless of instance family, size, AZ, Region, OS or tenancy, and also apply to Fargate or Lambda usage. For example, with Compute Savings Plans, you can change from C4 to M5 instances, shift a workload from EU (Ireland) to EU (London), or move a workload from EC2 to Fargate or Lambda at any time and automatically continue to pay the Savings Plans price. upvoted 1 times
Selected Answer: C Why Compute Savings Plan: Covers both EC2 and Lambda, providing flexibility as Lambda usage increases. Why Private Subnets: Ensures network access between Lambda and EC2 instances. !! An EC2 Instance Savings Plan doesn't cover Lambda. Also, Lambda functions in public subnets cannot directly communicate with EC2 instances in private subnets. upvoted 2 times
A and B is not because it is talkign about EC2, but the question is asking for Lambda upvoted 2 times
Selected Answer: C Compute savings include lamdba and EC2, Ec2 savings only EC2 instances. https://aws.amazon.com/savingsplans/compute-pricing/ upvoted 2 times