Search

Filter all 104 posts and pages on CloudBytes/dev. Type a query, press Enter, and the URL updates so you can share results.

Showing all 104 entries — type to filter.

Snippets (49)

How to install multiple instances of Ubuntu in WSL2

A guide to installing multiple fresh instances of Ubuntu in WSL2

Upgrade Python to latest version (3.14) on Ubuntu Linux or WSL2

A complete guide on how to upgrade Python to the latest version (Python 3.14) on Ubuntu Linux and solve associated issues. Also works on WSL2. Can also be used to upgrade to any Python version.

Compile Expo React Native application for Android

A guide to compiling a React Native application built using Expo framework for Android

Add new users with SSH access to EC2 instance

How to new additional user with keypair for SSH access to EC2 instance

Run Selenium and Chrome on WSL2 using Python and Selenium webdriver

A guide to installating, configuring and running Selenium and Chrome for Testing on Windows Subsystem for Linux (WSL2) and run tests using Python and Selenium webdriver.

Fix or configure Git authentication in WSL2

Configure Git authentication in WSL2 and avoid entering credentials every time

Run Jupyter Notebooks with Python Virtual Environments

Create an isolated Python virtual environment and use it with Jupyter Notebooks

Mount AWS Credentials on VSCode Devcontainers

A guide to install, configure and run selenium in Jupyter Notebook on WSL2 or Ubuntu

Run selenium in Jupyter Notebook on WSL2 or Ubuntu

A guide to install, configure and run selenium in Jupyter Notebook on WSL2 or Ubuntu

Running Jupyter Notebook from Terminal

How to install, and run Jupyter Notebook from Terminal

Make Ubuntu Fullscreen on Windows Hyper-V

How to run Ubuntu with full resolution in fullscreen mode on Windows Hyper-V

Install Ubuntu in a VM on Windows using Hyper-V

Step by step guide to install Ubuntu 20.04 in a VM on Windows using Hyper-V

Enable Hyper-V on Windows 10/11 Home

Step by step guide to enable Hyper-V on Windows 10 Home or Windows 11 Home

Run Chrome extensions with Python Selenium on AWS Lambda

A detailed guide to use Selenium and Chrome with extensions on AWS Lambda

How to install Node.js and NPM on WSL2

A short guide to installing Node.js and NPM on WSL2

Which Python Implementation you should use (Cpython, PyPy, etc.)?

A short introduction to the different Python implementations.

How to install WSL2 on Windows 10/11

A guide to install WSL2 on Windows 10/11

WSL2: Find and Delete Zone.Identifier files

Code snippet to find and delete Zone.Identifier files that gets auto-generated while copying files to WSL2

Configure logging in AWS Lambda to CloudWatch using Python

How to log events to CloudWatch during AWS Lambda execution using Python

Launching Pelican Algolia plugin for Pelican

Launching Pelican Algolia plugin, an open source software published on PyPi, that can help integrate Algolia Search in your Pelican blog.

Limit article tags to allowed list in Pelican SSG

How to limit article tags to only an allowed list in Pelican SSG and not end up with too many tags.

Find and test invalid links and 404 errors using Python & Pytest

A short guide to scrape your own website, find invalid links, and highlight links that result in 404 errors

Build CI/CD pipelines using artifacts with GitHub Actions

Create a CI/CD pipeline using GitHub Actions to build, test, and deploy you website

Create a Pelican plugin to minify HTML, CSS, and JS

Write a Pelican plugin to minify HTML, CSS, and JS files without breaking your website

Firebase Hosting Redirects using Wildcard

Configure redirects on Firebase Hosting using wildcards for groups of URLs

Develop remotely on Raspberry Pi using VSCode Remote SSH

How to connect and develop remotely on Raspberry PI by SSHing in using VSCode

Received & return a file from in-memory buffer using FastAPI

How to receive a file to the in-memory buffer and then return the file from buffer using FastAPI without saving it to disk.

Set the default command in Python Typer CLI

A short guide to setting a default command using callback when making multiple commands in Python Typer

Disable the default completion options in Python Typer CLI

A short guide to disable the default options such as install-completion and show-completion in Python Typer CLI, a popular CLI building tool

Get username, hostname and home directory using Python

A quick guide to fetching the username, hostname and home directory using Python on both Windows & Linux

