A developer is deploying an AWS Lambda function The developer wants the ability to return to older versions of the function quickly and seamlessly. How can the developer achieve this goal with the LEAST operational overhead?
A.
Use AWS OpsWorks to perform blue/green deployments.
B.
Use a function alias with different versions.
C.
Maintain deployment packages for older versions in Amazon S3.
D.
Use AWS CodePipeline for deployments and rollbacks.
A) Eliminated - OpsWorks is unnecessary for Lambda function deployments.Blue/green deployments are more suited for EC2 or ECS applications, not for a simple Lambda rollback.
B) Correct - Quickly switch the alias to an older version
C) Eliminated - Requires manual work to download and redeploy older versions.
D) Eliminated - CodePipeline introduces unnecessary complexity
keyword: LEAST operational overhead
=> discard D: it does more work, so cost for many works also increase
=> discard C: it makes effort for manual work, adding operational overhead and delays.
=> Discard A: Designed for managing server configurations, not for managing lambda function
B: most seamless, only change version by pointing an alias (eg: production) to specific Lambda Version. On the other hand, it's free
I am not sure if the question is about which deployment strategy to choose from if we want to roll back seamlessly once deployed. Or is the question about how to manage the deployment versions to be able to roll back. does anyone has similar doubts ? please help , thanks
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Untamables
Highly Voted 2 years, 1 month agosumanshu
Most Recent 4 months, 1 week agotrieudo
4 months, 2 weeks agof271c23
4 months, 3 weeks ago65703c1
11 months, 1 week agomghectorenjoyer69
1 year, 1 month agoubiqinon
1 year, 11 months agozk1200
2 years agoihta_2031
2 years agoaragon_saa
2 years, 1 month ago