99 Commits

Author SHA1 Message Date
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
Sebastian Rieger
f0d4cd0f80 fixed faafo-api http server hanging 2022-05-13 22:36:10 +02:00
Sebastian Rieger
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
Sebastian Rieger
e18ab4dc70 updated demo4 to support AWS Academy lab setup 2022-05-05 23:12:46 +02:00
Sebastian Rieger
afd3bef5c2 removed old demo4 tf file, added terraform state stuff to .gitignore 2022-05-05 13:37:27 +02:00
Sebastian Rieger
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
Sebastian Rieger
162db34e1b add swap to fix OOM kill for pip in cheapest AWS instance type m1.tiny 2022-04-26 22:54:56 +02:00
Sebastian Rieger
6949506b0f added aws install.sh in faafo to fix reqs install failed 2022-04-26 22:38:56 +02:00
Sebastian Rieger
661b125e1c removed domain name from conn init, as we currently only use the default domain anyway 2022-04-20 17:45:09 +02:00
Sebastian Rieger
1800b6af04 bumped openstack terraform provider version 2022-04-18 23:30:55 +02:00
Sebastian Rieger
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
Sebastian Rieger
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
Sebastian Rieger
d82c5b6447 updated terraform examples 2022-04-08 11:43:01 +02:00
Sebastian Rieger
48fc259af9 changed lambda counter demo to work with AWS educate accounts 2021-06-14 17:35:23 +02:00
Sebastian Rieger
a0dc3ff81f Merge remote-tracking branch 'origin/master' 2021-06-14 17:30:55 +02:00
Sebastian Rieger
e213686f6a changed lambda counter demo to work with AWS educate accounts 2021-06-14 17:30:43 +02:00
Timo Geier
3a1c789fcf Improved Kubernetes cluster documentation 2021-06-10 11:13:55 +02:00
srieger
350d47b120 Update 'kubernetes-example/kubectl-intro.md' 2021-06-09 22:25:42 +02:00
srieger
56d42ff1dc Update 'kubernetes-example/kubectl-intro.md' 2021-06-09 22:25:18 +02:00
srieger
605eb739c2 Add 'kubernetes-example/kubectl-intro.md' 2021-06-09 22:20:11 +02:00
Sebastian Rieger
a2942f3d4a adapted 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 2021-06-01 13:25:30 +02:00
Sebastian Rieger
698ec0a648 adapted 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 2021-06-01 13:17:36 +02:00
Sebastian Rieger
049e494ab2 adapted aws-boto3-standalone-db example of tug-of-war in the clouds to be usable with AWS Educate Accounts 2021-06-01 13:06:26 +02:00
Sebastian Rieger
781cfc8fa4 adapted AWS CloudFormation Example for AWS Educate Classroom 2021-05-25 23:40:15 +02:00
Sebastian Rieger
b57c26adbf added AWS ELB load balancer example 2021-05-22 01:48:37 +02:00
Sebastian Rieger
d43d1b3995 added stop scripts and comments in terraform example 2021-05-08 20:08:19 +02:00
Sebastian Rieger
4c2993182d changed aws demo3 to be compatible with AWS Educate classroom 2021-05-08 20:07:45 +02:00
Sebastian Rieger
6e2b8dc1f0 fixed "faafo list" not working, due to SQLalchemey >1.4
File "/usr/local/lib/python2.7/dist-packages/flask_restless/helpers.py", line 595, in count
    if num_results is None or query._limit:
AttributeError: 'BaseQuery' object has no attribute '_limit'
2021-04-23 00:26:59 +02:00
Sebastian Rieger
17e8b41743 initial version of terraform openstack example incl load balancer 2021-04-15 13:13:13 +02:00
Sebastian Rieger
a22eb50b9d initial version of counter lambda function 2020-06-14 15:52:26 +02:00
Sebastian Rieger
33ab50e291 removed redundant lines in user-data 2020-06-01 21:56:36 +02:00
Sebastian Rieger
aca7a2e740 fixed php pdo errors for rds example, upgraded to amazon-linux-extra php7.4 2020-05-29 18:27:27 +02:00
Sebastian Rieger
fb2437d829 changed faafo repo 2020-05-28 12:51:01 +02:00
Sebastian Rieger
63a241a7a0 added mysql client to webserver to be able to create db contents 2020-05-28 12:33:12 +02:00
Sebastian Rieger
d265a10cb3 optimized imports 2020-05-28 11:58:38 +02:00