Verify the deployment

Open the CloudFormation console

Navigate to the AWS CloudFormation console , make sure you are in the same region where you have been working on so far. You should see the new stack sam-app in the CREATE_COMPLETE status. sam-app

Test the app

Click on the sam-app stack and then go to the Outputs tab. In this tab, you will see the API Gateway URL, the Lambda function ARN and the IAM Role ARN for the function. To test our application, copy the API Gateway endpoint URL and pase it in a new browser window. output

When you navigate to this URL in the browser, API Gateway is invoking the Hello World Lambda function. If everything works, you will see Lambda response like below: verify


You have successfully deployed a Serverless application with AWS SAM 🚀🚀🚀