Bastion Linux
Access to DEV and PROD environments has to be done through Tailscale and Bastion Linux instances (EC2).
How to access the Bastion
Follow setup instructions
Using the Bastion
DEV | PROD |
---|---|
ssh arc-dev-bastion | ssh arc-prod-bastion |
Open a terminal / shell
> sudo su -
- Start the Rails console:
./rails_console.sh
- Run a Rake task:
CMD="bundle exec rake letters:add_missing_s3_files" ./rails_console.sh
Create a local SSH tunnel
DEV | PROD |
---|---|
ssh -f -nNT -oExitOnForwardFailure=yes -L 5433:ddaxh5xev7y482-replica.cr0ery4wmgok.us-east-1.rds.amazonaws.com:5432 arc-dev-bastion | ssh -f -nNT -oExitOnForwardFailure=yes -L 5433:pdw5gnbgm0sgs6-replica.ccp1a3ixdlfj.us-west-2.rds.amazonaws.com:5432 arc-prod-bastion |
Scripts
Check arc-api scripts
directory for:
- Database dump scripts
- ECS deployment status