Skip to content

walterkakool/aws-tutorials

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Current ticket (regarding an online multi-players Blackjack mobile game)

• Figuring out a C++ executable to delete all instances in AWS Lambda;
• Sub-path coming up;

Quick-start of CIDR

Given two IPv4s, which are 11.11.10.0/23 and 11.11.11.0/23, the netmask for both of these is 255.255.254.0. Since /23 states that the first 23 digits (big-endian) are fixed, 11111111.11111111.11111110.00000000 (255.255.254.0)
corresponds to the subnet's pattern referring to the netmask. In the phase of valid netmasks, all "1s" have to be contiguous from the left. Thus, 255.101.12.0 is an invalid netmask.

Sub-goal

  1. Suppose there are some players in Blackjack. For example, let's say we are having three players in a play room. We consider the current point of a play a component in a vector, v.
    Thus, dim(v) == 3. Between the DB, which is either DynamoDB/MySQL, and a player side (written in C# based on Unity), we just need to update the component accordingly every time. For example given (1/* ,2,3)
    when Aces are every point as the player desires; then, it could be changed to (1/* ,4,3). Using vectors like that is better cuz the app is more scalable when we are applying AI structure to it. Most likely data tuning from
    Scikit-learn and neural networks in TensorFlow. Depends on the dimensions, we might need to use Word2Vec during the process of embedding.

Intro

aws_linux_walkk

Github repo set-up tutorial

If you would like to quickly learn how to set up a Github repository, this is the tutorial I made for my sophomores
in my CSC322 group project as their team lead during my last term at UVic:
https://youtu.be/KYdwu_zLXec?si=KNOLvxa3vbwfyRhZ

EC2 instance set up

(Under construction)

Docker escalates compiling

(Under construction)

Lambda ( C++ && python )

(Under construction)

Usage of searchRPM script

sudo chmod +x ./searchRPM
sudo ./searchRPM <targetted-column> <desired-substring>
For example, if I wanna search everything containing "mysql":
sudo ./searchRPM 0 mysql

If it has that, the whole name of the rpm package will be printed out, besideds the total # of searching.

VPC config (Notebook_EC2_RDS.ipynb)

It teaches you how to set up a jump box EC2, subnets, VPCs, route tables, MySQL database. Then use a JupyterNotebook to play with it:
https://youtu.be/cWzT9-Q76Es

MySQL installation on plane EC2 instances:

• For installing Openssl11 (manually):
wget https://mirror.stream.centos.org/9-stream/AppStream/x86_64/os/Packages/compat-openssl11-1.1.1k-3.el9.x86_64.rpm
sudo yum localinstall compat-openssl11-1.1.1k-3.el9.x86_64.rpm
• Redhat MySQL repo:
https://dev.mysql.com/get/mysql84-community-release-el9-1.noarch.rpm

sudo wget https://dev.mysql.com/get/mysql84-community-release-el9-1.noarch.rpm
sudo rpm -Uvh mysql84-community-release-el9-1.noarch.rpm
• Flags explanations:
-U is for upgrade.
-v is for verbose.
-h is for displaying #.
sudo yum install mysql-community-server

Outcomes

• JupyterNotebook fetch-ups:

notebook-fetchup!
Link:
https://s3-walkk.s3.us-east-1.amazonaws.com/notebook_out.PNG

• MySQL fetch-ups:

linux_out!
Link:
https://s3-walkk.s3.us-east-1.amazonaws.com/linux_out.PNG

Note: Images powered by AWS S3 Bucket.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published