GithubHelp home page GithubHelp logo

amazon-eks-ami-1's Introduction

NOTE: Forked from https://github.com/AdvMicrogrid/amazon-eks-ami!

Amazon EKS AMI Build Specification

This repository contains resources and configuration scripts for building a custom EKS AMI with HashiCorp Packer. This is based on the same configuration that Amazon EKS uses to create the official Amazon EKS-optimized AMI.

Differences from Official AMI

The file CHANGELOG_AMS.md in the project root contains the list of changes made in this fork. The overarching aim of these changes is stability. Most notably, this uses Ubuntu 18.04 instead of Amazon Linux 2. Because Ubuntu uses ext4 rather than xfs, it avoids the disk corruption issue affecting the official AMI. Likewise, setting up Docker log rotation prevents worker nodes from failing due to full disks.

Setup

You must have Packer installed on your local system. For more information, see Installing Packer in the Packer documentation. You must also have AWS account credentials configured so that Packer can make calls to AWS API operations on your behalf. For more information, see Authentication in the Packer documentation.

Building the AMI

A Makefile is provided to build the AMI, but it is just a small wrapper around invoking Packer directly. You can initiate the build process by running the following command in the root of this repository:

make

The Makefile runs Packer with the eks-worker-bionic.json build specification template and the amazon-ebs builder. An instance is launched and the Packer Shell Provisioner runs the install-worker.sh script on the instance to install software and perform other necessary configuration tasks. Then, Packer creates an AMI from the instance and terminates the instance after the AMI is created.

Using the AMI

The EKS Terraform module simplifies deployment of infrastructure for an EKS cluster.

Security

For security issues or concerns, please do not open an issue or pull request on GitHub. Please report any suspected or confirmed security issues to AWS Security https://aws.amazon.com/security/vulnerability-reporting/

License Summary

This sample code is made available under a modified MIT license. See the LICENSE file.

amazon-eks-ami-1's People

Contributors

micahhausler avatar cmcarthur avatar timecode avatar kinghajj avatar jpeddicord avatar agcooke avatar dawidmalina avatar shyamjvs avatar mattlandis avatar max-rocket-internet avatar sgundapu avatar arun-amzn avatar sgtcodfish avatar chrisferry avatar chrisfu avatar dpiddock avatar someword avatar drewhemm avatar jpb avatar jtnagashima avatar talawahtech avatar mbartsch avatar ruhlem avatar delgod avatar nithu0115 avatar opensourcezombie avatar pahud avatar rdavison avatar rickard-von-essen avatar scjudd avatar

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.