Skip to main content


Using AWS S3 Bucket as a IBM Software Repository

Target audience: Mid to Highly skilled Linux, IBM and AWS admins.

Currently IBM software is retrieved from passport advantage client account. If you’re tasked with building out multiple IBM products on AWS VPCs and EC2s then setting up an install media repository that is fast and local is a must.

This article describes how to uses your S3 bucket as an IBM install software repository. Once the IBM install software repository is available then the EC2 bootstrap or UserData section of the EC2 AMI can be used to dynamically customize each EC2 instances. Use the EC2 bootstrap to install IBM software prerequisites, and then install and configure the IBM software.

The process goes like this:

  1. Retrieve the clients IBM software from passport advantage.
  2. Upload the IBM software(install media) to the S3 bucket in the Region where the IBM products will be installed.
  3. Upload install and configuration scripts for the IBM software to the S3 bucket.
  4. Setup security so the install media and scripts can be retrieved via http wget from a shell script. Security can be setup for one user or a team of admins. See AWS S3 security options.
  5. Setup your AWS Storage policy so these large install media files will transition through the S3 storage object life-cycle. Basically move them from S3 standard to standard-IA, then to S3-RRS finally to Glacier. The objective is to reduce cost of storing these large install files and still keep copies for auditing and creation of a DR site.Once the repository is setup, now create a shell script that.

The Shell script will:

  1. Installs and additional packages(RPM files) to meet the IBM software pre-reqs.
  2. Use wget with the URLs of each S3 storage object that needs to be retrieved to the EC2 instance.
  3. Set permissions on the retrieved files.
  4. Unpack install media files.
  5. Run install via response files.
  6. Configure the IBM software.

Once the EC2 instance is available, logon and test!





Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Chuck Misuraca, Technical Architect

More from this Author

Follow Us