GithubHelp home page GithubHelp logo

amigen6's Introduction

The scripts in this project are designed to ease the creation of LVM-enabled Enterprise Linux AMIs for use in AWS envrionments. It has been successfully tested with CentOS 6.x, Scientific Linux 6.x and Red Hat Enterprise Linux 6.x. It should work with other EL6-derived operating systems. No testing has been done for any of the EL7-base distributions (though I'm happy to help if you'd like to submit a pull-request so that this project's functionality can be so extended)

Please see the RHEL6 subdirectory for directions/scripts specifically required to leverage this solution for creating license-included RHEL6 AMIs.

If attempting to port for other EL6 derivatives that use publicly-accessible repositories create a yum-build.conf file to point to the distro-specific public repositories. Use the yum-build_CentOS.conf and yum-build_SciLin.conf files as references for creating a yum-build.conf file appropriate to your distro of choice.

Please read through all of the READMEs before using. Most of the errors you're likely to encounter can be avoided by doing so:

  • README.md: This file
  • README_dependencies.md: Contains a list of packages that need to be present on the build-host for these scripts to run correctly. Bottom of file includes a user-data excerpt that will cause these dependencies to be satisfied.
  • README_profile: List of environment variables that should be set.
  • README_scripts: Contains an list of the scripts in this archive and explanations of their functionalities and any arguments/options that may be passed to the scripts. These scripts should be executed in the order listed.

Additionally, some scripts have their own explanation files:

  • AWScliSetup.sh.md: Details for use of the AWScliSetup.sh script's options.
  • ChrootBuild.sh.md: Details for use of the ChrootBuild.sh script's options.
  • Packages-Core.md: Details packages installed to chroot via "@Core" build-profile.
  • Packages-CloudInit.md: Details further packages installed to chroot due to cloud-init and its dependencies.
  • Packages-MinExtra.md: List of extra packages and dependencies required in the chroot to provide LVM2 functionality and to support HVM instance-types.
  • AMI Validation: tips on how to verify that resultant AMIs produce instances with expected functionality.

If there are any gaps that not covered in these documentation-files, please open an issue.

Extensions planned for the future:

  • Enhancing the EBS-carving routines
    • Accommodate other than 20GiB root EBS
    • Accommodate user-driven partition-sizing (note: no plans are in place to include partitions not prescribed by SCAP guidance. It is assumed that non SCAP-prescribed partitioning will primarily be for hosting application-data - and that such data will be segregated from OS data via encapsulation in other than the root LVM2 volume-group)

amigen6's People

Contributors

ferricoxide avatar lorengordon avatar

Watchers

 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.