Practice Exercise 1: Familiarizing yourself with the environment
Objectives
Familiarize yourself with the environment that we will use for the a1t-inf-ds
course.
Tasks
- SSH into your instance, connect to the
bastion
server then use the command below:ssh <NAME>-a1t-inf-ds-web1.acad.opswerks.net
- Alternatively you can also use the command below:
ssh -J <NAME>@bastion-1.acad.opswerks.net <NAME>@<NAME>-a1t-inf-ds-db2.acad.opswerks.net
When you use the -J
flag, your SSH client first connects to the jump host, and from there, it establishes a connection to the destination host.
ssh -J <jump_host> <destination_host>
Conclusion
You have now familiarized yourself with the environment with a refresher on common commands keep in mind on how to use SSH as this is an important command that we will be using throughout this course.