Brain-Power-Amazon-Fidgetology icon indicating copy to clipboard operation
Brain-Power-Amazon-Fidgetology copied to clipboard

Not able to launch the stack

Open yasteeShah opened this issue 4 years ago • 21 comments

I tried multiple times from the blog link and from the git, but I am not able to launch the stack. Can you please help me out with this?

yasteeShah avatar Sep 23 '19 16:09 yasteeShah

Could you please provide the CloudFormation logs (from the AWS Console) or the console output from your Terminal/Shell, so I can diagnose the failure reason?

runpengl avatar Sep 24 '19 00:09 runpengl

https://user-images.githubusercontent.com/38581611/65492383-6d4e7b80-dece-11e9-859e-28a9a2fc1d67.PNG

I am getting the same window for more than 45 minutes. I tried it with both lite vesion and full version in your git post but unfortunately every time I am stuck with the same window.

yasteeShah avatar Sep 24 '19 07:09 yasteeShah

Do you have full admin privileges on the AWS account you are launching the stack in?

runpengl avatar Sep 24 '19 11:09 runpengl

Yes, I do have full administrative privileges yet not able to perform the launch function.

yasteeShah avatar Sep 25 '19 18:09 yasteeShah

It appears that AWS did a site-wide update of its online console interface. The new CloudFormation interface is buggy and the "Launch stack" links do not work.

You have two options:

  1. If you need to get this working urgently, disable the new console interface. Then visit the "Launch stack" link again using the old interface.

  2. Wait for AWS to fix the bug in their new console interface. I have also just submitted a support ticket informing AWS of this bug in their interface.

runpengl avatar Sep 25 '19 19:09 runpengl

I am totally willing to work with it as soon as possible. But I have no idea about how to disable the new console interface. How to go with it and will it affect my other ongoing projects in my same account?

yasteeShah avatar Sep 26 '19 04:09 yasteeShah

Okay, so now I am able to create the stack successfully but as soon as I execute it, it goes to the rollback stage and finally shows the message as ROLLBACK_FAIL. Please help me out witj this.

https://user-images.githubusercontent.com/38581611/65725403-2def7d00-e0d0-11e9-8bca-f1bb6c4dc11e.JPG

yasteeShah avatar Sep 26 '19 21:09 yasteeShah

Hi, I have updated the repo documentation with new links and screenshots to reflect AWS’s new online console interface. I have upgraded the Lambda Node.js version, which was causing your stack deploy to fail. Please re-fetch this repository, delete all Cloudformation resources and S3 buckets associated with this stack, and attempt to relaunch the stack.

runpengl avatar Sep 27 '19 03:09 runpengl

Hello sir, I refered your updated repo documentation. I tried launching the stack once again from scratch but I found the "Access Denied" error. This may be because the S3 link provided while creating the stack is not open to all. Can you help me with this? https://user-images.githubusercontent.com/38581611/65793379-47053600-e183-11e9-95ec-85c0ab3cac42.PNG

yasteeShah avatar Sep 27 '19 18:09 yasteeShah

Sorry, the template file was private. Just fixed

runpengl avatar Sep 28 '19 00:09 runpengl

I am not able to implement it with the updates too. I tried it for last two days but not able to fix it. Can you help me with this? https://user-images.githubusercontent.com/38581611/65850129-28fa2a00-e36b-11e9-87a2-9486f64e0e43.JPG

yasteeShah avatar Sep 30 '19 04:09 yasteeShah

CloudFormation Event logs are useful in diagnosing why a stack deploy fails. image Could you screenshot those (click on the "Events" tab), and indicate which event gave an error?

runpengl avatar Sep 30 '19 18:09 runpengl

https://user-images.githubusercontent.com/38581611/65911991-1c1d1b00-e3eb-11e9-8836-bcfe5fd76983.JPG https://user-images.githubusercontent.com/38581611/65912002-1fb0a200-e3eb-11e9-8c34-b6773558fd7e.JPG https://user-images.githubusercontent.com/38581611/65912008-2212fc00-e3eb-11e9-9c4f-dfc9f1c0275b.JPG

It rollbacks and deletes the failed resources.

yasteeShah avatar Sep 30 '19 20:09 yasteeShah

@yasteeShah you need to DELETE the stack AND any resources that might have been leftover. This screenshot shows the earliest error chronologically. You can see WebAppBucket already exists and Cloudformation is complaining. Delete that bucket and your stack and retry.

cyrfer avatar Oct 19 '19 03:10 cyrfer

The S3Key for the S3ToKVSLambda function is invalid and hence stack creation is failing with an S3 Access Denied error. Please verify by trying to access the following URL: https://s3.amazonaws.com/brain-power-fidgetology-demo-bootstrap/11cf97b799cc8689b2f0bc0f6e68069b

Please fix urgently.

yskulkarni avatar Jan 11 '20 00:01 yskulkarni

I am seeing the same error, would love a fix as urgently as possible. the s3 access is being denied for brain-power-fidgetology-demo-bootstrap/11cf97b799cc8689b2f0bc0f6e68069b

escully27 avatar Mar 26 '20 04:03 escully27

I am seeing the same error, would love a fix as urgently as possible. the s3 access is being denied for brain-power-fidgetology-demo-bootstrap/11cf97b799cc8689b2f0bc0f6e68069b

same issue here as well..

guptaravik avatar Apr 17 '20 20:04 guptaravik

I am seeing the same error, would love a fix as urgently as possible. the s3 access is being denied for brain-power-fidgetology-demo-bootstrap/11cf97b799cc8689b2f0bc0f6e68069b

I'm also having the same issue

wrigsa avatar May 13 '20 16:05 wrigsa

I think the bucket is created with wrong permissions likely. I was able to work around this by

  1. Downloading the full template which is created when you click the Launch button.
  2. Creating my own bucket in us-east-1
  3. Uploading jar file to that bucket
  4. Changing the CodeUri field in the template to point to the file in bucket instead of the default one
  5. Launching with my template

fedorzh avatar Nov 27 '20 22:11 fedorzh

Omg, this is still open :( s3 access is being denied for brain-power-fidgetology-demo-bootstrap/11cf97b799cc8689b2f0bc0f6e68069b

ghugare-priyanka avatar Mar 03 '22 09:03 ghugare-priyanka

Screenshot - 2022-04-27T094059 156 Anyone mind giving me a hand with this?

andrewballester avatar Apr 27 '22 16:04 andrewballester