Week 1 ‐ 17.02.2025 ‐ 23.02.2025 - Campus-Castolo/m300 GitHub Wiki

Week 1 - 17.02.2025 - 23.02.2025

Tasks and experiences gained from week 1, spanning from the 17.02 till the 23.02.2025

Week 1 ‐ 17.02.2025 ‐ 23.02.2025 - Task list

Task Description Notes Status Start Date Completion Date Hours Needed
Set up own learning environment Configure a personalized workspace for development and learning Ensure all necessary tools and software are installed 18.02.2025 18.02.2025 0.5 hrs
Add repository link to link list Include the repository URL in the designated list Keep the list organized for easy access 18.02.2025 18.02.2025 0.1 hr
Develop and document first project idea Brainstorm an initial project concept and document key aspects Consider feasibility and technical requirements 💡 18.02.2025 --- 4 hrs
Mandatory aspects for the project Refer to the competency matrix for required elements Ensure alignment with learning objectives 💡 18.02.2025 --- 4 hrs
Use-case with practical benefit Define a use case that has real-world applications Focus on practical utility and problem-solving 💡 18.02.2025 --- 4 hrs
Doing a simple practical exercise Complete a hands-on task to apply learned concepts Helps reinforce learning through practice 18.02.2025 --- 2 hrs
Repeating theory (Cloud) Review and consolidate cloud computing concepts Strengthen foundational knowledge 18.02.2025 18.02.2025 1.5 hrs
Task 3 to 6 are one task however for better readability it is split up into the three categories

Daily log - 18.02.2025

The Daily activities of Tuesday 18.02.2025

Daily log 18.02.2025 - Activity

Task Description Notes Status Start Date Completion Date Hours Needed
Set up own learning environment Configure a personalized workspace for development and learning Ensure all necessary tools and software are installed 18.02.2025 18.02.2025 0.5 hrs
Add repository link to link list Include the repository URL in the designated list Keep the list organized for easy access 18.02.2025 18.02.2025 0.1 hr
Repeating theory (Cloud) Review and consolidate cloud computing concepts Strengthen foundational knowledge 18.02.2025 18.02.2025 1.5 hrs
Develop and document first project idea Brainstorm an initial project concept and document key aspects Consider feasibility and technical requirements 💡 18.02.2025 --- 4 hrs
Mandatory aspects for the project Refer to the competency matrix for required elements Ensure alignment with learning objectives 💡 18.02.2025 --- 4 hrs
Use-case with practical benefit Define a use case that has real-world applications Focus on practical utility and problem-solving 💡 18.02.2025 --- 4 hrs

Daily log 18.02.2025 - summary

I am not going to sugarcoat it or lie today, I have learnt nothing new or something of substance, I just went over the the basics again. I have setup my Github repository by using a script that uses a github token to automatically setup a repository with the name of my choosing under the appropriate user or organization. I have meticilously revised my repository which is based of a template repository and linked it in the link list provided by the teacher. I have begun drafting an initial idea what I want to do for the project but I'm still unsure what I'll choose eventually, also taking the appropriate steps to ensure that milestones of the project are in accordance with the competency matrix.

Daily log 18.02.2025 - Daily Results

The script I used for creating the GitHub Repository based of the Template Repository, click on details for more. The Outcome is this Repository inkl. Wiki, mind you that this is only the actual part of the script that does the main function. But to see my repetition material I used here is the link to it 📃Repetition Document #1 and 📃Repetition Document #2 these are things from previous modules I deem necessary to refresh

#!/bin/bash

# Function to create a GitHub repository
create_github_repo() {
    local token="$1"
    local repo_name="$2"
    local create_in="$3"

    # Determine URL user or organization
    if [[ "$create_in" == "user" ]]; then
        url="https://api.github.com/user/repos"
    elif [[ "$create_in" == "organization" ]]; then
        echo "Enter organization name:"
        read org_name
        url="https://api.github.com/orgs/$org_name/repos"
    else
        echo "Invalid option. Please choose 'user' or 'organization'."
        exit 1
    fi

    # Create repo using GitHub API
    response=$(curl -s -H "Authorization: token $token" -d "{\"name\":\"$repo_name\"}" "$url")

    # Check response for errors
    if [[ $(echo "$response" | jq -r '.message') != "null" ]]; then
        echo "Error creating repository: $(echo "$response" | jq -r '.message')"
        exit 1
    else
        echo "Repository '$repo_name' created successfully."
    fi
}

