aws-quickstart / quickstart-citrix-daas

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

CitrixCloudConnecter1 - CREATE_FAILED #24

Closed plugstar closed 2 years ago

plugstar commented 3 years ago

Hi I am receiving the following error when using the quick start for Citrix Virtual Apps and Desktops

API:ec2:RunInstances Not authorized for images: [ami-05c3f9b86d55ea80d]

hciudad commented 3 years ago

@plugstar The AMIs in the main branch have been deprecated. So, what you'll likely have to do is copy the contents of s3://aws-quickstart/quickstart-citrix-virtualapps-service over to a bucket in your own account, and then update the mapping for WS2016FULLBASE under eu-west-2 in citrix-virtualapps-service-vda-serveros.yaml and citrix-virtualapps-service-connectors.yaml. I believe you need to use ami-0816d4ac78551609e. Then, when you kick off the CloudFormation stack again, make sure to replace the "Quick Start S3 bucket name" with your own bucket name.

image

There is also some functionality in the develop branch that automatically figures out the right AMI to use, so that's another option to consider. You would checkout out the development branch, then push that up to your own S3 bucket, similar to above. However, I'm having some trouble getting that branch to successfully finish building, but that may just be an environmental issue in my account.

vsnyc commented 3 years ago

Sorry for the inconvenience. See this issue for details: https://github.com/aws-quickstart/quickstart-citrix-virtualapps-service/issues/20. The issue is fixed in develop branch but the VDA stack isn't working due to a missing link. See comment https://github.com/aws-quickstart/quickstart-citrix-virtualapps-service/issues/20#issuecomment-885796570 for a workaround.

As a quick work around, I can make the VDA stack optional and then let the test run and merge.

Another option is to externalize the CitrixVDAServerSetupFileLocation so customers can source it from their own private S3 bucket. I would appreciate a PR for this.

fbalassiano-gmail commented 2 years ago

Hi, I am using the updated AMI's, but still facing the same issue:

API: ec2:RunInstances Not authorized for images: [ami-07f9aa0ff79eca6c4]

Region: us-west-2

Also tried Win2012, but same issue with the 2012 AMI.

I also tried to use the develop branch, but the AMI fetched is the same, so same problem.

Any ideas?

Thanks!

vsnyc commented 2 years ago

This is fixed in #27 . AMI mappings are no longer used and latest AMI ID is fetched using SSM parameter: /aws/service/ami-windows-latest/Windows_Server-2016-English-Full-Base