# deploy command ### Usage `dotnet aws deploy` - Inspect, build, and deploy the .NET project to AWS using the chosen AWS compute. ### Synopsis ``` dotnet aws deploy [-d|—-diagnostics] [-s|--silent] [--profile ] [--region ] [--project-path ] [[--save-settings|--save-all-settings] ] [--application-name ] [--apply ] [--deployment-project ] [-?|-h|--help] ``` ### Description Inspects the project and recommends AWS compute that is most suited to the type of deployed application. Then builds the project, generates a deployment CDK project to provision the required infrastructure, and deploys the .NET project to AWS using the chosen AWS compute. ### Examples Deploying HelloWorld ``` dotnet new web -n HelloWorld -f net6.0 cd HelloWorld dotnet aws deploy ``` Deploying application to a non-default profile ``` dotnet aws deploy --profile myCustomProfile --region us-east1 ```