After creating the RESTful API, we will deploy it to make the endpoints publicly accessible. This involves creating a new Stage (e.g., prod), which allows the API Gateway to process requests and route them to the connected Lambda Function. This step ensures the API is ready for use and integration with the application.
Stage: Select New stage.
Stage Name: Enter a name for your stage (e.g. prod
)
Description: Add a deployment description (optional).
Click Deploy button.
https://{api-id}.execute-api.{region}.amazonaws.com/prod
).