π₯οΈEC2
How to access your EC2 resources.
EC2 Instances (AWS)
Creating the Instance
Find the AMI, create an EC2 instance



Connecting to the Instance
To access your instance:
Save your
.pemto your local directory at~/.ssh/your-rsa-key.pem.Change the permissions to the file using
chmod 400 ~/.ssh/your-rsa-key.pemCreate and/or open the
~/.ssh/configfile and update it with your configuration.
Host your-preferred-alias-name
HostName ec2-xx-xxx-xxx-xxx.compute-1.amazonaws.com
User ec2-user
IdentityFile ~/.ssh/your-rsa-key.pem
Port 22Download the SSH - Remote plugin for VSCode and select the Host to connect.
Configure Gitterup
Prerequisites: GitHub SSH and GPG have both been set up.
Copy the gitterup binary to
/usr/bindirectory and change permissions to include executionsudo chmod 700 /usr/bin/gitterupMake sure the
/tmpdirectory has the config files required.
cd /tmp
mkdir build
cd build
mkdir config
cd config
touch config.env
nano config.envPaste the content from the file found here and save and exit.
Add your
github_pzkey pairs to the remote instance~/.sshfolderExecute the
gitterupcommand with appropriate arguments.
Last updated