Step-By-Step Guide: Allocate Elastic IP Address and Associating with an EC2 instance

Step-By-Step Guide: Allocate Elastic IP Address and Associating with an EC2 instance
Table of ContentsIntroductionBenefitsStatic Public IPReliabilityIP WhitelistingElastic Load BalancingReverse DNSAWS Resource ManagementCost-EffectiveHigh-level ArchitectureStepsStep 1. Launch EC2Step 2. Login to EC2 instance using PuttyStep 3. Install and Start Apache HTTP ServerStep 4. Create a test.html and access it via browserStep 5. Stop and Start the instance.Step 6. Allocate Elastic IP address and Attach it to the instanceConclusion ...

Streamlining Real Estate Research: A Telegram Bot with Zillow and Google Maps Integration

Streamlining Real Estate Research:  A Telegram Bot with Zillow and Google Maps Integration
Table of ContentsStreamlining Real Estate ResearchThe Power of Zillow:Integrating Google Maps API:Using a Telegram Bot:Benefits and Features:Time-savingComprehensive property detailsProximity analysisConvenient accessStepsrequirements.txtconfig.yamlzillow_client.pygoogle_client.pyformatter.pytelegram_client.pyResultConclusion Streamlining Real Estate Research In today’s fast-paced world, where time is of the essence, finding the perfect home can be daunting. It often involves browsing multiple platforms, gathering data, and cross-referencing information. However, thanks ...

How to deploy Step functions composed of 3 Lambdas using AWS CDK (Typescript)

Table of ContentsInstall and configure packagesSetup LambdasDeploy and TestReferences Install and configure packages 1. Install and Configure the AWS CLI by following the steps mentioned in the below link https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-quickstart.html#cli-configure-quickstart-config 2. Install NodeJS by the following the instructions in the following link https://nodejs.org/en/ 3. Install the AWS CDK by running the following command npm install ...

Enforce TLSv1.2 on Nginx and CloudFlare

Enforce TLSv1.2 on Nginx and CloudFlare
Table of ContentsBefore ConfigurationConfigure TLSv1.2 on your NginxEdit the Nginx config filesEdit nginx.conf fileEdit server block configuration fileUpdate Cloudflare SSL/ TLS configuration for minimum TLS versionWhy the hassle?After Configuration Does SSL-Labs test for HTTPS assessing your site as ‘B’ grade? Is it complaining that your server still supports TLSv1.0 (Transport Layer Security protocol) and TLSv1.1? ...

JSON Validator and Formatter

An online JSoN validator and Formatter for all your JSoN text checks and prettyfying needs. Paste your JSoN text in the box below and then hit Validate/ Format button. JSON Validator Validate/ Format

How to format a disk partition with ext4 file system

Note: Formatting a partition will erase all the data on it, so make sure to back up any important files before formatting the partition. Also, make sure to use the correct partition name and mount point. Otherwise, you may lose data or cause other issues. Formatting a disk partition with the ext4 file system on ...

How to create a persistent ssh tunnel using autossh

Table of ContentsCreating the SSH TunnelMaking the Tunnel Persistent Creating a persistent SSH tunnel involves two steps: first, creating the tunnel itself, and second, ensuring that the tunnel is automatically re-established if the connection is lost. Creating the SSH Tunnel The basic command for creating an SSH tunnel is: ssh -L [local port]:[destination host]:[destination port] ...

How To install Portainer on Raspberry Pi (Debian-based OS)

Content in this post is a follow-up of How To install Docker on Raspberry Pi (Debian-based OS) Table of ContentsGet PortainerStart PortainerAccess and Setup Portainer Get Portainer Step 1: Open a terminal window on your Raspberry Pi Step 2: Pull the Portainer image from Docker Hub sudo docker pull portainer/portainer-ce:linux-arm64 1 sudo docker pull portainer/portainer-ce:linux-arm64 ...

How To install Docker on Raspberry Pi (Debian-based OS) 1

Table of ContentsStep 1: Update the Raspberry Pi Step 2: Install Docker Step 3: Add the Pi user to the Docker group Step 4: Start the Docker service Step 5: Test the installation Step 6: Enable the Docker service (optional) Step 7: Install docker-compose Step 1: Update the Raspberry Pi Before installing Docker, you will ...

Java Streams : Convert List of Strings to Single Comma separated String

In this short post, we’d explain how to convert/ reduce a List of Strings into a single comma (,) separated String using Java-8 Streams API. here’s the code: import java.util.Arrays; import java.util.List; public class ListToString { public static String getCommaSeparatedString(List<string> input) { return input.stream() .reduce( // identity function for String concatenation "", (s1, s2) -> ...