From the course: AWS Essential Training for Architects (2019)

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Deploy the API and test the application

Deploy the API and test the application - Amazon Web Services (AWS) Tutorial

From the course: AWS Essential Training for Architects (2019)

Start my 1-month free trial

Deploy the API and test the application

- [Instructor] In order to use the API Gateway resource endpoint externally from the front-end application hosted on S3, I have to deploy the API to make it externally accessible. So let's do that real quick. Let me type back in "API" to find my service, API Gateway. And I can go into myFunction-API, which is the API that was created for us by the blueprint. And here, under the Actions, I can choose Deploy API. I can choose a deployment stage. I created demo when we first created the API from the blueprint, so I'll choose that. And I can say, "Initial deployment of demo API." And once deployed, I can navigate to the specific HTTP method I want to invoke, which is for creating a new item. I want to use the POST. And here, it provides the invoke URL, which is where I would post something to hit the API to then hit the serverlessWebAppCRUD method that would invoke the lambda function. So now, I could take this invoke URL…

Contents