# Main script starts here
echo "Enter GitHub token:"
read github_token

echo "Enter repository name:"
read repo_name

echo "Where do you want to create the repository? (user/organization):"
read create_in

# Call function to create repository
create_github_repo "$github_token" "$repo_name" "$create_in"

Daily Log 18.02.2025 - Problems

No problems have occured on my end

Daily log 18.02.2025 - Used ressources

Daily log 18.02.2025 - Exercises

None, due to lack of new things to learn. Will start 1st pratical Exercise tomorrow Also theory is just repetition that will also not be documented


Daily log - 19.02.2025

Daily log 19.02.2025 - Activity

Task Description Notes Status Start Date Completion Date Hours Needed
Develop and document first project idea Brainstorm an initial project concept and document key aspects Consider feasibility and technical requirements 18.02.2025 --- 4 hrs
Mandatory aspects for the project Refer to the competency matrix for required elements Ensure alignment with learning objectives 18.02.2025 --- 4 hrs
Use-case with practical benefit Define a use case that has real-world applications Focus on practical utility and problem-solving 18.02.2025 --- 4 hrs
Repeating theory (Cloud) Review and consolidate cloud computing concepts Strengthen foundational knowledge 🔁 18.02.2025 18.02.2025 3 hrs
Doing a simple practical exercise Complete a hands-on task to apply learned concepts Helps reinforce learning through practice 18.02.2025 --- 2 hrs

Daily log 19.02.2025 - Summary

Started with initial draft of Project Idea made sure that the Project aligns and considers the competency matrix, with focus point on having all on Advanced. Short Summary Project Idea: Pushing docker build to Amazon ECR (Elastic Container Registery) defining ECS task and then deploying this in public subnet in two availability with ECC (Elastic Container Cluster) spanning over the two, in private subnet exists Amazon RDS (Amazon Relational Database System) making replication into other availability zone. Excluded is a S3 Block Storage using SnapShot to backup Database and Amazon CloudWatch to monitor, log and alert; See down below in results for graphic.

Daily log 19.02.2025 - Daily Results

Here are the results of my work form the 19.02.2025:

image

Daily log 19.02.2025 - Problems

no problems occured, except having problems with AWS in itself. However this is not my concern since I cannot do much about it AWS Student Lab has much restricted following services that I need arent accessable by Student Account:

  • Code Pipeline has no functionality
  • AWS Cloud9 has no functionality
  • IAM has no functionality I'm sure there are more services that arent available to us students however I dont want to go investigate, I'll figure it out as I go along. Also there is always a workaround so I'll manage, the problem is, and take this as critique, the problem is that this significantly decreases freedom and creative expression also making it a bit more complicated integrating different platforms such as GitHub because the only service of AWS that connects GitHub isn't accesible to us

Daily log 19.02.2025 - Used Resources

Daily log 19.02.2025 - Exercises

No exercises done today


Daily log 20.02.2025

Daily Log 20.02.2025 - Activity

Task Description Notes Status Start Date Completion Date Hours Needed
Doing a simple practical exercise Complete a hands-on task to apply learned concepts Helps reinforce learning through practice 18.02.2025 --- 2 hrs

Daily Log 20.02.2025 - Summary

Did a practical exercise; For the first time I used a Cloud-Init file to setup a EC2 instance instead of configuring it manually. The Cloud Init File will do the following: Make sure the EC2 Instance has the apache2 package installed automatically and modify the default webpage to another webpage, after successful setup I have delted the EC2 instance again, since I dont want to generate unecessary costs.

Daily Log 20.02.2025 - Daily Results

#cloud-config
package_update: true
package_upgrade: true
packages:
  - apache2

