aws-quickstart / quickstart-github-enterprise

AWS Quick Start Team
Apache License 2.0
22 stars 22 forks source link

One or more AMIs are Unavailable #6

Open vallamost opened 6 years ago

vallamost commented 6 years ago

When deploying to us-west-2 with CloudFormation using the latest templates, I'm getting an error stating "Not authorized for image: [ami-155cc475]" when running from an AWS admin user.

https://github.com/aws-quickstart/quickstart-github-enterprise/blob/327eb343e96d4eb9c6265cafff1763e3ed7cf1fb/templates/quickstart-github-enterprise.template#L196

Can someone please verify if the AMI IDs listed in the template are correct?

As a workaround I pulled the latest AMIs for commercial regions using this command:

aws ec2 describe-images \
--owners 895557238572  \
--query 'sort_by(Images,&Name)[*].{Name:Name,ImageID:ImageId}' \
--output=text
webdog commented 6 years ago

@isseiler We removed the GitHub Enterprise 2.9.4 AMIs recently. The quickstart templates have been updated to 2.13.1. Could you try again?

x-ref: https://github.com/aws-quickstart/quickstart-github-enterprise/pull/9

Thanks!

vallamost commented 6 years ago

Still seeing the AMI errors when trying to launch into an existing VPC.

When trying to launch the new templates for a new VPC I am now seeing errors around the creation of the VPC:

2018-04-22 Status Type Logical ID Status Reason 10:13:18 UTC-0700 ROLLBACK_COMPLETE AWS::CloudFormation::Stack GitHub-Enterprise
10:13:17 UTC-0700 DELETE_COMPLETE AWS::CloudFormation::Stack GHEVPCStack 10:12:29 UTC-0700 DELETE_IN_PROGRESS AWS::CloudFormation::Stack GHEVPCStack 10:12:21 UTC-0700 ROLLBACK_IN_PROGRESS AWS::CloudFormation::Stack GitHub-Enterprise The following resource(s) failed to create: [GHEVPCStack]. . Rollback requested by user. 10:12:20 UTC-0700 CREATE_FAILED AWS::CloudFormation::Stack GHEVPCStack Embedded stack arn:aws:cloudformation:us-west-2:myAccountId:stack/GitHub-Enterprise-GHEVPCStack-1TXXBV8FGAXD0/3c367510-4650-11e8-afde-503acbd4dc8d was not successfully created: The following resource(s) failed to create: [AttachGateway, PublicSubnet]. 10:11:46 UTC-0700 CREATE_IN_PROGRESS AWS::CloudFormation::Stack GHEVPCStack Resource creation Initiated

I am launching them from the official page here: https://aws.amazon.com/quickstart/architecture/github-enterprise/

I think these templates should be taken down for now until the issues I've reported are fixed and these templates have been thoroughly tested better, they are too buggy.

CoreySmithRing commented 5 years ago

Is this still a known issue? I am getting the same error.

zentahori commented 4 years ago

I am still getting the same error as well. The issue is NOT resolved.

The image id 'ami-00b833e649a073915' does not exist (Service: AmazonEC2; Status Code: 400; Error Code: InvalidAMIID.NotFound;

adamn commented 3 years ago

Is this still an issue? I believe https://github.com/aws-quickstart/quickstart-github-enterprise/commit/4e8ec81dce9b42860205427202fa66cc80fadeb2 fixes it.