• It usually refers to a self-starting process that is supposed to proceed without external input.
  • AWS instance come with default configuration, then
    • software is to be installed
    • do custom configuration
    • bring it to a certain state.
  • Bootstrapping can
    • scripts software installation
    • scripts software configuration
    • execute scripts while launching instance.
  • Bootstrapping EC2 with AWS CLI – Use following commands
    • run-instances to launching an EC2
    • associate-address to associate Elastic IP to the launched instance
    • terminate-instance to terminating instance

cfn-init

  • It is a helper script
  • It reads template metadata from the AWS::CloudFormation::Init key
  • It acts to
    • Fetch and parse metadata from AWS CloudFormation
    • Install packages
    • Write files to disk
    • Enable/disable and start/stop services

Menu