Hi, everyone, and welcome back.
Now, in today's video, we are going to explore the Lambda versioning through practicals.
So let's do one thing first.
Let's go ahead and quickly create a new function.
I'll just call it as Lambda version function once.
Then you can go ahead and create a function, get it.
So once your function is ready, you can go ahead and do some modification, let's say instead of hello
from Lambda, I'll say hello from production.
You can deploy this.
And once done, you can go ahead and create a new version so you can click on publish new version.
And within the version description, you can see broad code.
You can go ahead and publish it.
All right.
So now you are in the version one associated with the production code.
Similarly, let's go back.
Let's change it to Q, just for an example, will deploy it.
And in a similar way, let's publish a new version.
I'll say Q a code and we'll publish it.
All right.
Now, at this stage, if we go back, if you look into the versions, you will see that there are two
versions of the code that are available.
And also note that each version has its own R.
And so if you look into the version one, the R, and yet there is a one at the end.
Similarly, if you go back to the version two, in the end you have to add N So this is one of the ways
in which you can isolate different stages of code as part of the versions, and maybe you can also configure
the appropriate configurations as part of your overall testing.
So with this will conclude today's video.