AWS CDK: Building a EventBridge scheduled Lambda that reads and writes to s3

A guide to building a serverless app using EventBridge, Lambda & s3 while introducing how to create, configure, test and deploy a CDK project using Python

Run Selenium in AWS Lambda for UI testing

A guide about how to run selenium using headless chrome & chromium webdriver to automate UI testing

Run AWS Lambda using custom docker container

Learn how to use a custom docker container to run Lambda functions on AWS.

Build & Deploy serverless apps on AWS with SAM CLI

Detailed step by step guide on how to use SAM CLI to build serverless apps.

What is Anaconda for Python?

A short introduction to Anaconda for Python, how to configure and use Anaconda.

Python For Loops, using range vs enumerate

How to use python for loops, using range vs enumerate

How to Install, Check Python Version and Update it

A simple guide on how to Install Python, how to check Python version installed and upgrade Python to the latest version

Convert a Pelican Website to PWA using Workbox

A guide to converting a satic website generated by Pelican into a Progressive Web App using Google's Workbox library

How to use Git and GitHub to contributed to Open Source Projects

A guide to Git and GitHub basics, and using them correctly to contribute to open source projects on GitHub

Add a Table of Contents using Markdown in Pelican

A guide to customising Markdown to add table of contents in Python Pelican

Clean URLs in Pelican Sitemap using Python

Learn to use Python to remove '.html' extensions and clean URLs in sitemaps generated by Pelican

Auto Deploy Pelican Websites to Firebase Hosting

A step by step guide to installing and configuring Pelican and hosting the final blog on Firebase Hosting

Beginner's guide to installing Pelican in a Container

Step by step guide on how to install and configure Pelican in a Docker Container for development for developement os static websites following Jamstack architecture

Configure Firebase hosting emulator

Use Firebase hosting emulator to locally test your static website generated by Hugo, Gatsby, Pelican and other SSGs

Automate deployment of Pelican Website to GitHub Pages

A guide to configuring automated Continuous Deployment (CD) of static site generated by Pelican SSG from GitHub repository to GitHub pages using GitHub Actions

What is Jamstack and why should you be using it?

An introduction to Jamstack concepts and why should you be using it instead of wordpress.

Use VSCode Devcontainers instead of Python venv

VSCode Devcontainers are game changers that makes Python dependency management much easier.

Configure & Fix Pelican Sitemap Error on Google Search Console

A quick guide to correctly configurating sitemaps in Pelican & fixing URL errors thrown up by Google Search Console

Create a Python virtual environment using venv

A quick guide to why you need a virtual environment, how to create, activate and manage

AWS Academy (45)

Running a Web Server in a Private Subnet secured

Guide to running a Web Server in a Private Subnet with AWS CDK in Python.

Creating a 3-Tier Network Architecture VPC with AWS CDK in Python

Guide to creating a 3-Tier Network Architecture VPC with a public, private, and isolated subnet using AWS CDK in Python.

Running Lambda Functions in a VPC with AWS CDK in Python

Running Lambda Functions in a VPC with AWS CDK in Python

Using multiple environments AWS CLI and profiles with CDK

How to use multiple environments, AWS Accounts and profiles with AWS CDK

Configure log retention and removal policy for Lambda function using AWS CDK in Python

Learn how to configure CloudWatch logs retention and removal/deletion policy for a Lambda function using AWS CDK in Python

Granting Lambda function permission to access DynamoDB using AWS CDK in Python

Learn how to grant Lambda permissions to access DynamoDB using AWS CDK in Python

Granting S3 permissions to a Lambda function using AWS CDK in Python

Learn how to grant S3 permissions to a Lambda function and accessing files from an S3 bucket using AWS CDK in Python

How to create a Lambda function in a Custom Docker image using AWS CDK in Python

This article provides a walkthrough on how to deploy an AWS Lambda function using a Custom Ubuntu Docker image with AWS CDK in Python

How to create a Lambda function in a ECR Docker image using AWS CDK in Python

This article provides a walkthrough on how to deploy an AWS Lambda function using a AWS provided ECR Docker image with AWS CDK in Python

Mount Amazon FSX Lustre filesystem and attack to AWS EC2 instance

A step-by-step guide to mount Amazon FSX Lustre filesystem and attack to AWS EC2 instance

Mount Amazon EFS Drive on EC2 Ubuntu Linux using NFS Utils

A comprehensive guide to mount Amazon Elastic File Storage (EFS) on Ubuntu Linux using NFS Utils and then use it to serve files from the EFS drive. The guided includes instructions for both AWS Console & CLI

Migrate a DB to RDS using AWS Database Migration Service (DMS)

Use AWS Database Migration Service (DMS) to migrate a database to Amazon RDS by configuring a replication instance, source and target endpoints, and a migration task.

Add CORS configuration to a S3 bucket using AWS CDK

Learn how to setup and configure CORS for S3 buckets using CDK

How to create a lambda function using AWS CDK in Python

A complete guide to creating a lambda function using AWS CDK

How to import an existing lambda function using AWS CDK in Python

A guide to importing an existing lambda function using AWS CDK in Python and applying changes to it

Import an existing S3 bucket in CDK

How to import an existing S3 bucket using different methods in CDK using Python

Manage Python dependencies in AWS Lambda using AWS CDK

We look at how to package, install and manage Python dependencies in AWS Lambda using AWS CDK

Using Lambda Layers with AWS CDK in Python

Using Lambda layers with AWS CDK in Python to handle dependencies and share code between lambda functions

Configure event notifications using EventBridge for S3 buckets using CDK

Guide to configure event notifications using EventBridge for S3 buckets using CDK

Configure event notifications using S3 buckets notifications

Guide to configure bucket notifications for S3 buckets using CDK

Configure lifecycle rules for S3 buckets using CDK

How to configure S3 lifecycle rules like expiration and transition

Configure public access control for S3 buckets using CDK

How to configure S3 public access control

Configure S3 encryption using CDK

How to configure S3 encryption for objects using CDK including SSE-S3, SSE-KMS, and SSE-C

Configure S3 versioning using CDK

How to configure S3 versioning using CDK

Create S3 bucket using CDK

How to create an S3 bucket in CDK using Python

How to get the ARN of a resource using AWS CDK

A guide on how to get the ARN of a resource using AWS CDK

Get your AWS Account ID using AWS CLI

A guide to how to get your AWS Account ID using AWS CLI

How to install and configure AWS CLI on Linux with Autocompletion

A guide to how to install and configure AWS CLI on Ubuntu Linux with Autocompletion turned on

Managing dependency between stacks in CDK

How to specify dependency between stacks in CDK

CDK Output: How to Output data from a stack

Explanation of concept of Outputs, how to use them to share data to other stacks

How to Import Stack Output from another stack

A guide to importing Stack Outputs and using them as Cross Stack references

Basic AWS CDK Commands - list, diff, deploy, destroy

An introduction to some of the basic AWS CDK commands such as list, diff, deploy, and destroy

Creating multiple stacks in AWS CDK

Guide to the process of creating and managing multiple stacks in a single AWS CDK application

CDK Bootstrap: Setting up your AWS account for CDK

This article explains what is CDK Bootstrap and how to setup your AWS account for use with CDK

Creating a new CDK app with Python

How to create a new CDK app that uses Python as the programming language

Setup your dev environment for use with AWS

Instructions on how to setup the optimial development environment for use with AWS and this course

Understanding Constructs in the AWS CDK

Dive deep into the fundamental building blocks of the AWS Cloud Development Kit: Constructs

Update an existing CDK app

How to update an existing CDK app

Install and configure AWS Cloud Development Kit (AWS CDK)

A guide to how to install and configure AWS CDK on Windows 10/11, MacOS, and WSL2/Linux.

CDK API Gateway with Custom Domain

Create API Gateway and connect it with a custom domain / subdomain using Route53

Cross Account Access to AWS Services using IAM Roles

Access another AWS account temporarily using an IAM role and STS

How to Install and Run WordPress on an EC2 Instance

A detailed guide on how to configure, install, and run WordPress on an EC2 instance. This guide will cover installation of NGINX, PHP, MySQL, and WordPress (LEMP stack) on Amazon Linux 2

How to create an AWS EC2 instance using AWS CLI

A guide to create an EC2 instance using AWS CLI and login to the server

How to create an AWS EC2 instance using AWS Console

A guide to create an EC2 instance using AWS Management console and login to the server

Run Flask Apps on Elastic Beanstalk

Create a simple Flask app and run on AWS Elastic Beanstalk

Books (1)

Pages (3)

Hubs (6)