Articles → AWS → Difference Between Deploying And Publishing An AWS Lambda FunctionDifference Between Deploying And Publishing An AWS Lambda FunctionIn this article, we will discuss the difference between deploying and publishing an AWS lambda function.Deploying The Lambda Function Deploying typically refers to the process of uploading your code to AWS Lambda. This may involve uploading a new version of the function code or updating an existing one. Or modifying the function’s configuration, such as memory settings, environment variables, or IAM roles.After deploying, the function is updated, but it is still considered the latest unpublished version (the $LATEST version).Publishing The Lambda Function Publishing a Lambda function creates a new, immutable version of that function. When you publish a function, AWS creates a new version with a unique version number based on the current state of the $LATEST version.Published versions are often used in production environments where you want to ensure consistency and avoid accidental changes.Posted By - Karan Gupta Posted On - Wednesday, August 21, 2024 Query/Feedback Your Email Id** Subject* Query/Feedback Characters remaining 250**
Query/Feedback