Skip to content

Do I need to manually manage Lambda functions created by Quick Setup?

0

Quick Setup's Host Management lists allowing the update of Systems Manager (SSM) Agent and CloudWatch agent. It currently creates Python 3.9 functions, which are triggering deprecation emails from Trusted Advisor. Do I need to manually adjust the runtime of and make any necessary code changes to the Lambda functions or will these updates be performed through updating Host Management to a newer version when it is released in the future?

If I need to manually manage the Lambda function's runtime while I wait for a new version of Host Management, where do I update this given that there are multiple services like CloudFormation involved?

  • If the person who flagged my question for violating community guidelines could please provide a reason for doing this it would be greatly appreciated, although they won't be likely to see this

  • That was my mistake, I meant to flag the answer as needing review not the question. I did not flag it as violating guidelines and said so in the message.

asked 2 years ago729 views

1 Answer
2
Accepted Answer

Based on the information provided in the AWS documentation, you do not need to manually manage the Lambda functions created by Quick Setup's Host Management. AWS is responsible for managing and updating these functions, including runtime updates.

Lambda functions created by AWS services like Quick Setup are typically managed automatically by AWS. This means that AWS will handle runtime updates, including addressing deprecation issues, as part of their service management.

However, if you're receiving deprecation emails from Trusted Advisor about Python 3.9 functions, it's important to note that AWS is likely aware of this and working on updates. In the meantime, you don't need to take manual action to update these functions.

AWS provides several runtime update modes for Lambda functions:

  1. Auto (default): Automatically updates to the most recent and secure runtime version.
  2. Function update: Updates the runtime when you update your function.
  3. Manual: Allows you to manually specify a runtime version.

For Lambda functions created and managed by AWS services like Quick Setup, these are typically set to the Auto mode, ensuring they receive the latest updates without your intervention.

If you're concerned about the deprecation warnings, you can check the runtime management configuration of these functions in the Lambda console. However, it's advisable to wait for AWS to release an update to Host Management that will address this issue, rather than attempting to manually modify these managed functions.

If you absolutely need to update the runtime before AWS releases an official update, you should proceed with caution. Modifying AWS-managed resources can lead to unexpected behavior or conflicts with future updates. In such a case, you would need to update the function configuration in the Lambda console or using the AWS CLI, not through CloudFormation, as these are managed resources.

In summary, it's best to wait for AWS to release an update to Host Management that will address the runtime deprecation issue. Manual intervention is not typically necessary or recommended for AWS-managed Lambda functions.
Sources
Understanding how Lambda manages runtime version updates - AWS Lambda
Configuring Lambda runtime management settings - AWS Lambda
Leverage Amazon Q to upgrade Lambda runtime functions | AWS Cloud Operations Blog

answered 2 years ago

  • Great question. Intresting to see if the AI is correct

  • The Lambda functions managed by Quick Setup were updated in a subsequent configuration manager version

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.