Complete the following steps to create an AMI for ASE:
- Create an RHEL 7.6 or Ubuntu 16.04 LTS EC2 instance
- Install the AWS CLI by completing the following steps:
- Install Python 2.7
- Enter the following command:
sudo curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip"
- Unzip the CLI bundle
sudo unzip awscli-bundle.zip
- Install the CLI:
sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/bin/aws
- Download the ASE AWS binary. After downloading the file, copy the ASE file to the
/opt
directory. - Untar the binary in the EC2 instance. At the command prompt, type the following command
to untar the ASE file:
tar –zxvf <filename>
tar –zxvf ase-rhel-4.0.tar.gz
- To verify that ASE successfully installed, enter the ls command at the command prompt.
This should list the pingidentity directory and the build's tar file. For
example:
/opt/$ ls pingidentity ase-rhel-4.0.tar.gz
- Change directory to
/opt/pingidentity/ase/bin
- Run the
install_service.sh aws
script:/opt/pingidentity/ase/bin$sudo ./install_service.sh aws Installing ASE service for AWS Autoscale This script will install ASE as a service Do you wish to proceed (y/n)? y Starting service installation RHEL7.6 detected, installing ASE service Created symlink from /etc/systemd/system/multi-user.target.wants/ase.service to /etc/systemd/system/ase.service. ASE service successfully installed
- Create an AMI using this EC2 instance.Note:
When you are creating the AMI, do not select the “No Reboot” option.