updated demo4 scale_out

This commit is contained in:
Sebastian Rieger
2024-05-02 09:35:29 +02:00
parent 6d92f9c755
commit 12db4e6441
4 changed files with 168 additions and 129 deletions

View File

@ -1,7 +1,7 @@
"""Example for Cloud Computing Course Master AI / GSD"""
# This script demonstrates how to use libcloud to start an instance in an OpenStack environment.
# The script will create start multiple instances splitting up the faafo monolithic application into
# The script will start multiple instances splitting up the faafo monolithic application into
# a (minimalistic but already scalable) microservice architecture.
# Also introduces the concept of different security groups and corresponding frontend/backend
# separation.
@ -55,7 +55,6 @@ UBUNTU_IMAGE_NAME = "ubuntu-22.04-jammy-x86_64"
#
# id_rsa.pub should look like this (standard sshd pubkey format):
# ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAw+J...F3w2mleybgT1w== user@HOSTNAME
KEYPAIR_NAME = 'srieger-pub'
PUB_KEY_FILE = '~/.ssh/id_rsa.pub'