AWS .NET Tools and Templates for Command Line
There are many
dotnet and command line tools you can use when developing AWS applications on .NET, here are some of them. If you know of other ones, please get in touch.
These templates help you create .NET projects that run on Lambda.
dotnet new --install Amazon.Lambda.Templates
Run the below to see the list of Lambda templates -
dotnet new lambda --list
These tools help you build your project, deploy it to a Lambda, run it, update it, delete it, and more.
dotnet tool install -g Amazon.Lambda.Tools
.NET Mock Lambda Test Tool
This lets you test your code in an emulated Lambda environment. You can even attach and IDE to let you debug your way through the code.
Usage instructions can be found here.
dotnet tool install -g Amazon.Lambda.TestTool-6.0
This tool helps you build Docker images and deploy Docker containers on ECS clusters.
dotnet tool install -g Amazon.ECS.Tools
This tool helps you build and deploy to Elastic Beanstalk.
dotnet tool install -g Amazon.ElasticBeanstalk.Tools
.NET Deployment Tool
Guides you through deploying an application on AWS, helping you select the appropriate hosting service.
dotnet tool install -g aws.deploy.cli
A tool to build, deploy, and manage containerized applications on App Runner, ECS, and Fargate. Find out more here.
brew install aws/tap/copilot-cli
If you don’t use Homebrew, get the binaries.
Tools for PowerShell
Tools to manage services from PowerShell and PowerShell scripts. If you are using Linux or Mac get PowerShell Core.
Install-Module -Name AWS.Tools.Common
Downloading this tool varies depending on your operating system.
See here for download instructions.
With this, you can do pretty much anything from the command line.
- Using Step Functions to Orchestrate a Series of Lambda Functions
- Triggering a .NET Lambda Function from an Amazon SQS Queue
- Programmatically get your AWS Account ID with .NET
- Transcribing Two Speakers with Amazon Transcribe via Speaker Identification with .NET
- Lambda cold starts for .NET applications are not so bad