You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/aws/index.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@ Docker for AWS is currently in private beta. [Sign up](https://beta.docker.com)
29
29
- ELB
30
30
- CloudWatch Log Group
31
31
- SSH key in AWS in the region where you want to deploy (required to access the completed Docker install)
32
+
- AWS account that support EC2-VPC [For more info about EC2-Classic](../faq/aws.md)
32
33
33
34
For more information about adding an SSH key pair to your account, please refer to the [Amazon EC2 Key Pairs docs](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html)
Copy file name to clipboardExpand all lines: docs/content/faq/aws.md
+33-2Lines changed: 33 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,37 @@ Use the beta sign up form, and put the account number that you need to use most
25
25
## Can I use my own AMI?
26
26
No, at this time we only support our AMI.
27
27
28
+
## How to use Docker for AWS with an AWS account with an EC2-Classic region.
29
+
30
+
If you have an AWS account that was created before **December 4th, 2013** you have what is known as an **EC2-Classic** account on regions where you have previously deployed resources. **EC2-Classic** accounts don't have default VPC's or the associated subnets, etc. This causes a problem when using our CloudFormation template because we are using the [Fn:GetAZs](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getavailabilityzones.html) function they provide to determine which availability zones you have access too. When used in a region where you have **EC2-Classic**, this function will return all availability zones for a region, even ones you don't have access too. When you have an **EC2-VPC** account, it will return only the availability zones you have access to.
31
+
32
+
This will cause an error like the following:
33
+
34
+
> "Value (us-east-1a) for parameter availabilityZone is invalid. Subnets can currently only be created in the following availability zones: us-east-1d, us-east-1c, us-east-1b, us-east-1e."
35
+
36
+
If you have an **EC2-Classic** account, and you don't have access to the `a` and `b` availability zones for that region.
37
+
38
+
There isn't anything we can do right now to fix this issue, we have contacted Amazon, and we are hoping they will be able to provide us with a way to determine if an account is either **EC2-Classic** or **EC2-VPC**, so we can act accordingly.
39
+
40
+
#### How to tell if you have this issue.
41
+
42
+
This AWS documentation page will describe how you can tell if you have EC2-Classic, EC2-VPC or both. http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html
43
+
44
+
#### How to fix:
45
+
There are a few work arounds that you can try to get Docker for AWS up and running for you.
46
+
47
+
1. Use a region that doesn't have **EC2-Classic**. The most common region with this issue is `us-east-1`. So try another region, `us-west-1`, `us-west-2`, or the new `us-east-2`. These regions will more then likely be setup with **EC2-VPC** and you will not longer have this issue.
48
+
2. Create an new AWS account, all new accounts will be setup using **EC2-VPC** and will not have this problem.
49
+
3. You can try and contact AWS support to convert your **EC2-Classic** account to a **EC2-VPC** account. For more information checkout the following answer for **"Q. I really want a default VPC for my existing EC2 account. Is that possible?"** on https://aws.amazon.com/vpc/faqs/#Default_VPCs
Not at this time, but it is on our roadmap for future releases.
30
61
@@ -39,5 +70,5 @@ All of Amazons regions have at least 2 AZ's, and some have more. To make sure we
39
70
40
71
41
72
## What do I do if I get "KeyPair error" on AWS?
42
-
As part of the prerequisites, you need to have an SSH key uploaded to the AWS region you are trying to deploy to.
43
-
For more information about adding an SSH key pair to your account, please refer to the [Amazon EC2 Key Pairs docs](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html)
73
+
As part of the prerequisites, you need to have an SSH key uploaded to the AWS region you are trying to deploy to.
74
+
For more information about adding an SSH key pair to your account, please refer to the [Amazon EC2 Key Pairs docs](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html)
0 commit comments