Git Product home page Git Product logo

amis's Introduction

amis's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

amis's Issues

include ssm-agent by default in the image

Will this new AMI include ssm-agent package by default? I see from the files in this repo that you're currently including the newer EC2 Instance Connect but nothing on ssm-agent. Will there be a choice to choose which one?

I'm coming from this issue: NixOS/nixpkgs#222637

IPv6 support

the AMI does not come up properly with IPv6.

Neither is an IP picked up through DHCPv6 (amazon doesn't do SLAAC) nor does our user data scripts work as they don't go over ipv6LL

Configurable boot and swap partitions

I've been running various versions of the 23.11 AMIs on t4g.micro instances and struggle with two issues:

  • /boot fills up after a while due to the number of kernels
  • Instance crashes in the midst of nixos-rebuild due to out of memory (micro has 1GB)

So: Would it be possible to specify the /boot partition size, as well as adding a swap partition?

The second can of course be worked around by adding a swap file (which I did) or adding a second EBS and partition it as swap.

IMDS v2 minimum breaks existing expressions

Setting IMDS to a minimum of v2 breaks any expression using fetchurl to read meta-data, instead you get a 401 response:

nix-repl> builtins.readFile (builtins.fetchurl "http://169.254.169.254/latest/meta-data")
error:
[...]
       error: unable to download 'http://169.254.169.254/latest/meta-data': HTTP error 401

The only way it can be turned off down-stream is via the instance configuration. There is no way (that I can find) to clear that setting when making a new image. (Nor can it be cleared on any image that I own: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ResetImageAttribute.html only allows launchPermission to be reset.) I'm using Hashicorp Packer, but a quick look at the source suggests it won't try and set it unless my configuration specifies it. So my guess is that the attribute is getting copied from the source image,

I'm rather surprised by the AWS "set only" behaviour here; but that's what we've got to live with. So I think it would be better if we leave requiring IMDSv2 as a decision for instance configuration. (Or downstream image creators.)

Prune old AMIs?

Always publish latest image. Weekly. Keep 2 older images around.

Repart-based AMI hangs

EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
EFI stub: Measured initrd data into PCR 9

aws ec2 get-console-output doesn't show anything except when passing --latest

This does work for other AMIs

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-console.html is kinda vague about how these logs are collected

For Linux/Unix, the instance console output displays the exact console output that would normally be displayed on a physical monitor attached to a computer. The console output returns buffered information that was posted shortly after an instance transition state (start, stop, reboot, and terminate). The posted output is not continuously updated; only when it is likely to be of the most value.

I have a feeling that NixOS' headless mode is messing with things here.

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.