Build, test & deploy serverless apps with AWS Toolkit for Visual Studio Code
The AWS Toolkit for Visual Studio Code has left its early developer preview and enters general availability under an Apache License. With the extension, you can create serverless apps, step-through debug, test code locally, and even deploy to AWS all from within the VSCode editor. Read on to find out more about its features.
The AWS Toolkit for Visual Studio Code leaves its early developer preview and enters the next lifecycle milestone. It is now generally available and distributed under an open source Apache License, Version 2.0.
This toolkit allows developers to create serverless applications, as well as debug their projects, and deploy from within the editor. It supports Node.js, Python, and .NET and is currently version 1.0.0. The Toolkit for Visual Studio Code is supported by Windows, Linux, as well as macOS.
AWS + VSCode
The AWS Toolkit for Visual Studio Code, an open source plug-in that makes it easier to create, step-through debug, build, and deploy applications, is now Generally Available. The toolkit supports .NET, node.js and Python applications and provides deep support for serverless applications at launch with other AWS services planned for the future. The toolkit had previously been in developer preview.
The AWS Toolkit for Visual Studio Code provides an integrated experience for developing serverless applications. You can get started fast with built-in project templates that leverage the AWS Serverless Application Model (AWS SAM) to define and configure resources. The toolkit also includes an integrated experience for step-through debugging of serverless applications with the AWS SAM CLI and makes it easy to deploy your applications from the IDE. Check out this blog post to learn about developing serverless applications with Visual Studio Code.
Serverless toolkit highlights
What are the uses for this extension? The toolkit’s key features and uses include:
- Develop serverless applications locally
- Deploy your apps into an AWS account via an S3 bucket
- Manage AWS resources
- Use CodeLenses to run and debug applications, set breakpoints, and inspect variables
- Invoke the remote function directly from the toolkit
- Local code testing and step-through debugging using features from VSCode for diagnostics
- Debug Python Lambda functions and NodeJS Lambda functions. Optionally, automate invoking SAM CLI using
- Deploy apps to different AWS Regions
- Access commands via the Command Palette
- Support for AWS Lambda functions: Write code for Lambda functions, delete them, and invoke them locally or interact remotely
- Delete a CloudFormation Stacks (with appropriate read/write access permissions) to remove it from the AWS Explorer.
- AWS Serverless Application Model (SAM) not required for all features
Get the extension
The toolkit is installed via the Extensions icon in Visual Studio Code. From there, users will find the extension in the marketplace.
In order to develop serverless applications, users will also require the AWS Command Line Interface (CLI), Docker, and the AWS Serverless Application Model CLI on their local machine, as well as the toolkit.
Follow the installation instructions from the user guide here. It provides helpful information about setting up your credentials, configuring the toolchain, and obtaining AWS Acess Keys.
Since this is only v1.0.0 and has only recently entered general release, be forewarned that bugs and issues may appear.