133 Commits

Author SHA1 Message Date
Sebastian Rieger
c0904de73e moved terraform lab1 example back to deprecated floating ip assignment as new implementation does not set port id 2024-05-21 12:29:23 +02:00
Sebastian Rieger
7a4bfc90b2 updates terraform example 2024-05-21 09:52:29 +02:00
Sebastian Rieger
d4d9401195 updated pip3 cmd in aws demo 2024-05-16 11:02:16 +02:00
Sebastian Rieger
448177c3b9 updated aws ami and aws cloud-init script for demo4 2024-05-16 10:35:56 +02:00
Sebastian Rieger
172ccb2722 updated aws ami and aws clout-init script 2024-05-16 10:20:06 +02:00
Sebastian Rieger
12db4e6441 updated demo4 scale_out 2024-05-02 09:35:29 +02:00
Sebastian Rieger
6d92f9c755 changed install.sh to use master branch 2024-04-25 10:34:54 +02:00
srieger
1a48be4b06 Merge pull request 'changed image name to be persistent' (#5) from dev_faafo into master
Reviewed-on: https://gogs.informatik.hs-fulda.de/srieger/cloud-computing-msc-ai-examples/pulls/5
2024-04-24 12:24:17 +02:00
Sebastian Rieger
886085a73d changed image name to be persistent 2024-04-24 12:21:31 +02:00
Sebastian Rieger
7c8feecf25 added cloud.yaml example and renamed openrc example 2024-04-12 14:34:41 +02:00
srieger
e63fa984f3 Merge pull request 'dev_faafo' (#4) from dev_faafo into master
Reviewed-on: https://gogs.informatik.hs-fulda.de/srieger/cloud-computing-msc-ai-examples/pulls/4
2024-04-12 14:12:42 +02:00
srieger
c67d8886d7 Merge branch 'master' into dev_faafo 2024-04-12 14:12:30 +02:00
Sebastian Rieger
8350862a4a fixed type in cloud-init for microservice worker, removed rabitmq fix as it is not needed anymore 2024-04-12 14:10:21 +02:00
Sebastian Rieger
f63e5ebd8d adapted demos for new Charmed OpenStack environment 2024-04-12 13:53:47 +02:00
Sebastian Rieger
5e17f171ba updated demo1,2 and 3 2024-04-12 13:51:56 +02:00
srieger
0c6c18ade4 Merge pull request 'dev_faafo' (#3) from dev_faafo into master
Reviewed-on: https://gogs.informatik.hs-fulda.de/srieger/cloud-computing-msc-ai-examples/pulls/3
2024-04-08 09:52:09 +02:00
Sebastian Rieger
5c06e7437b fixed typo 2024-03-19 14:45:18 +01:00
Sebastian Rieger
eeb9bbf43c bumped default distro in demos, bound mariadb to all ips, added template explaination 2024-03-19 14:41:26 +01:00
Sebastian Rieger
f8a675fbd1 changed from mysql to mariadb to fix privilege probs 2024-03-19 14:08:53 +01:00
Sebastian Rieger
05d363ca67 removed anyjson, refactoring based on pylint recommendations 2024-03-18 14:38:45 +01:00
Sebastian Rieger
df64887c19 fixed api to use recent version of flask-restless-ng 2024-03-18 11:24:30 +00:00
Sebastian Rieger
0101ae4b97 updated deps for flask-restless-ng and SQLAlchemy 2023-09-27 10:53:18 +02:00
Sebastian Rieger
a50038ffd5 removed superfluous demo2 startup file, added app_context to prevent flask from crashing, changed group_number to default again, added default pubkey 2023-09-25 15:38:22 +02:00
Sebastian Rieger
4bfb746cad changed Ubuntu to 20.04, made python3 the default while installing faafo, added comment to show use of different faafo branches for cloud-init 2023-09-25 13:23:22 +02:00
Usama Tahir
d64e5eb347 Updated install.sh 2023-08-08 04:35:26 +05:00
Usama Tahir
3b0062a84b Converted all other files into python 3 using 2to3 lib 2023-08-07 13:25:43 +05:00
Usama Tahir
9a998ad631 Converted all these files from python 2 to python 3 syntax usong 2to3 library (demo3-microservices.py,demo4-scale-out-add-worker.py,demo4-scale-out.py,demo5-1-durable-storage.py,demo5-2-backup-fractals.py,destroy-all-demo-instances.py) 2023-08-07 11:40:03 +05:00
Usama Tahir
33dfb54db2 demo1-getting-started.py converted to python 3 using 2to3 library 2023-08-07 11:00:31 +05:00
Usama Tahir
7c2a5341af demo2-instance-with-init-script.py converted to python 3 using 2to3 2023-08-07 10:35:28 +05:00
Usama Tahir
c9d8e9b0af update ssh pub key 2023-08-07 03:05:35 +05:00
Sebastian Rieger
fa712b19ab added todo as a reminder to update faafo to Python3 and recent Ubuntu versions (>18.04) 2023-04-25 23:34:11 +02:00
Sebastian Rieger
0b41674790 fixed errors when starting demo2 multiple times, added login and monitoring info in the output at the end of demo2 2023-04-25 23:30:32 +02:00
Sebastian Rieger
20f012a42d added explanation about the necessary role for the function and clarification of the use of credentials in localstack 2022-06-22 16:28:10 +02:00
Sebastian Rieger
a39227feea commented out default roleArn 2022-06-21 14:47:48 +02:00
Sebastian Rieger
7a841fc8d3 removed unused role var from stop.py 2022-06-21 14:44:58 +02:00
Sebastian Rieger
bbaa2ef220 retrieve Role ARN, and removed AWS Academy hints in localstack example 2022-06-21 14:41:56 +02:00
Sebastian Rieger
d796ecc305 added API gateway, as in contrast to AWS Academy, localstack allows API gateway creation 2022-06-20 18:01:18 +02:00
Sebastian Rieger
2cba78a344 added localstack cloud counter lambda demo 2022-06-20 17:16:57 +02:00
Sebastian Rieger
f081a50a4a changed Lambda demo to support AWS Academy and create individual bucket for group with globally unique name in S3 2022-06-20 13:04:17 +02:00
Sebastian Rieger
1f4a435d84 changed Lambda demo to support AWS Academy and create individual bucket for group with globally unique name in S3 2022-06-20 12:48:38 +02:00
Sebastian Rieger
7059688b5d initial version of counter 2022-06-08 22:43:43 +02:00
Sebastian Rieger
dae204748e changed default LabInstanceProfile 2022-05-30 17:56:48 +02:00
Sebastian Rieger
68542bcc98 changed cloudformation example to support AWS Academy Lab 2022-05-30 17:49:56 +02:00
Sebastian Rieger
14347b0b47 changed examples to fit current AWS Academy lab env 2022-05-30 17:41:29 +02:00
Sebastian Rieger
c5aaf2f4f7 changed keyName to vockey, changed instanceType to t2.micro as t2.nano can run into out of memory situation when starting mariadb 2022-05-30 13:34:52 +02:00
Sebastian Rieger
d845403a4c set start retries in supervisord to unlimited to avoid broken backend if app-service instance containing the database is later running than the API, in rare cases this can happen though the service instance is started before the API instances 2022-05-16 16:09:51 +02:00
Sebastian Rieger
d3df9d4e81 readded key file to import if key pair is not already available (however in AWS academy vockey should be existing in any case) 2022-05-15 17:48:13 +02:00
Sebastian Rieger
3ffa55641f Merge remote-tracking branch 'origin/master'
# Conflicts:
#	example-projects/demo4-scale-out-lb-in-aws.py
2022-05-15 16:13:32 +02:00
Sebastian Rieger
9c38e8cfd7 changed default keypair to vockey, as used in AWS Academy Lab docu and terminal, fixed timeout var 2022-05-15 16:12:34 +02:00
Sebastian Rieger
15d12de196 changed default keypair to vockey, as used in AWS Academy Lab docu and terminal, fixed timeout var 2022-05-15 16:05:19 +02:00