165 Commits

Author SHA1 Message Date
f8a675fbd1 changed from mysql to mariadb to fix privilege probs 2024-03-19 14:08:53 +01:00
05d363ca67 removed anyjson, refactoring based on pylint recommendations 2024-03-18 14:38:45 +01:00
df64887c19 fixed api to use recent version of flask-restless-ng 2024-03-18 11:24:30 +00:00
0101ae4b97 updated deps for flask-restless-ng and SQLAlchemy 2023-09-27 10:53:18 +02:00
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
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
d64e5eb347 Updated install.sh 2023-08-08 04:35:26 +05:00
3b0062a84b Converted all other files into python 3 using 2to3 lib 2023-08-07 13:25:43 +05:00
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
33dfb54db2 demo1-getting-started.py converted to python 3 using 2to3 library 2023-08-07 11:00:31 +05:00
7c2a5341af demo2-instance-with-init-script.py converted to python 3 using 2to3 2023-08-07 10:35:28 +05:00
c9d8e9b0af update ssh pub key 2023-08-07 03:05:35 +05:00
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
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
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
a39227feea commented out default roleArn 2022-06-21 14:47:48 +02:00
7a841fc8d3 removed unused role var from stop.py 2022-06-21 14:44:58 +02:00
bbaa2ef220 retrieve Role ARN, and removed AWS Academy hints in localstack example 2022-06-21 14:41:56 +02:00
d796ecc305 added API gateway, as in contrast to AWS Academy, localstack allows API gateway creation 2022-06-20 18:01:18 +02:00
2cba78a344 added localstack cloud counter lambda demo 2022-06-20 17:16:57 +02:00
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
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
7059688b5d initial version of counter 2022-06-08 22:43:43 +02:00
dae204748e changed default LabInstanceProfile 2022-05-30 17:56:48 +02:00
68542bcc98 changed cloudformation example to support AWS Academy Lab 2022-05-30 17:49:56 +02:00
14347b0b47 changed examples to fit current AWS Academy lab env 2022-05-30 17:41:29 +02:00
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
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
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
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
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
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
f0d4cd0f80 fixed faafo-api http server hanging 2022-05-13 22:36:10 +02:00
09c25bf38e changed 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 2022-05-09 23:43:28 +02:00
e18ab4dc70 updated demo4 to support AWS Academy lab setup 2022-05-05 23:12:46 +02:00
afd3bef5c2 removed old demo4 tf file, added terraform state stuff to .gitignore 2022-05-05 13:37:27 +02:00
23f48f85cd added 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 2022-04-26 23:39:38 +02:00
162db34e1b add swap to fix OOM kill for pip in cheapest AWS instance type m1.tiny 2022-04-26 22:54:56 +02:00
6949506b0f added aws install.sh in faafo to fix reqs install failed 2022-04-26 22:38:56 +02:00
661b125e1c removed domain name from conn init, as we currently only use the default domain anyway 2022-04-20 17:45:09 +02:00
1800b6af04 bumped openstack terraform provider version 2022-04-18 23:30:55 +02:00
615f0ce0d4 speedup AWS image selection by referencing ami directly, listing all images as done in the libcloud examples, takes several minutes now 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
2022-04-18 22:53:14 +02:00
d82c5b6447 updated terraform examples 2022-04-08 11:43:01 +02:00
48fc259af9 changed lambda counter demo to work with AWS educate accounts 2021-06-14 17:35:23 +02:00
a0dc3ff81f Merge remote-tracking branch 'origin/master' 2021-06-14 17:30:55 +02:00
e213686f6a changed lambda counter demo to work with AWS educate accounts 2021-06-14 17:30:43 +02:00
3a1c789fcf Improved Kubernetes cluster documentation 2021-06-10 11:13:55 +02:00
350d47b120 Update 'kubernetes-example/kubectl-intro.md' 2021-06-09 22:25:42 +02:00
56d42ff1dc Update 'kubernetes-example/kubectl-intro.md' 2021-06-09 22:25:18 +02:00