1 Answer
- Newest
- Most votes
- Most comments
1
- Create a Deployment First: In API Gateway, you need to deploy your API before you can create a stage. The deployment process essentially takes the current state of your API and prepares it for use in a specific stage.
- Steps to Create a Deployment: Go to API Gateway Console: Navigate to the API Gateway service in the AWS Management Console. Select Your API: Click on the API that you want to deploy. Actions Menu: In the left-hand menu, find the Stages section. Before creating a stage, go to the Actions dropdown and select Deploy API.
- Deploy API: Deployment Stage: You'll be asked to either select an existing stage or create a new one. Deployment Description: Optionally, add a description for the deployment.
- Create a New Stage: If you haven't created a stage yet, you'll need to choose [New Stage] and give it a name (e.g., dev, prod). Deploy: Click Deploy to create the deployment and the stage simultaneously.
- Access the Stage: Once the deployment is done, you should see your new stage under the Stages section, and you can interact with it.
- Check the Deployed API: Now, you can access your deployed API via the stage's URL, and it should work as expected
Relevant content
- AWS OFFICIALUpdated 10 months ago
