Browse Source

readded key file to import if key pair is not already available (however in AWS academy vockey should be existing in any case)

master
Sebastian Rieger 3 years ago
parent
commit
d3df9d4e81
  1. 2
      example-projects/demo3-microservice-in-aws.py
  2. 2
      example-projects/demo4-scale-out-lb-in-aws.py

2
example-projects/demo3-microservice-in-aws.py

@ -27,7 +27,7 @@ ubuntu_image_name = 'ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-2021
keypair_name = "vockey"
# keypair_name = 'srieger-pub'
# pub_key_file = home + '/.ssh/id_rsa.pub'
pub_key_file = home + '/.ssh/id_rsa.pub'
# id_rsa.pub should look like this (standard sshd pubkey format):
# ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAw+J...F3w2mleybgT1w== user@HOSTNAME

2
example-projects/demo4-scale-out-lb-in-aws.py

@ -35,7 +35,7 @@ ubuntu_image_name = 'ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-2021
keypair_name = "vockey"
# keypair_name = 'srieger-pub'
# pub_key_file = home + '/.ssh/id_rsa.pub'
pub_key_file = home + '/.ssh/id_rsa.pub'
# id_rsa.pub should look like this (standard sshd pubkey format):
# ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAw+J...F3w2mleybgT1w== user@HOSTNAME

Loading…
Cancel
Save