# 1. Launch EC2 Instance * **From the EC2 console, click on `Launch Instance`** ![](https://hackmd.io/_uploads/SJfIKHE53.png) * **For AMI, search for `amzn2-ami-kernel-5.10-hvm-2.0.20230628.0-x86_64-gp2`** ![](https://hackmd.io/_uploads/r1hA_HV92.png) * **For Instance type, choose `t2.medium` and provide key-pair** ![](https://hackmd.io/_uploads/S1_0KSV9h.png) * **For `Network Setting` select existing `default` security-group** ![](https://hackmd.io/_uploads/HJFmcrN9h.png) * **For `Configure Storage`, 8Gb of root volume is sufficient. Proceed to click on `Launch Instance`** ![](https://hackmd.io/_uploads/HyeocSE93.png) # 2. SSH to Nextflow Host * **From the EC2 console, get the public ip-address of the instance** ![](https://hackmd.io/_uploads/Hy8ZgUEqn.png) * **Navigate to the directory with your key-pair and change permission for the pem file to read-only** ```bash= chmod 400 sateesh_peri.pem ``` * **Connect to the instance** ![](https://hackmd.io/_uploads/SJaSgUNqn.png) * **Open a terminal and SSH to the nextflow host from the directory with your key-pair pem file** ```bash= ssh -i "sateesh_peri.pem" ec2-user@ec2-35-175-244-200.compute-1.amazonaws.com ``` ![](https://hackmd.io/_uploads/rJyq-84q2.png) # 3. Create Nextflow work directory S3 bucket * **Navigate to S3 console & click on `Create Bucket`. Provide a name and choose the region for the bucket** ![](https://hackmd.io/_uploads/HJmAm8E53.png) * **Uncheck the `Block all public access` box and acknowledge in the checkbox** ![](https://hackmd.io/_uploads/BkYfVLE53.png) * **Leave defaults for the rest and click on `Create Bucket`** ![](https://hackmd.io/_uploads/Bydv4I49n.png) ### Retrieve security credentials for S3 bucket * **Navigate to IAM console and select the user to retrieve `security credentials` and click on `Create Access Key`** * **Choose the use case of Command Line Interface (CLI), check the confirmation and click `Next`** ![](https://hackmd.io/_uploads/rklWvUVch.png) * **Download the access key in csv format and save in secure location** ![](https://hackmd.io/_uploads/SJ6UD8N9h.png) # 4. Install MMC float CLI tool ```bash= wget https://<op_center_ip_address>/float --no-check-certificate sudo mv float /usr/local/bin/ sudo chmod +x /usr/local/bin/float ``` >example >```bash= >wget https://34.205.19.185/float --no-check-certificate >sudo mv float /usr/local/bin/ >sudo chmod +x /usr/local/bin/float >``` * **Connect float on Nextflow Host to the OpCenter (needs public ip address) with credentials below:** **username -> `admin` password -> `memverge`** ![](https://hackmd.io/_uploads/BJFkCLE9n.png) # 5. Install Java & Nextflow * **install Java using [sdkman](https://sdkman.io/)** ```bash= curl -s "https://get.sdkman.io" | bash source "/home/ec2-user/.sdkman/bin/sdkman-init.sh" ``` * **Install Java `17.0.6`** ```bash= sdk install java 17.0.6-tem java -version ``` ![](https://hackmd.io/_uploads/rkUW1DVcn.png) * **Install Nextflow** ```bash= curl -s https://get.nextflow.io | bash sudo mv nextflow /usr/local/bin/ ``` # 6. Install git & tmux * **Install git** ```bash= sudo yum install git sudo yum install tmux ``` ---