-
Start the lab in AWS Academy
-
Run the bash scripts to install MySQL Standalone and Cluster Versions:
MySQL Standalone chmod +x setup_mysql_standalone.sh ./setup_mysql_standalone.sh
MySQL CLuster chmod +x setup_mysql_cluster.sh ./setup_mysql_cluster.sh
-
Paste all your AWS credentials into the
config.py
filesecurity_group_name - The name of your secturity group key_name - The name of your key pair (e.g. vockey) key_path - The path to your key (e.g. path/to/vockey.pem) region_name - E.g. us-east-1 aws_access_key_id - Found in AWS Academy aws_secret_access_key - Found in AWS Academy aws_session_token - Found in AWS Academy
-
Create the instances by running
create_instances.py
-
Run the code using the following commands: python3 app.py direct
python3 app.py randomized
python3 app.py customized
For sending the write requests and test the app:
python3 test_app.py
-
Notifications
You must be signed in to change notification settings - Fork 0
mitrasolgi/Scaling-Databases-and-Implementing-Cloud-Design-Patterns
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Cloud Computing Final Project
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published