If you don't have the required prerequisites installed on your local machine to run the SaaS Boost installer, AWS Cloud9 is a fast and easy way to get started.
By default, Cloud9 inherits the AWS permissions for the user or role which you are logged into the AWS Console as. Make sure that role has full admin permissions necessary to install AWS SaaS Boost.
-
Login to AWS Console and create an AWS Cloud9 environment using Amazon Linux 2 and an instance type with at least 4GB RAM. For example, choose Other instance type and then select T2 medium or T3 medium.
-
Launch the Cloud9 environment by clicking the Open IDE button.
-
Cloud9 environments have 10GB of disk space by default. This may not be enough disk space to run the SaaS Boost installer. Resize the Cloud9 environment (recommend at least 20GB) using this resize.sh shell script. Copy the contents of the script to a new file on the Cloud9 instance and then execute it:
sh resize.sh 20
- Run the following commands to clone the SaaS Boost git repository:
cd ~/environment
git clone https://github.com/awslabs/aws-saas-boost.git ./aws-saas-boost
- We need a newer version of Apache Maven than the default. To install a more recent version, run the following commands:
sudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo
sudo sed -i s/\$releasever/6/g /etc/yum.repos.d/epel-apache-maven.repo
sudo yum install -y apache-maven
- Set default Java version back to Amazon Corretto 11 (select option 1 for both)
sudo alternatives --config java
sudo alternatives --config javac
- If you plan on running the sample app, you need to install
jq
for use in our sample build scripts
sudo yum install jq
- Run AWS SaaS Boost install script
cd ~/environment/aws-saas-boost
./install.sh
- Follow the install script prompts to install AWS SaaS Boost!