Integrated Digital Engineering on AWS
  • 🚀First Time Users
    • What is IDEA?
    • Install IDEA
      • Pre-Requisites
      • Standard Installation
    • Access your IDEA cluster
      • Web Interface
      • Virtual Desktops (Linux/Windows)
      • SSH
      • APIs
    • File Browser
    • Let's get started
    • Cluster operations
      • Update IDEA cluster
        • Patch IDEA module (idea-admin.sh patch)
        • Update IDEA configuration (idea-admin.sh config)
        • Update IDEA backend resource (idea-admin.sh deploy)
      • Uninstall IDEA
  • 🤖Modules
    • What is a module?
    • Virtual Desktop Interfaces
      • User Documentation
        • Create a virtual desktop (Linux/Windows)
        • Stop/Delete/Hibernate a virtual desktop
        • Modify a virtual desktop
        • Share a virtual desktop
        • Virtual desktop scheduling
      • Admin Documentation
        • Dashboard
        • Sessions
        • Virtual Desktop Images (Software Stacks)
        • Permissions management
      • Technical
        • APIs
    • HPC Workloads
      • User Documentation
        • Submit a job
        • Control my jobs
        • Supported EC2 parameters
        • Job Storage
        • Troubleshooting
          • My job is not starting
      • Admin Documentation
        • Queue Profiles
        • Create Web Based Job Submission Worfklows
        • Configure Floating License resources
    • Cluster Manager
      • Projects Management
      • Users Management
      • Groups Management
      • Cluster Status
      • Email Templates
      • APIs
    • Shared Storage
      • Storage Management
  • 👑Best Practices
    • Analytics
      • OpenSearch
        • Configure your OpenSearch
        • Create your own analytics visualizations
    • Budget
      • Review your AWS spend
      • Control your AWS spend
      • Set up budget per project
    • Security
      • Backup IDEA environment
  • 🧱Architecture
    • High Level Overview
  • 🛠️Developer Portal
    • IDEA CLI utility
    • Developer Onboarding
  • 🚨Help and Support
    • FAQ
    • Raise a bug
Powered by GitBook
On this page
  • Docker
  • AWS CLIv2
  • Create the IAM policies
  • Create IAM User
  • Create IAM Role
  • Create the SSH Keypair
  1. First Time Users
  2. Install IDEA

Pre-Requisites

PreviousInstall IDEANextStandard Installation

Last updated 1 year ago

Installation of IDEA is automated via Docker. Make sure you have the following tools installed/configured on your system prior to launching the installation:

Docker

You must have Docker installed on your environment if you want to proceed to a standard 1-click installation. If needed, you can download and install Docker from the .

while running Docker as a non-root user.

Docker License: Please ensure you or your organization adheres to the . Otherwise you must proceed to a manual installation.

AWS CLIv2

If needed, install awscli v2 on your local environment by following the instructions from this link

Create the IAM policies

These IAM policies contains all the permissions required to install/uninstall IDEA. This policy and be enabled/disabled at the user level if needed.

Policy to uninstall IDEA is optional. If needed you can terminate your cluster from the AWS console using your own IAM user. The uninstall policy is only needed if you are planning to automatize cluster creation/termination

To create a policy:

  1. Click "Policies" on the left sidebar

  2. Click "Create Policy"

  3. Click "Next: Tags" and add optional tags as needed

  4. Click "Next: Review", chose a name and a description

  5. Click "Create Policy"

  6. Repeat the steps3 to 7, but this time copy/paste the content of JSONUNINSTALL during step4

Create your IAM user or role

Should I configure an IAM user or role?

Install from local laptop/workstation
Install from EC2
  • Use IAM user

  • Use IAM role if you have the permission to create and attach it.

  • Use IAM user if you do not have the permission to create/attach an IAM role

Create IAM User

IAM user must have the permissions required to install IDEA.

  1. Click "Users" on the left sidebar

  2. Click "Add User"

    1. Choose a username

    2. Under AWS Access Type check "Access key - Programmatic access"

  3. Click "Next: Add Permissions"

  4. Click "Attach existing policies directly" button and choose the IAM policy you just created on the previous step

  5. Click "Next: Add Tags". Add any optional tags as needed

  6. Click "Next: Review"

  7. Click "Create User"

  8. You will be prompted with your AWS Access Key ID and AWS Secret Access Key. Save them in a secure location as we will need them later. In case you lost them, you can generate a new pair them via IAM User > Security Credentials

  9. Click "Close"

Configure your local IAM user

Now you have created your IAM user, you must configure your local environment.

Once installed, runaws configure command and follow the prompts. Make sure to use the access/secret key created previously. If you do not have access to them, login to IAM, choose your IAM user, navigate to Security Credentials command and re-generate a new access/secret security pair

$ aws configure
AWS Access Key ID [None]: AKI<ACCESS_KEY_OF_YOUR_IAM>USER>
AWS Secret Access Key [None]: pd6<SECRET_KEY_OF_YOUR_IAM_USER>
Default region name [None]: us-west-2
Default output format [None]:

Create IAM Role

  • Click "Roles" on the left sidebar

  • Select "AWS Service" as Trusted Entity and "EC2" as Use Case

  • Select the "Permission Policies" you created previously

  • Review the "Role details" then click "Create Role"

Now your IAM role is created, go back to the EC2 console, select the EC2 instance you want to trigger the installation from and attach the newly created IAM role to it

Create the SSH Keypair

This SSH key will be used to connect to the IDEA hosts as admin user. Keep it secure!

To create your SSH key:

  1. Click "Key Pairs" on the left sidebar under "Network & Security" section

  2. Click "Create Key pair"

  3. Pick a name, select RSA format and download it either as .pem if you are using Unix or .ppk via PuTTY on Windows. (note: you can always transform .pem to .ppk and vice-versa)

  4. Click "Create key pair"

This will download the private key on your local system. To be able to use the key, you must apply correct permissions by running chmod 600 /path/to/your_pem_key.

Navigate to the IAM console page:

Select the JSON tab and copy/paste the content of . This file contains all the required permissions to install/uninstall IDEA.

Navigate to the IAM console page:

Before configuring it, you must have AWSCLIv2 installed. To install it, refer to this guide:

Navigate to the IAM console page:

Navigate to the EC2 console page: . Make sure to select the AWS region you want to use.

🚀
official Docker website
Refer to this guide to avoid permissions issues
Docker Subscription Service Agreement
https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
https://console.aws.amazon.com/iamv2/
https://github.com/awslabs/scale-out-computing-on-aws/blob/main/installer/SOCAInstallerIamPolicy.json
https://console.aws.amazon.com/iamv2/
https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
https://console.aws.amazon.com/iamv2/
https://console.aws.amazon.com/ec2/v2/
Example of the two IAM policies (one for installation, one for termination)
Example of IAM user configured with the IAM policy