Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More Detailed Instructions for Deploying to AWS #996

Open
siuwafong opened this issue Nov 22, 2021 · 0 comments
Open

More Detailed Instructions for Deploying to AWS #996

siuwafong opened this issue Nov 22, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@siuwafong
Copy link

Problem
More detailed instructions for deploying to AWS with explanations on what the commands do would be appreciated. I am currently getting the following error for step 1 of EKS setup:

AWS::EKS::Cluster/ControlPlane: CREATE_FAILED – "Resource handler returned message: \"Cannot create cluster 'papercups' because us-east-1e, the targeted availability zone, does not currently have sufficient capacity to support the cluster. Retry and choose from these availability zones: us-east-1a, us-east-1b, us-east-1c, us-east-1d, us-east-1f (Service: Eks, Status Code: 400, Request ID: eb7ba2e3-1d62-4102-9c39-0695bcecf3aa, Extended Request ID: null)\"

When I try to choose different availability zones, I get the following error:

Error: --vpc-private-subnets/--vpc-public-subnets and --zones cannot be used at the same time

As far as I know, if I remove the --vpc-private-subnets command then the rest of the setup will not work correctly.

Solution
I would like some more detailed instructions on deploying to AWS with some information on what each command does.

Describe alternatives you've considered
I've tried googling the error message but none of the results seem to match what I am looking for.

Testing
Run step 1 of EKS Setup:

eksctl create cluster \ --name papercups \ --version=1.19 \ --enable-ssm \ --vpc-public-subnets=$(aws rds describe-db-subnet-groups --db-subnet-group-name "default" --query 'DBSubnetGroups[-1].Subnets[*].SubnetIdentifier' --output text | perl -pe 's/\h/,/g')

@siuwafong siuwafong added the enhancement New feature or request label Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant