Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This instance will be facing the team members for any Roost activity.

5.

...

Create an EC2 instance with the steps mentioned below.

  1. Launch EC2 instance

  2. Choose Ubuntu 20 (ubuntu-focal-20.04) AMI

  3. Instance Type as t3.medium

  4. Security group to allow control-plane traffic from any source IP or just the private VPC/Subnets.

    • SSH (port 22)

    • HTTP (port 80)

    • HTTPS (port 443) and

    • Custom TCP Port 2502 (for Stun)

    • TCP Port 5000 for Docker Host

    • TCP Port 5002 for Docker Insecure Registry

    • TCP Port 60001 for JumpHost RoostApi Server

    • TCP Port 60002 for ClusterLauncher

    • TCP Port 60003 for EaaS API Server

    • TCP Port 60005 for Cypress Video Server

    • TCP Port 60006 for Web-console(gotty) default service - ubuntu user

    • TCP Port 62020-62050 for dynamic gotty ports - mapped to individual users

  5. Root volume storage should be 20 GB or more.

  6. Preferred separate EBS volume of 100GB

  7. Enable Avoid Accidental Termination and disable EBS delete on termination

  8. Add tags and key-pair and launch.

  9. Download key-pair; change permissions to 0400

  10. Review configuration and Launch Instance

  11. Connect to EC2 using SSH once it is running

5.2 Mount EBS volume

...

Code Block
lsblk 

Use the EBS disk name that is not mounted

Code Block
sudo mkfs -t ext4 /dev/nvme1n1
sudo mkdir /var/tmp/Roost
sudo mount /dev/nvme1n1 /var/tmp/Roost
sudo chown `id -u`:`id -g` /var/tmp/Roost/
if [ ! -d /var/tmp/Roost ]; then
  sudo mkdir /var/tmp/Roost
  sudo chown `id -u`:`id -g` /var/tmp/Roost/
fi

5.3 Install SSL Certs

Code Block
mkdir /var/tmp/Roost/certs;

cd /var/tmp/Roost/certs
# Copy your organisation SSL certs here 
# OR generate SSL certs

...