Posts

Showing posts with the label deployment

Free AWS RDS Hosting Plans for Databases (mysql, postgres) in 2024

Image
AWS RDS (Relational Database Service) is a fully managed database service provided by Amazon Web Services. It supports several popular database engines such as MySQL, PostgreSQL, Oracle, and SQL Server. With RDS, users can easily set up, operate, and scale relational databases in the cloud without worrying about infrastructure management tasks.  The pricing calculation for your instance can be created by visiting:  For Postgres: https://calculator.aws/#/createCalculator/RDSPostgreSQL For mysql: https://calculator.aws/#/createCalculator/RDSMySQL I have calculated the minimal database hosting requirement while keeping in mind the minimum server configuration and the minimum 150 hours of usage per month. Amazon RDS for postgres 12month free - 750hrs/m, 20GB of storage, backup and snapshot. Amazon RDS for mysql 12month free - 750hrs/m, 20GB of storage, backup and snapshot.

Host Your Node.js App on AWS EC2 Instance for Free in 2024

Image
Contents Introduction Prerequisites Launch an EC2 Instance Prepare the EC2 Instance Connect to the EC2 Instance Install Dependencies and Start Your App in instance terminal Access Your App Run your server in auto mode using pm2 Conclusion 1. Introduction Are you a developer looking to host your Node.js app on a reliable and scalable platform? Amazon Web Services (AWS) offers a variety of services to meet your hosting needs, including EC2 instances. In this tutorial, we will guide you through the process of hosting your Node.js app on an AWS EC2 instance for free using the AWS Free Tier. 2. Prerequisites Before we begin, make sure you have the following prerequisites in place: An AWS account. If you don't have one, sign up for free at https://aws.amazon.com/. Basic knowledge of Node.js.  3. Launch an EC2 Instance 1.      Log in to the AWS Management Console. 2.      Navigate to the EC2 service. 3.      Click on "Launch Instance" to start ...

GitCommandsPro Your Guide to Essential Git Commands in 2024

Image
Table of Content 1 Check git version 2 Configuration Settings 3 Initializing a repository 4 Staging files 5 Viewing the status 6 Committing the staged files 7 Skipping the staging area 8. Removing files 9 Renaming or moving files 10 Viewing the staged/unstaged changes 11 Viewing the history 12 Viewing a commit 13 Unstaging files (undoing git add) 14 Discarding local changes 15 Restoring an earlier version of a file      1.     Check git version git --version 2.     Configuration Settings Levels of defining this settings are System level -  apply to All Users of computer. Global – all repositories of the current user. Local – the current repository. Or a repository in the current folder.           Name  git config --global user.name "YOUR_NAME"          Email git config --global user.email YOUR_MAIL@gmail.com          Default Editor (for settin...