Download AWS Toolkit for Visual Studio User Guide

Transcript
AWS Toolkit for Visual Studio User Guide
Table of Contents
Using the AWS Toolkit for Visual Studio ............................................................................................. 1
The AWS Toolkit for Visual Studio ............................................................................................. 1
What's New in Version 1.3 ....................................................................................................... 2
What's New in Version 1.1 ....................................................................................................... 2
About Amazon Web Services .................................................................................................. 3
Setting Up the AWS Toolkit for Visual Studio ....................................................................................... 4
Prerequisites ........................................................................................................................ 4
Installation ........................................................................................................................... 4
Specifying Credentials ............................................................................................................ 5
Managing Amazon EC2 Instances .................................................................................................... 8
The Amazon Machine Images and Amazon EC2 Instances Views .................................................. 8
Launching an Amazon EC2 Instance ....................................................................................... 10
Connecting to an Amazon EC2 Instance .................................................................................. 11
Ending an Amazon EC2 Instance ........................................................................................... 13
Managing Security Groups from AWS Explorer ................................................................................. 16
Creating a New Security Group .............................................................................................. 16
Adding Permissions to Security Groups ................................................................................... 17
Create an AMI from an Amazon EC2 Instance .................................................................................. 18
Setting Launch Permissions on an Amazon Machine Image ................................................................ 20
Amazon Virtual Private Cloud (VPC) ............................................................................................... 22
How to Create a VPC for Deployment with AWS Elastic Beanstalk ................................................ 22
Deployment Using the AWS Toolkit ................................................................................................. 26
Deploying to Elastic Beanstalk ............................................................................................... 26
How to Deploy the PetBoard Application Using Elastic Beanstalk ......................................... 27
How to Specify the AWS Security Credentials for Your Application ........................................ 35
How to Republish Your Application to Elastic Beanstalk Environment .................................... 35
Deploying to AWS CloudFormation ......................................................................................... 36
Standalone Deployment Tool ................................................................................................. 42
Installation and Invocation ............................................................................................. 43
Deployment Tool Configuration File Format ...................................................................... 45
How to Update the Configuration for an Existing Deployment ............................................... 51
Customizing the AWS CloudFormation Template Used for Deployment ................................. 52
Using the AWS CloudFormation Template Editor ............................................................................... 55
Creating a New AWS CloudFormation Template Project ............................................................. 55
Deploying an AWS CloudFormation Template ........................................................................... 57
Estimating the Cost of Your Template Project ............................................................................ 59
Formatting an AWS CloudFormation Template .......................................................................... 60
Using Amazon S3 from AWS Explorer ............................................................................................. 62
Creating an Amazon S3 Bucket .............................................................................................. 62
Managing Amazon S3 Buckets from AWS Explorer .................................................................... 63
Uploading Files and Folders to Amazon S3 .............................................................................. 64
Amazon S3 File Operations from AWS Toolkit for Visual Studio .................................................... 65
How to Create a Pre-Signed URL ................................................................................... 67
Using DynamoDB from AWS Explorer ............................................................................................. 68
Creating an DynamoDB Table ................................................................................................ 68
Viewing an DynamoDB Table as a Grid .................................................................................... 69
Editing and Adding Attributes and Values ................................................................................. 70
Scanning an DynamoDB Table ............................................................................................... 71
Amazon RDS from AWS Explorer ................................................................................................... 73
Launch an Amazon RDS Database Instance ............................................................................ 73
Create a Microsoft SQL Server Database within an RDS Instance ................................................ 78
Amazon RDS Security Groups ............................................................................................... 79
Create an Amazon RDS Security Group ......................................................................... 79
Set Access Permissions for an Amazon RDS Security Group ............................................. 80
Using Amazon SimpleDB from AWS Explorer ................................................................................... 82
Version v1.30
iii