Download Amazon Virtual Private Cloud User Guide

Transcript
Amazon Virtual Private Cloud User Guide
Table of Contents
What is Amazon VPC? ................................................................................................................... 1
Amazon VPC Concepts .......................................................................................................... 1
VPCs and Subnets ........................................................................................................ 1
Supported Platforms ...................................................................................................... 2
Default and Nondefault VPCs .......................................................................................... 2
Accessing the Internet .................................................................................................... 2
Accessing a Corporate or Home Network .......................................................................... 4
How to Get Started with Amazon VPC ....................................................................................... 5
Services that Support Amazon VPC ......................................................................................... 6
Accessing Amazon VPC ......................................................................................................... 6
Pricing for Amazon VPC ......................................................................................................... 7
Amazon VPC Limits ............................................................................................................... 7
Getting Started ............................................................................................................................. 8
Step 1: Create the VPC .......................................................................................................... 9
Viewing Information About Your VPC ............................................................................... 10
Step 2: Create a Security Group ............................................................................................. 11
Rules for the WebServerSG Security Group ..................................................................... 11
Creating Your WebServerSG Security Group .................................................................... 12
Step 3: Launch an Instance into Your VPC ................................................................................ 13
Step 4: Assign an Elastic IP Address to Your Instance ................................................................ 14
Step 5: Clean Up ................................................................................................................. 15
VPC Wizard Scenarios for Amazon VPC .......................................................................................... 17
Scenario 1: VPC with a Single Public Subnet ............................................................................ 17
Configuration for Scenario 1 .......................................................................................... 18
Basic Components for Scenario 1 ................................................................................... 18
Routing for Scenario 1 .................................................................................................. 19
Security for Scenario 1 ................................................................................................. 19
Implementing Scenario 1 .............................................................................................. 20
Scenario 2: VPC with Public and Private Subnets (NAT) ............................................................. 22
Configuration for Scenario 2 .......................................................................................... 23
Basic Components for Scenario 2 ................................................................................... 23
Routing for Scenario 2 .................................................................................................. 24
Security for Scenario 2 ................................................................................................. 25
Implementing Scenario 2 .............................................................................................. 28
Scenario 3: VPC with Public and Private Subnets and Hardware VPN Access ................................ 32
Configuration for Scenario 3 .......................................................................................... 32
Basic Configuration for Scenario 3 .................................................................................. 33
Routing for Scenario 3 .................................................................................................. 33
Security for Scenario 3 ................................................................................................. 35
Implementing Scenario 3 .............................................................................................. 37
Scenario 4: VPC with a Private Subnet Only and Hardware VPN Access ....................................... 41
Configuration for Scenario 4 .......................................................................................... 41
Basic Components for Scenario 4 ................................................................................... 42
Routing for Scenario 4 .................................................................................................. 43
Security for Scenario 4 ................................................................................................. 43
Implementing Scenario 4 .............................................................................................. 44
Your VPC and Subnets ................................................................................................................. 47
Your VPC ........................................................................................................................... 47
Your New VPC ............................................................................................................ 47
VPC Sizing ................................................................................................................. 48
Connections with Your Local Network and Other VPCs ....................................................... 49
Creating a VPC ........................................................................................................... 49
Deleting Your VPC ........................................................................................................ 50
Subnets in Your VPC ............................................................................................................ 50
Your VPC with Subnets ................................................................................................. 51
API Version 2015-04-15
iii