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

[Bug]: Cloud9 eks workshop setup failure #931

Open
cskalyan opened this issue May 10, 2024 · 8 comments
Open

[Bug]: Cloud9 eks workshop setup failure #931

cskalyan opened this issue May 10, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@cskalyan
Copy link

Installation method

Own AWS account

What happened?

I am unable to setup Cloud9 Environment in my AWS Account and I keep getting this error
Failed to create/update the stack. Run the following command
to fetch the list of events leading up to the failure
aws cloudformation describe-stack-events --stack-name eks-workshop-ide

What did you expect to happen?

Successful stack creation.

How can we reproduce it?

Run below in US-EAST-1

wget -q https://raw.githubusercontent.com/aws-samples/eks-workshop-v2/stable/lab/cfn/eks-workshop-ide-cfn.yaml -O eks-workshop-ide-cfn.yaml
aws cloudformation deploy --stack-name eks-workshop-ide
--template-file ./eks-workshop-ide-cfn.yaml
--parameter-overrides RepositoryRef=stable
--capabilities CAPABILITY_NAMED_IAM

Anything else we need to know?

No response

EKS version

1.29

@cskalyan cskalyan added the bug Something isn't working label May 10, 2024
@princeanire
Copy link

Have you check if you have a default VPC in us-east-1?

@princeanire
Copy link

It seems that the Cloud9 IDE is deployed in the default VPC

@cskalyan
Copy link
Author

Have you check if you have a default VPC in us-east-1?

I do have default VPC in US-EAST-1 and it has 6 subnets.

@princeanire
Copy link

have you tried checking the root cuase via aws cloudformation template?

I think there would an error that will be displayed on the consoke,
that might help troubleshooting the setup failure

@cskalyan
Copy link
Author

I did check on AWS Console and all I see is EksWorkshopC9Instance create failed. When I monitor in detail, I see that it is saying connecting but connecting to EC2 is failing.

@niallthomson
Copy link
Contributor

Hi folks,

Currently the CloudFormation template assumes either:

  1. You deploy to the default VPC (default behavior)
  2. You use the CloudSubnet parameter to specify an alternative VPC

I think something we might want to do in the future is always create a dedicated VPC but we don't do that at the moment.

@cskalyan
Copy link
Author

cskalyan commented May 17, 2024 via email

@niallthomson
Copy link
Contributor

Does your default VPC have Internet access?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

3 participants