No warranty is provided, use at your own risk!
Prerequisites:
- An EC2 host in running or stopped state
- A .pem file granting access to the remote ec2 host
Local setup:
- Copy the local.env.template
cp local.env.template local.env
- Populate the local.env with your EC2 instance and .pem details
- Run
source local.env
Prerequisites:
- README.md setup steps are complete
- VSCode running on a windows machine
- Windows with wsl2
- An EC2 host in running or stopped state
What this script does:
- Startup an EC2 instance id
- Grant security group access to the local IP address
- Update the VS Code remote ssh config file with the EC2 dns name
- Establish a SSH connection to the EC2 host in the current terminal