From the course: Complete Guide to Serverless Web App Development on AWS

Unlock this course with a free trial

Join today to access over 24,600 courses taught by industry experts.

Deploying and verifying resources in the AWS console

Deploying and verifying resources in the AWS console

- [Instructor] Now that we have set up everything in cdk, it's time to deploy the stacks. We have used the cdk deploy command, but this one won't work anymore as we have multiple stacks and cdk doesn't know which one you want to deploy. To deploy a specific stack, what you can do is you can do cdk deploy and then put the name of the stack, for example, TodoCognitoApp, and this will deploy the Cognito stack for us. So this is deploying. Boom. If you want to deploy all the stacks at one, what you can do is, make this bigger, is run cdk deploy --all, and this will deploy all the stacks that you have defined in your application. So now we can go to our AWS console, we have everything deployed and see what happen. So let's go to the AWS console and let's check first the Cognito, if we have the two things. So here we have the Cognito user pool. So here it is with its client. And then we should have the identity pool as well. So here they are. Then we can check Amplify, and we can see if…

Contents