Posts

Python script (2024): Learn how to manage secure storage in AWS using S3 lifecycle configurations.

Image
  Quick overview of how to set up and run a .py program within Visual Studio Code using a virtual environment. This was made in Visual Studio Code within a virtual environment. The most important commands in working with your virtual environment are: 1. Create your virtual environment > py -m venv env 2. Activate your virtual environment > env\Scripts\activate ** It's also a good idea to update pip using the following command: > py -m pip install --upgrade pip 3. Go to View > select Command Palette > Select Python Interpreter > (env:venv) 4. Ensure you are using the PowerShell terminal or you may do a split terminal if you need to run a few Linux commands (WSL) as part of the project. A split terminal is not necessary for this project. 5. Run your application > py main.py ===================================================== Screenshot of output ===================================================== Next, import the correct libraries  boto3 is the Amazon Web Se

Bash (PowerShell) script - Create an EC2 on AWS and list running EC2 instances on AWS (2024)

Image
  Note: I would appreciate your support of this blog by going to the link below to "Buy me a pizza" so that I may continue to provide educational scripts, resources and general tech stuff. 🍕 Thank you. https://www.buymeacoffee.com/infosec_coder -------------------------------------------------------------------------------------- Script (DESKTOP users only) To view script > left click > right click - open image in new tab > the cursor turns into a plus sign > left click > will offer zoomed in mode. The following code base was created using PowerShell. -------------------------------------------------------------------------------------- OUTPUT Reference the following information regarding 'client token' as this 'client token' is shown in the output when creating an EC2: Amazon VPC now supports idempotency for route table and network ACL creation 'client token' is shown when creating an EC2 on AWS: ---------------------------------------

Developer's Arsenal: How HashiCorp unites cloud securite and upholds the AWS Well-Architected Framework when implementing Policy as Code using Sentinel One.

Image
This summary highlights the compelling impact of Sentinel One on Infrastructure as Code (IaC) by: automating policies ensuring seamless adherence to infrastructure requirements (aka AWS Well-Architected Framework) significantly slashing response times for developers throughout the code submission process This blog post references the following video on Sentinel One by HashiCorp.: Video: Introduction to Sentinel, Policy as Code Framework (hashicorp.com) Armon Dadgar's discussion on policy as code, with a focus on HashiCorp's Sentinel, offers valuable insights for cloud architects, especially in the context of adhering to industry best practices like the AWS Well-Architected Framework. Sentinel is designed to be a high-level language for non-programming experts to author the policies. Dadgar begins by emphasising the benefits of infrastructure as code, aligning the principles advocated by the AWS Well-Architected Framework. By integrating the Terraform Enterprise, Sentinel One en

C++ code base - Cloud provider services menu using if/else, switch/case. 2023.

Image
 Note: I would appreciate your support of this blog by going to the link below to "Buy me a pizza" so that I may continue to provide educational scripts, resources and general tech stuff. 🍕 Thank you. https://www.buymeacoffee.com/infosec_coder ----------------------------------------------------------------------------------------- This program was created using Visual Studio for the IDE. Screenshot I Screenshot II Screenshot III CODE BASE  NOTE:   (Desktop users): To view the sections below clearly > right click > Open image in new tab. > Should give a crosshair "+" symbol > Click on that and it will zoom in on the image. OR Left click on the image. > Will open image on page. > use CTRL + scroll up or down (on mouse) to zoom in. I. II. III. IV.  V.   VI. VII. VIII. IX. X.  

PYTHON script 2023: Basic system administration script

Image
Note: I would appreciate your support of this blog by going to the link below to "Buy me a pizza" so that I may continue to provide educational scripts, resources and general tech stuff. 🍕 Thank you. https://www.buymeacoffee.com/infosec_coder -------------------------------------------------------------------------------------- NOTE:  (DESKTOP users only) To view script > left click > right click - open image in new tab > the cursor turns into a plus sign > left click > will offer zoomed in mode. -------------------------------------------------------------------------------------- OUTPUT II.  III. IV.   ------------------------------------------------------------------------------------- Code base I. main.py II. banners.py NOTE:  (DESKTOP users only) To view script > left click > right click - open image in new tab > the cursor turns into a plus sign > left click > will offer zoomed in mode. main.py I main.py II main.py III main.py IV main.py V

2023: Bash script - Basic Floating Point Program

Image
 Note: I would appreciate your support of this blog by going to the link below to "Buy me a pizza" so that I may continue to provide educational scripts, resources and general tech stuff. 🍕 Thank you. https://www.buymeacoffee.com/infosec_coder -------------------------------------------------------------------------------------- Script (DESKTOP users only) To view script > left click > right click - open image in new tab > the cursor turns into a plus sign > left click > will offer zoomed in mode. -------------------------------------------------------------------------------------- OUTPUT I. Banners.sh II. main.sh Banners.sh CODEBASE main.sh main.sh - part II main.sh - part III