Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-3336

EBS - Modify instance startup script to mount EBS volume, if required

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 2.2 M3
    • None
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      The rc.local script will be modified to perform the following:

      1. Execute a tool that
        1. Gets the instance user data from the EC2 web service (Already implemented)
        2. Extracts the EBS snapshot ID, AWS private key, certificate if supplied.
        3. If a snapshot id was found, create a new volume from it and attach it as /dev/sdh,
        4. If an unexpected error occurs, exits with return code 1.
        5. If no volume id was in the user data, exits with return code 2.
        6. If no valid user data was found, exits with return code 3. (Can be used to implement BAM-3107)
        7. Mount /dev/sdh as /mnt/bamboo-ebs
        8. If there is an executable file at /mnt/bamboo-data/bamboo-mount.sh, execute it.
      2. Run the Elastic Agent.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ahempel Adrian Hempel [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 16h Original Estimate - 16h
                  16h
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 28h
                  28h