Skip to content

Instantly share code, notes, and snippets.

View lioneltchami's full-sized avatar
🏠
Working from home

Lionel Tchami lioneltchami

🏠
Working from home
View GitHub Profile

Space Station Monitoring System on AWS

Project Overview

This will involve building a containerized application that simulates monitoring and managing a space station. The system consists of several microservices, each running in a Docker container, deployed on an AWS EC2 instance. The focus is on DevOps practices, emphasizing Docker, Linux, AWS, and automation through Bash scripting.

Components

  1. Station Status Dashboard
  • A simple React frontend that displays space station status

Step 1: Version MySQL Server

Ensure you install the same version of MySQL server that was previously on your system. This is crucial for compatibility.

Step 2: Locate the Data Folder

MySQL data folder is usually located at:

C:\ProgramData\MySQL\MySQL Server x.x\data

Hey DevCloud Ninjas! 👋 Time for a fun Bash scripting challenge that'll help you level up your cloud skills! 🚀

Your mission, should you choose to accept it, is to create a Bash script called vm_info.sh that gives us some basic info about our virtual machine. Here's what I want you to do:

  1. Create a script that does the following:
    • Prints a welcome message
    • Checks and displays the number of CPU cores
    • Shows the total amount of RAM
    • Displays the available disk space
    • Lists the top 3 processes using the most CPU

To deploy the IXIA-C Controller and Traffic Engines using a RedHat/Fedora Desktop and three virtual machines (VMs), follow these steps. This setup can be adapted for bare-metal machines and network devices.

Prerequisites

  • Hardware Requirements: A computer with at least 8 GB of RAM (16 GB preferred) and at least 6 GB free RAM.
  • Software Requirements:
    • Virtualization software such as KVM.
    • Docker installed on the host machine.
    • Python 3.8+ or Go 1.19+ if using the snappi or gosnappi SDKs.

Here are simple, easy-to-understand answers

What is DevOps?

DevOps is a set of practices that combines software development (Dev) and IT operations (Ops). It aims to shorten the development lifecycle and provide continuous delivery of high-quality software. DevOps promotes better communication and collaboration between development and operations teams.

Phases of DevOps

  1. Plan: Define project goals and requirements
  2. Code: Write and review software code

Github-Handson-Lab

Lab for coursera projects

Lab: GitHub Sign Up and Create Repo Estimated time: 30 minutes In this lab, you will get started with GitHub by creating a GitHub account and creating a new repository. You will then add a file to the repository using the GitHub web interface. Objectives After completing this lab, you will be able to:

  1. Describe GitHub
  2. Create a GitHub account

Node.js App with MongoDB and Mongo Express on Azure Kubernetes Service

image

This guide will walk you through deploying a Node.js application with MongoDB and Mongo Express on Azure Kubernetes Service (AKS). We'll break down the process into clear, manageable steps.

Prerequisites

Before you begin, ensure you have:

Here's a step-by-step guide I would suggest to help you approach the deployment process:

Prerequisites

Before deploying, ensure the following:

  1. A production server with sufficient resources
  2. PHP installed (compatible with Laravel 11)
  3. Composer installed
  4. Node.js and npm installed
#!/usr/bin/env bash
set -euo pipefail
# Default values
EKS_CLUSTER="${EKS_CLUSTER:-test-cluster}"
EKS_VERSION="${EKS_VERSION:-1.27}"
AWS_REGION="${AWS_REGION:-us-west-2}"
NODE_TYPE="${NODE_TYPE:-t3.medium}"
NODE_COUNT="${NODE_COUNT:-3}"

1. AWS CLI Installation script

curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install

2. Check our AWS CLI version