Hands-on emulator lab · 6–10 min
Point a stable name at a tested function version — Lambda and Versions and aliases
Publish a function version, give it an alias, and invoke that alias.
These actions use an isolated AWS Emulator. It stores API state locally; it does not create paid cloud resources or run the full hosted AWS service.
Your goal
Publish a function version, give it an alias, and invoke that alias.
Why this matters
Callers need a steady function name while releases change. An alias points that name at a version. You will publish a version, create an alias, and invoke the function through it.
Words you will use
A version is a published function snapshot. An alias is a name that points to a version. Invocation runs the function with an input message.
How to proceed
Start a fresh emulator, read each numbered step, and enter the practice settings shown. Run the action, inspect its API receipt, then continue. Finish lab checks the emulator state again before saving your progress.
1. Publish a function version
Create the fixed practice function and publish a version. The version number identifies a snapshot. An alias can point callers at that snapshot without changing its own name.
2. Create the practice alias
Create an alias named practice pointing at the version you just published. Inspect the returned version number before sending any test input.
3. Invoke the alias
Send your message through the practice alias. The fixed handler returns that message. The lab checks both the returned text and the version still referenced by the alias.
Practice message: Type a short message that you can recognize in the API result. Suggested practice value: Hello from my lab.
Practice, then check your understanding
Perform the actions yourself and inspect the returned state. Errors keep your settings so you can retry. Starting another lab clears the previous live environment. Earned XP is kept, and signed-in achievements sync to your account. Replay does not award duplicate XP.
Read the official AWS documentation for service behavior and production details.