The AWS Tools for Microsoft Visual Studio Team Services (VSTS) adds tasks to easily enable build and release pipelines in VSTS and Team Foundation Server to work with AWS services including Amazon S3, AWS Elastic Beanstalk, AWS CodeDeploy, AWS Lambda, AWS CloudFormation, Amazon Simple Queue Service and Amazon Simple Notification Service, and run commands using the AWS Tools for Windows PowerShell module and the AWS CLI. The tools include a new service endpoint type, AWS, to supply AWS credentials to the tasks at runtime.
The AWS Tools for VSTS is available from the Visual Studio Marketplace.
To work with AWS services an AWS subscription has to be linked to Team Foundation Server or to Visual Studio Team Services using the Services tab in the Account Administration section. Add the AWS subscription to use in the Build or Release Management definition by opening the Account Administration screen (gear icon on the top-right of the screen) and then click on the Services Tab.
Select the AWS endpoint type and provide the following parameters
- A name used to refer to the credentials when configuring tasks that require AWS credentials
- AWS Access Key ID
- AWS Secret Access Key
Please refer to About Access Keys. Note that we strongly suggest the use of access and secret keys generated for an Identity and Access Management (IAM) user account.
Upload files to an Amazon Simple Storage Service (S3) Bucket with the AWS S3 Upload task or download from a bucket with the AWS S3 Download task.
Invoke Lambda functions from within the build or release pipeline.
Create new AWS CloudFormation stacks or update an existing stack.
Deploy ASP.NET or ASP.NET Core applications to Elastic Beanstalk environments.
Deploy applications to EC2 instances using CodeDeploy.
Run scripts using cmdlets from the AWS Tools for Windows PowerShell (AWSPowerShell) module, optionally installing the module before use.
Run AWS CLI commands against an AWS connection.
- Visual Studio Team Services
- Team Foundation Server 2015 Update 3 (or higher)
We thank the following contributor(s) for this extension: Visual Studio ALM Rangers.