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

Clarification on Manager Image #6

Open
mikesiconolfi opened this issue Nov 7, 2018 · 4 comments · May be fixed by #11
Open

Clarification on Manager Image #6

mikesiconolfi opened this issue Nov 7, 2018 · 4 comments · May be fixed by #11
Assignees
Labels
question Further information is requested

Comments

@mikesiconolfi
Copy link

Im trying to deploy your aws template but not sure what i need to do for the Manager Image ID? Do i need to create my own server with docker and gitlab-runner installed on it first?

@fquffio
Copy link
Contributor

fquffio commented Nov 7, 2018

Hi @mikesiconolfi ! Thanks for your interest in this project.

No, the AMI should be an Amazon Linux image. I'm currently using ami-0922553b7b0369273 for us-east-1, but there are newer images available.

You may obtain an AMI ID for this stack using the AWS CLI:

export AWS_DEFAULT_REGION='<your-AWS-region>'
aws ec2 describe-images \
  --owners amazon \
  --filters 'Name=name,Values=amzn2-ami-hvm-*-gp2' \
    'Name=image-type,Values=machine' \
    'Name=virtualization-type,Values=hvm' \
    'Name=architecture,Values=x86_64' \
  --query 'reverse(sort_by(Images, &CreationDate))[0].ImageId' \
  --output text

@fquffio fquffio added the question Further information is requested label Nov 7, 2018
@fquffio fquffio self-assigned this Nov 7, 2018
@fantapop
Copy link

fantapop commented Dec 5, 2018

In order to make this step easier for newcomers to this template, it would be great to have a default ami populated in the template based on the region its deployed in.

@fquffio
Copy link
Contributor

fquffio commented Mar 21, 2019

PR #11 removes the CloudFormation parameter, so that we're no longer required to pass an AMI ID, that might not be easy to find.

Instead, AMI IDs are now retrieved with make list-latest-amis and then embedded in the template as a mapping, so that the correct value can be selected at launch/update time based on the AWS region the stack is in.

fquffio added a commit that referenced this issue Mar 22, 2019
@freeyland
Copy link

Looks like this has never been merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants