EC2 Requirements for Docker based Roost

Roost Pilot Setup (Single EC2 Instance)

Architecture of RoostGPT stack running in single instance:


Using Terraform:

To accomplish POC from single EC2 instance where RoostGPT can be setup, you can run below terraform scripts:

Link: https://github.com/roost-io/install/tree/demo/terraform/aws/bedrockdemo

Prerequisites:

Instance Details

Whether using terraform or provisioning EC2 externally, Roost expects following configurations 

Packages that will be installed on EC2 Linux (by roostGPT installer):

  1. curl
  2. jq
  3. pkill
  4. shasum
  5. gzip
  6. docker-ce
  7. docker-cli
  8. docker-compose
  9. nginx
  10. nginx-extras
  11. Entry into crontab
  12. Script into init.d

Configurations to run RoostGPT:

{
    Version = "2012-10-17"
    Statement = [
        {
            Effect = "Allow"
            Action = [
              "bedrock:InvokeModel",
              "bedrock:InvokeModelWithResponseStream",
              "bedrock:ListFoundationModels",
              "bedrock:GetFoundationModel"
            ]
            Resource = "*"
        },
        {
            "Effect": "Allow",
            "Action": [
                "bedrock:GetInferenceProfile",
                "bedrock:ListInferenceProfiles",
            ],
            "Resource": [
                "arn:aws:bedrock:*:*:inference-profile/*",
                "arn:aws:bedrock:*:*:application-inference-profile/*"
            ]
        }
    ]
}

Why does RoostGPT need to run with a privileged user?


Revision #4
Created 4 November 2025 05:22:16 by Harish
Updated 4 November 2025 16:36:29 by Harish