Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 2.11 KB

install-using-cloud9.md

File metadata and controls

46 lines (35 loc) · 2.11 KB

Instructions for installing AWS SaaS Boost using AWS Cloud9.

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.

  1. 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.

  2. Launch the Cloud9 environment by clicking the Open IDE button.

  3. 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
  1. 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
  1. 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
  1. Set default Java version back to Amazon Corretto 11 (select option 1 for both)
sudo alternatives --config java

sudo alternatives --config javac
  1. If you plan on running the sample app, you need to install jq for use in our sample build scripts
sudo yum install jq
  1. Run AWS SaaS Boost install script
cd ~/environment/aws-saas-boost
./install.sh
  1. Follow the install script prompts to install AWS SaaS Boost!