runcmd:
  - systemctl start apache2
  - systemctl enable apache2
  - echo "<html><head><title>Custom Web Page</title></head><body><h1>Welcome to My EC2 Web Server</h1><p>This is a custom web page running on an AWS EC2 instance.</p></body></html>" > /var/www/html/index.html
  - systemctl restart apache2

Daily Log 20.02.2025 - Problems

no problems occured, only a small syntax error where in I made one intendation more

Daily Log 20.02.2025 - Used Resources

Daily Log 20.02.2025 - Exercises

As in explained in summary


Weekly Summary - 17.02-23.02.2025

Weekly Summary - 17.02-23.02.2025 - Activity

Task Description Notes Status Start Date Completion Date Hours Needed
Set up own learning environment Configure a personalized workspace for development and learning Ensure all necessary tools and software are installed 18.02.2025 18.02.2025 0.5 hrs
Add repository link to link list Include the repository URL in the designated list Keep the list organized for easy access 18.02.2025 18.02.2025 0.1 hr
Develop and document first project idea Brainstorm an initial project concept and document key aspects Consider feasibility and technical requirements 18.02.2025 19.02.2025 4 hrs
Mandatory aspects for the project Refer to the competency matrix for required elements Ensure alignment with learning objectives 18.02.2025 19.02.2025 4 hrs
Use-case with practical benefit Define a use case that has real-world applications Focus on practical utility and problem-solving 18.02.2025 19.02.2025 4 hrs
Doing a simple practical exercise Complete a hands-on task to apply learned concepts Helps reinforce learning through practice 18.02.2025 20.02.2025 2 hrs
Repeating theory (Cloud) Review and consolidate cloud computing concepts Strengthen foundational knowledge 18.02.2025 19.02.2025 3 hrs

Weekly Summary - 17.02-23.02.2025 - Summary

In my Opinion it was quite a productive week, with repeating Cloud Basics and already having the Idea and the approach on how to tackle my project I would say my Project will be ready for deployment in two weeks if I keep working consistent like I've done now. Having a Hands-on Task was quite fun because it allowed me to reexperience and redo the first cloud module we had at TBZ and was a part of the cloud basic repetition.

Weekly Summary - 17.02-23.02.2025 - Weekly Results

Task Description Notes Status Start Date Completion Date Hours Needed
Set up own learning environment Configure a personalized workspace for development and learning Ensure all necessary tools and software are installed 18.02.2025 18.02.2025 0.5 hrs
Add repository link to link list Include the repository URL in the designated list Keep the list organized for easy access 18.02.2025 18.02.2025 0.1 hr
Develop and document first project idea Brainstorm an initial project concept and document key aspects Consider feasibility and technical requirements 18.02.2025 19.02.2025 4 hrs
Mandatory aspects for the project Refer to the competency matrix for required elements Ensure alignment with learning objectives 18.02.2025 19.02.2025 4 hrs
Use-case with practical benefit Define a use case that has real-world applications Focus on practical utility and problem-solving 18.02.2025 19.02.2025 4 hrs
Doing a simple practical exercise Complete a hands-on task to apply learned concepts Helps reinforce learning through practice 18.02.2025 20.02.2025 2 hrs
Repeating theory (Cloud) Review and consolidate cloud computing concepts Strengthen foundational knowledge 18.02.2025 19.02.2025 3 hrs

Weekly Summary - 17.02-23.02.2025 - Problems

Only encountered small inconveniences, insufficient access rights for user making having access to core services for my project impossible, sadly this is a reality I have to work around.

Weekly Summary - 17.02-23.02.2025 - Open Questions

  • What is the actual goal of the project, since many of the platform connecting services that Amazon AWS provides are prohibited for us, owners of a student account. Thus begging the question what is the actual goal, using multiple services on just AWS or actually incorporating different platforms (3rd Party)
  • Is it possible to work from remote since lets face it the task given is fully achievable on your own without help from the teacher and help from the teacher is only needed if really something goes wrong, else one can rely on friend and classmates to solve problems.
  • How should I incorportate the cross platform services if the services on AWS that allow 3rd party platforms to interact with Amazon AWS are prohibited to us.

last edited on 24.02.2025 - fixed spelling mistake
⚠️ **GitHub.com Fallback** ⚠️