--- title: "How to Install Retrace on AWS EC2 Linux Servers" slug: "aws-installation-linux-aws-ec2" description: "Install Stackify Linux Agent for AWS EC2. SSH into your instance, download & install agent with activation key. Improve server monitoring & performance." updated: 2018-08-12T17:21:28Z published: 2018-08-12T17:21:28Z canonical: "docs.stackify.com/aws-installation-linux-aws-ec2" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.stackify.com/llms.txt > Use this file to discover all available pages before exploring further. # AWS EC2 (Linux) ## Install for AWS EC2 Instructions on how to install the Stackify Linux Agent [AWS EC2](https://aws.amazon.com/ec2/) (Amazon Linux). ### Installing Stackify Linux Agent 1. SSH into your AWS EC2 instance ```xml ssh -i [cert.pem] ec2-user@[x.x.x.x] ``` 1. Download and Install 2. Replace `[INSERT ACTIVATION KEY]` with your activation key value. You can find your activation key under [Settings: Account](https://s1.stackify.com/Manage/AccountInfo). ```xml wget https://s1.stackify.com/Account/AgentDownload/Linux --output-document=stackify.tar.gz && tar -zxvf stackify.tar.gz stackify-agent-install-32bit && cd stackify-agent-install-32bit && sudo ./agent-install.sh --key [INSERT ACTIVATION KEY] --environment "Production" --devicealias [aliasname] ```