Giter Site home page Giter Site logo

Comments (4)

fquffio avatar fquffio commented on June 14, 2024 1

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.

from aws-autoscaling-gitlab-runner.

fquffio avatar fquffio commented on June 14, 2024

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

from aws-autoscaling-gitlab-runner.

fantapop avatar fantapop commented on June 14, 2024

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.

from aws-autoscaling-gitlab-runner.

freeyland avatar freeyland commented on June 14, 2024

Looks like this has never been merged

from aws-autoscaling-gitlab-runner.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.