Sebastian Rieger
f63e5ebd8d
adapted demos for new Charmed OpenStack environment
9 months ago
Sebastian Rieger
5e17f171ba
updated demo1,2 and 3
9 months ago
Sebastian Rieger
5c06e7437b
fixed typo
9 months ago
Sebastian Rieger
eeb9bbf43c
bumped default distro in demos, bound mariadb to all ips, added template explaination
9 months ago
Sebastian Rieger
f8a675fbd1
changed from mysql to mariadb to fix privilege probs
9 months ago
Sebastian Rieger
05d363ca67
removed anyjson, refactoring based on pylint recommendations
9 months ago
Sebastian Rieger
df64887c19
fixed api to use recent version of flask-restless-ng
9 months ago
Sebastian Rieger
0101ae4b97
updated deps for flask-restless-ng and SQLAlchemy
1 year ago
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
1 year ago
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
1 year ago
Usama Tahir
d64e5eb347
Updated install.sh
1 year ago
Usama Tahir
3b0062a84b
Converted all other files into python 3 using 2to3 lib
1 year ago
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)
1 year ago
Usama Tahir
33dfb54db2
demo1-getting-started.py converted to python 3 using 2to3 library
1 year ago
Usama Tahir
7c2a5341af
demo2-instance-with-init-script.py converted to python 3 using 2to3
1 year ago
Usama Tahir
c9d8e9b0af
update ssh pub key
1 year ago
Sebastian Rieger
fa712b19ab
added todo as a reminder to update faafo to Python3 and recent Ubuntu versions (>18.04)
2 years ago
Sebastian Rieger
0b41674790
fixed errors when starting demo2 multiple times, added login and monitoring info in the output at the end of demo2
2 years ago
Sebastian Rieger
20f012a42d
added explanation about the necessary role for the function and clarification of the use of credentials in localstack
3 years ago
Sebastian Rieger
a39227feea
commented out default roleArn
3 years ago
Sebastian Rieger
7a841fc8d3
removed unused role var from stop.py
3 years ago
Sebastian Rieger
bbaa2ef220
retrieve Role ARN, and removed AWS Academy hints in localstack example
3 years ago
Sebastian Rieger
d796ecc305
added API gateway, as in contrast to AWS Academy, localstack allows API gateway creation
3 years ago
Sebastian Rieger
2cba78a344
added localstack cloud counter lambda demo
3 years ago
Sebastian Rieger
f081a50a4a
changed Lambda demo to support AWS Academy and create individual bucket for group with globally unique name in S3
3 years ago
Sebastian Rieger
1f4a435d84
changed Lambda demo to support AWS Academy and create individual bucket for group with globally unique name in S3
3 years ago
Sebastian Rieger
7059688b5d
initial version of counter
3 years ago
Sebastian Rieger
dae204748e
changed default LabInstanceProfile
3 years ago
Sebastian Rieger
68542bcc98
changed cloudformation example to support AWS Academy Lab
3 years ago
Sebastian Rieger
14347b0b47
changed examples to fit current AWS Academy lab env
3 years ago
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
3 years ago
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
3 years ago
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)
3 years ago
Sebastian Rieger
3ffa55641f
Merge remote-tracking branch 'origin/master'
# Conflicts:
# example-projects/demo4-scale-out-lb-in-aws.py
3 years ago
Sebastian Rieger
9c38e8cfd7
changed default keypair to vockey, as used in AWS Academy Lab docu and terminal, fixed timeout var
3 years ago
Sebastian Rieger
15d12de196
changed default keypair to vockey, as used in AWS Academy Lab docu and terminal, fixed timeout var
3 years ago
Sebastian Rieger
f0d4cd0f80
fixed faafo-api http server hanging
3 years ago
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
3 years ago
Sebastian Rieger
e18ab4dc70
updated demo4 to support AWS Academy lab setup
3 years ago
Sebastian Rieger
afd3bef5c2
removed old demo4 tf file, added terraform state stuff to .gitignore
3 years ago
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
3 years ago
Sebastian Rieger
162db34e1b
add swap to fix OOM kill for pip in cheapest AWS instance type m1.tiny
3 years ago
Sebastian Rieger
6949506b0f
added aws install.sh in faafo to fix reqs install failed
3 years ago
Sebastian Rieger
661b125e1c
removed domain name from conn init, as we currently only use the default domain anyway
3 years ago
Sebastian Rieger
1800b6af04
bumped openstack terraform provider version
3 years ago
Sebastian Rieger
615f0ce0d4
speedup AWS image selection by referencing ami directly, listing all images as done in the libcloud examples, takes several minutes now
3 years ago
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
3 years ago
Sebastian Rieger
d82c5b6447
updated terraform examples
3 years ago
Sebastian Rieger
48fc259af9
changed lambda counter demo to work with AWS educate accounts
4 years ago
Sebastian Rieger
a0dc3ff81f
Merge remote-tracking branch 'origin/master'
4 years ago