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

ADR: Hardened EKS AMI #56

Closed
1 task
ntwkninja opened this issue Feb 4, 2023 · 3 comments
Closed
1 task

ADR: Hardened EKS AMI #56

ntwkninja opened this issue Feb 4, 2023 · 3 comments

Comments

@ntwkninja
Copy link
Member

ntwkninja commented Feb 4, 2023

Building STIG-compliant amis for EKS

Related Issues:
FIPS EKS AMI issue
FIPS Bottlerocket issue

Edit: EC2 image builder is inconsistent for things in the user_data and if we're going to do something custom, we may want to consider packer.

Definition of Done:

  • ADR decision has been recorded
@RothAndrew
Copy link
Member

Is this meant to be a research spike/ADR? Or to actually change which AMI is used by the examples?

Currently:

  • It doesn't seem like the module(s) have any say or care what AMI is being used. The examples pass in the nodegroup definitions which will include which AMI to use
  • The examples currently use Amazon Linux 2 (the regular one that everyone uses)

Notes:

  • If we want the modules to be "secure by default" they should somehow specify which AMI is used. If we need it to be overridable then IMO we should have some kind of allow_insecure_vars = true variable.

@ntwkninja
Copy link
Member Author

Yes, was intended to be a research spike.

Also, agree @RothAndrew

I think there would be a lot of benefit to standardizing on an aws-supported distroless AMI for EKS (bottlerocket) and allowing users to set the flag mentioned if they prefer a different option.

@ntwkninja ntwkninja changed the title Hardened EKS AMI Research Spike: Hardened EKS AMI Mar 14, 2023
@ntwkninja
Copy link
Member Author

This PR added bottlerocket node group example

@ntwkninja ntwkninja changed the title Research Spike: Hardened EKS AMI ADR: Hardened EKS AMI Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants