Category: Linux

  • EBS and EC2

    I’m exploring with EBS volumes – that is, Elastic Block Storage – and there are some interesting characteristics that I’ve discovered. They are viewed at a type of “network usb stick” in that the EBS volume can be “unplugged’ from one instance and plugged in to another one; they are versatile in that way. That…

  • Linux – misc

    Some goodies as I learn Linux:

  • Containers w/ Alembic, Postgres DB, VSC + RAW vs ORM SQL Queries

    This posting is where I’m going to post the steps that I took to do the following: 1) set up Visual Studio Code to work with Containers 2) download docker images 3) connect to various containers which all are geared up to build a python-flask-PG DB application 4) work with alembic and flask to work…

  • Connecting EC2 with MySQL and Making Stuff

    For this exercise, I spun up an EC2 instance, then spun up a MySQL database instance, and connected the two. I followed the AWS tutorial ‘Creating and connecting to a MySQL DB instance’. First, I created an EC2 instance within the default VPC. I selected the AWS Linux 2023 AMI, using Free Tier configuration parameters,…

  • First Foray into CloudFormation

    I’m interested in learning Infrastructure as Code, and since I’ve been diving deep into the AWS waters, decided to cozy up to CloudFormation. Here’s what I did to launch an AWS EC2 instance using that tool: First, I created a stack and uploaded a custom .yml file There were a few attribute options, but I…

  • VPC+Web Server + DB (pt 2)

    In my previous post, I followed a tutorial which set up a VPC, along with four subnets (two of which won’t be used), each situtated in their own Availability Zone for increased security. The DB in one, a private subnet, with a security group that is locked down -only the EC2 server, in the same…

  • VPC + DB in Private Subnet > Public-Facing Server (pt 1)

    I’ve been deep-diving networking, Linux, and studies for the CSA, so time to start pulling everything together! I decided to follow a tutorial for creating a VPC with a private subnet holding a RDB and a public-facing EC2 instance/server in a second subnet. This is a pretty common use case, so a great place to…

  • nmap script engine: nmap_vulners

    Both nmap and wireshark are two penetration testing mainstay tools that are highly recommended to learn. I’ve been exploring both of their functionality, but know that it will take some time to even begin to harness The Power that resides therein. One of the tools that nmap offers is a scripting engine, which I decided…

  • Mounted Drives and Persistence

    I ended my previous post right before I edited the fstab -why, you might ask? Well, the first time that I edited this file, I used spaces to delimit the various values, when actually a tab should have been used – except for the final two values, around dumping ability and priority, which uses a…

  • Config RAID and Logical Volumes

    I’ve written a few posts as I learned how to create a logical drive, and touched upon RAID systems too- in this post, I’ll combine the two together. There are three main steps, in part I, with creating a logical drive: 1. Create hard drives that will become LVMs 2. create volume group(s) and 3.…