update ssh login info

pull/49/head
Kelsey Hightower 2016-09-11 08:20:43 -07:00
parent 7e0087411e
commit 87ae2e1578
1 changed files with 16 additions and 0 deletions

View File

@ -262,6 +262,22 @@ chmod 600 ~/.ssh/kubernetes_the_hard_way
ssh-add ~/.ssh/kubernetes_the_hard_way ssh-add ~/.ssh/kubernetes_the_hard_way
``` ```
#### SSH Access
Once the virtual machines are created you'll be able to login into each machine using ssh like this:
```
WORKER_0_PUBLIC_IP_ADDRESS=$(aws ec2 describe-instances \
--filters "Name=tag:Name,Values=worker0" | \
jq -j '.Reservations[].Instances[].PublicIpAddress')
```
> The instance public IP address can also be obtained from the EC2 console. Each node will be tagged with a unqiue name.
```
ssh ubuntu@${WORKER_0_PUBLIC_IP_ADDRESS}
```
### Virtual Machines ### Virtual Machines
#### etcd #### etcd