727b03dcf8Merge branch 'rework-demo4' into 'master'
Sebastian Rieger
2025-04-16 11:34:52 +02:00
50aa1a8519Have a consistent naming scheme
Christoph Jürgen König
2025-04-16 10:22:38 +02:00
667d2dfe3fRename demo4 files to indicate the correct order
Christoph Jürgen König
2025-04-16 09:46:00 +02:00
64670ebd17updated certificate, image name and AUTH_URL of new charmed openstack deployment, changed old GOGS repo to new git-ce.rwth-aachen.de repo
Sebastian Rieger
2025-04-13 10:18:37 +02:00
9a71244f72new root-ca and auth_url for summer term 2025
Sebastian Rieger
2025-04-12 00:26:16 +02:00
bf8678c36cMerge pull request 'Added script for K3S' (#6) from sagnik-dev into master
srieger
2025-03-05 15:59:37 +01:00
-- added k3s secure and insecure as of now use insecure
Rick
2024-07-31 08:37:21 +02:00
9df153cfdeadded note that localstack now requires pro license to create API gateways - students can apply for a free license
Sebastian Rieger
2024-07-04 10:25:00 +02:00
376d287b65enabled API gateway in AWS lambda as it is now available for AWS academy
Sebastian Rieger
2024-07-02 21:06:40 +02:00
259afec126updated rds instance type, as t2 does not seam to be available anymore, though still in the pricing list
Sebastian Rieger
2024-06-13 13:02:55 +02:00
1fd86375c9increased instance warmup time to prevent autoscaling example from draining and killing instances before they are ready
Sebastian Rieger
2024-06-13 12:46:35 +02:00
1d26bb4215removed old terraform k8s examples and refered to current repo
Sebastian Rieger
2024-06-02 21:11:26 +02:00
317e8f4bb5removed old terraform k8s examples and refered to current repo
Sebastian Rieger
2024-06-02 21:10:03 +02:00
3afc4ba16cFix problem with unassigned Floating IP. Test site works
Max Cherris
2024-05-29 15:06:05 +02:00
febbd457afFix deprecation final version, need review
Max Cherris
2024-05-29 13:45:14 +02:00
bf84c43c41Remove deprecation Warning, but UUID of port needs to be assigned, throws an error in current state
Max Cherris
2024-05-29 13:24:32 +02:00
6359576075updated ami id
Sebastian Rieger
2024-05-23 11:00:38 +02:00
c0904de73emoved terraform lab1 example back to deprecated floating ip assignment as new implementation does not set port id
Sebastian Rieger
2024-05-21 12:29:23 +02:00
7a4bfc90b2updates terraform example
Sebastian Rieger
2024-05-21 09:52:29 +02:00
d4d9401195updated pip3 cmd in aws demo
Sebastian Rieger
2024-05-16 11:02:16 +02:00
448177c3b9updated aws ami and aws cloud-init script for demo4
Sebastian Rieger
2024-05-16 10:35:56 +02:00
172ccb2722updated aws ami and aws clout-init script
Sebastian Rieger
2024-05-16 10:20:06 +02:00
12db4e6441updated demo4 scale_out
Sebastian Rieger
2024-05-02 09:35:29 +02:00
6d92f9c755changed install.sh to use master branch
Sebastian Rieger
2024-04-25 10:34:54 +02:00
1a48be4b06Merge pull request 'changed image name to be persistent' (#5) from dev_faafo into master
srieger
2024-04-24 12:24:17 +02:00
886085a73dchanged image name to be persistent
Sebastian Rieger
2024-04-24 12:21:31 +02:00
7c8feecf25added cloud.yaml example and renamed openrc example
Sebastian Rieger
2024-04-12 14:34:41 +02:00
e63fa984f3Merge pull request 'dev_faafo' (#4) from dev_faafo into master
srieger
2024-04-12 14:12:42 +02:00
c67d8886d7Merge branch 'master' into dev_faafo
srieger
2024-04-12 14:12:30 +02:00
8350862a4afixed type in cloud-init for microservice worker, removed rabitmq fix as it is not needed anymore
Sebastian Rieger
2024-04-12 14:10:21 +02:00
f63e5ebd8dadapted demos for new Charmed OpenStack environment
Sebastian Rieger
2024-04-12 13:53:47 +02:00
5e17f171baupdated demo1,2 and 3
Sebastian Rieger
2024-04-12 13:51:56 +02:00
0c6c18ade4Merge pull request 'dev_faafo' (#3) from dev_faafo into master
srieger
2024-04-08 09:52:09 +02:00
5c06e7437bfixed typo
Sebastian Rieger
2024-03-19 14:45:18 +01:00
eeb9bbf43cbumped default distro in demos, bound mariadb to all ips, added template explaination
Sebastian Rieger
2024-03-19 14:41:26 +01:00
f8a675fbd1changed from mysql to mariadb to fix privilege probs
Sebastian Rieger
2024-03-19 14:08:53 +01:00
05d363ca67removed anyjson, refactoring based on pylint recommendations
Sebastian Rieger
2024-03-18 14:38:45 +01:00
df64887c19fixed api to use recent version of flask-restless-ng
Sebastian Rieger
2024-03-18 11:24:30 +00:00
0101ae4b97updated deps for flask-restless-ng and SQLAlchemy
Sebastian Rieger
2023-09-27 10:53:18 +02:00
a50038ffd5removed superfluous demo2 startup file, added app_context to prevent flask from crashing, changed group_number to default again, added default pubkey
Sebastian Rieger
2023-09-25 15:38:22 +02:00
4bfb746cadchanged Ubuntu to 20.04, made python3 the default while installing faafo, added comment to show use of different faafo branches for cloud-init
Sebastian Rieger
2023-09-25 13:23:22 +02:00
3b0062a84bConverted all other files into python 3 using 2to3 lib
Usama Tahir
2023-08-07 13:25:43 +05:00
9a998ad631Converted 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)
Usama Tahir
2023-08-07 11:40:03 +05:00
33dfb54db2demo1-getting-started.py converted to python 3 using 2to3 library
Usama Tahir
2023-08-07 11:00:31 +05:00
7c2a5341afdemo2-instance-with-init-script.py converted to python 3 using 2to3
Usama Tahir
2023-08-07 10:35:28 +05:00
fa712b19abadded todo as a reminder to update faafo to Python3 and recent Ubuntu versions (>18.04)
Sebastian Rieger
2023-04-25 23:34:11 +02:00
0b41674790fixed errors when starting demo2 multiple times, added login and monitoring info in the output at the end of demo2
Sebastian Rieger
2023-04-25 23:30:32 +02:00
20f012a42dadded explanation about the necessary role for the function and clarification of the use of credentials in localstack
Sebastian Rieger
2022-06-22 16:28:10 +02:00
a39227feeacommented out default roleArn
Sebastian Rieger
2022-06-21 14:47:48 +02:00
7a841fc8d3removed unused role var from stop.py
Sebastian Rieger
2022-06-21 14:44:58 +02:00
bbaa2ef220retrieve Role ARN, and removed AWS Academy hints in localstack example
Sebastian Rieger
2022-06-21 14:41:56 +02:00
d796ecc305added API gateway, as in contrast to AWS Academy, localstack allows API gateway creation
Sebastian Rieger
2022-06-20 18:01:18 +02:00
f081a50a4achanged Lambda demo to support AWS Academy and create individual bucket for group with globally unique name in S3
Sebastian Rieger
2022-06-20 13:04:17 +02:00
1f4a435d84changed Lambda demo to support AWS Academy and create individual bucket for group with globally unique name in S3
Sebastian Rieger
2022-06-20 12:48:38 +02:00
7059688b5dinitial version of counter
Sebastian Rieger
2022-06-08 22:43:43 +02:00
dae204748echanged default LabInstanceProfile
Sebastian Rieger
2022-05-30 17:56:48 +02:00
68542bcc98changed cloudformation example to support AWS Academy Lab
Sebastian Rieger
2022-05-30 17:49:56 +02:00
14347b0b47changed examples to fit current AWS Academy lab env
Sebastian Rieger
2022-05-30 17:41:29 +02:00
c5aaf2f4f7changed keyName to vockey, changed instanceType to t2.micro as t2.nano can run into out of memory situation when starting mariadb
Sebastian Rieger
2022-05-30 13:34:52 +02:00
d845403a4cset 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
Sebastian Rieger
2022-05-16 16:09:51 +02:00
d3df9d4e81readded key file to import if key pair is not already available (however in AWS academy vockey should be existing in any case)
Sebastian Rieger
2022-05-15 17:48:13 +02:00
3ffa55641fMerge remote-tracking branch 'origin/master'
Sebastian Rieger
2022-05-15 16:13:32 +02:00
9c38e8cfd7changed default keypair to vockey, as used in AWS Academy Lab docu and terminal, fixed timeout var
Sebastian Rieger
2022-05-15 16:05:19 +02:00
15d12de196changed default keypair to vockey, as used in AWS Academy Lab docu and terminal, fixed timeout var
Sebastian Rieger
2022-05-15 16:05:19 +02:00
f0d4cd0f80fixed faafo-api http server hanging
Sebastian Rieger
2022-05-13 22:36:10 +02:00
09c25bf38echanged AWS instance size to t2.micro, t2.nano is still possible using install-aws.sh cloud-init script, but really limited in RAM, added support for availability zones and spread instance across different az to improve fault tolerance, select AMI directly, remove 0.0.0.0/0 access to mysql
Sebastian Rieger
2022-05-09 23:43:28 +02:00
e18ab4dc70updated demo4 to support AWS Academy lab setup
Sebastian Rieger
2022-05-05 23:12:46 +02:00
afd3bef5c2removed old demo4 tf file, added terraform state stuff to .gitignore
Sebastian Rieger
2022-05-05 13:37:27 +02:00
23f48f85cdadded image search, expand user home dir based on platform, removed elastic ips to save budget, load AWS credentials file, fixed ÓOM in AWS m1.tiny when installing faafo reqs using pip, increased timeout
Sebastian Rieger
2022-04-26 23:39:38 +02:00
162db34e1badd swap to fix OOM kill for pip in cheapest AWS instance type m1.tiny
Sebastian Rieger
2022-04-26 22:54:56 +02:00
6949506b0fadded aws install.sh in faafo to fix reqs install failed
Sebastian Rieger
2022-04-26 22:38:56 +02:00
661b125e1cremoved domain name from conn init, as we currently only use the default domain anyway
Sebastian Rieger
2022-04-20 17:45:09 +02:00
1800b6af04bumped openstack terraform provider version
Sebastian Rieger
2022-04-18 23:30:55 +02:00
615f0ce0d4speedup AWS image selection by referencing ami directly, listing all images as done in the libcloud examples, takes several minutes now
Sebastian Rieger
2022-04-18 23:10:33 +02:00
b57045ecf7* changed password in demo1 to be provided in source, not safe, but easy start and private cloud endpoints are not externally reachable anyway * added missing network definition in demo3-microservice * fixed typo in demo4-scale-out-add-worker * renamed demo4 destroy to destroy-all-demo-instances.py to serve as universal cleanup script for the provided faafo demos
Sebastian Rieger
2022-04-18 22:53:14 +02:00
d82c5b6447updated terraform examples
Sebastian Rieger
2022-04-08 11:43:01 +02:00
48fc259af9changed lambda counter demo to work with AWS educate accounts
Sebastian Rieger
2021-06-14 17:35:23 +02:00
a0dc3ff81fMerge remote-tracking branch 'origin/master'
Sebastian Rieger
2021-06-14 17:30:55 +02:00
e213686f6achanged lambda counter demo to work with AWS educate accounts
Sebastian Rieger
2021-06-14 17:30:43 +02:00
3a1c789fcfImproved Kubernetes cluster documentation
Timo Geier
2021-06-10 11:13:55 +02:00
a2942f3d4aadapted aws-boto3-rds-db and aws-boto3-standalone-db-autoscaling example of tug-of-war in the clouds for AWS Educate Accounts, however, due to missing Roles and permissions both are currently not usable in AWS Educate
Sebastian Rieger
2021-06-01 13:25:30 +02:00
698ec0a648adapted aws-boto3-rds-db example of tug-of-war in the clouds to AWS Educate Accounts, however, RDS is not allowed in our current classroom
Sebastian Rieger
2021-06-01 13:17:36 +02:00
049e494ab2adapted aws-boto3-standalone-db example of tug-of-war in the clouds to be usable with AWS Educate Accounts
Sebastian Rieger
2021-06-01 13:06:26 +02:00
781cfc8fa4adapted AWS CloudFormation Example for AWS Educate Classroom
Sebastian Rieger
2021-05-25 23:40:15 +02:00
b57c26adbfadded AWS ELB load balancer example
Sebastian Rieger
2021-05-22 01:48:37 +02:00
d43d1b3995added stop scripts and comments in terraform example
Sebastian Rieger
2021-05-08 20:08:19 +02:00
4c2993182dchanged aws demo3 to be compatible with AWS Educate classroom
Sebastian Rieger
2021-05-08 20:07:45 +02:00