Skip to main content

Posts

S3 Complete Tutorials in AWS

  1. Introduction to S3 What is S3? Amazon Simple Storage Service (S3) is a cloud-based storage service. You can use it to store any type of data, like documents, images, or videos. Key Features of S3: Scalable: Handles any amount of data. Secure: Supports encryption and access controls. Durable: Stores multiple copies across regions. Accessible: Access data via HTTP/HTTPS protocols. Use Cases: Backup and Restore Storing static website files (HTML, CSS, JavaScript) Hosting media files for apps or websites 2. How to Create an S3 Bucket An S3 bucket is like a folder to store data. Let’s create one! Login to AWS Console: Open https://aws.amazon.com . Search for "S3" in the search bar and open the service. Create Bucket: Click Create Bucket . Enter a bucket name (must be unique across AWS). Select the Region where the data will be stored. Block Public Access: Choose whether the bucket is private or public. Leave Defaults: Keep other settings as they are for now. Click ...

EC2 Complete Tutorials

 Table of Contents Prerequisites Launching an EC2 Instance Connecting to an EC2 Instance Configuring Security Groups Creating and Using Key Pairs Elastic IPs EC2 Instance Types Volume Management with EBS Monitoring with CloudWatch Automating with EC2 User Data Stopping and Terminating EC2 Instances Best Practices for EC2 Usage 1. Prerequisites AWS Account : Create an AWS account at AWS Sign-Up . AWS CLI (optional) : Download and configure the AWS CLI for command-line management of EC2. Install: AWS CLI Configure: aws configure Enter AWS Access Key ID, Secret Access Key , region, and output format. 2. Launching an EC2 Instance Follow these steps to launch an instance from the AWS Console: Step 1: Login to AWS Console Visit AWS Console and log in. Step 2: Go to the EC2 Dashboard Navigate to EC2 under the "Services" section. Step 3: Launch Instance Click on Launch Instance . Step 4: Choose AMI (Amazon Machine Image) Amazon Linux 2 or Ubuntu are popular choices. AMIs come pre...

Devops-Aws Session

How to install tomcat server in AWS EC2 Instance, Step by Step Guidence:  Installing Tomcat on Ubuntu EC2 instance step by step cat history_backup.txt     1  pwd     2  sudo apt update     3  sudo apt install default-jdk -y     4  cd /tmp     5  wget https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.96/bin/apache-tomcat-9.0.96.tar.gz     6  ls     7  sudo tar xzvf apache-tomcat-9.0.96.tar.gz -C /opt/     8  ls     9  sudo mv /opt/apache-tomcat-9.0.96/ /opt/tomcat    10  sudo chown -R tomcat: /opt/tomcat      11  sudo chown -R ubuntu: /opt/tomcat    12  sudo sh -c 'chmod +x /opt/tomcat/bin/*.sh'    13  sudo systemctl start tomcat    14  /opt/tomcat/bin/startup.sh    15  curl localhost:8080    16  sudo ufw disable   (set inbound rul...

Create Five Page Static Website using HTML + CSS

In this article I am creating five web page application using  HTML & CSS

Most Important String based question for Javascript, Python & Java Developers

 String Question List: If you want to select on any top company or startup then you should solve these String based problems that is mandatory for tech round interview. Solve the question and post on comment Reverse a String Check if a String is a Palindrome Count the Number of Vowels in a String Find the First Non-Repeating Character in a String Check if Two Strings are Anagrams Check if a String Contains Only Digits Find the Longest Word in a String Count the Occurrences of a Character in a String Capitalize the First Letter of Each Word in a String Remove Duplicate Characters from a String Find All Permutations of a String Longest Palindromic Substring Implement a String Search Algorithm (Knuth-Morris-Pratt or Rabin-Karp) Group Anagrams Together Find the Longest Substring Without Repeating Characters Convert a String to an Integer (Implement parseInt() ) Check if a String is a Valid Number Minimum Window Substring Regular Expression Matching String Compression Edit Distance (Lev...

What is cloud?

 What is cloud? Cloud is a virtual machine that provide complete system to store, compute & stream application. Cloud use internet protocol to communicate front end to backend. Cloud  handled by various service provider such as AWS(Amazon web service), Microsoft Azure, Google Cloud, IBM Cloud, etc. Type of Cloud 1)  Private Cloud: we will create cloud services in private machine that will be accessed for particular user's.it is for specific users to access the cloud machine. We will create separate VPC (Virtual private cloud environment) to access cloud machine. Bank employee can communicate and transfer and share data from each other using private cloud. 2)  Public Cloud: it is most useful cloud system that provide global scope to access cloud machine from anywhere, user's can connect cloud system using mobile device, laptop and desktop via internet services. AWS, Azure these are the part of public cloud. 3)  Community Cloud: it is for associated partners...

How to create Restfull API in NODE JS with Mongodb database using models & controllers folder.

This is most important artical that how to connect node js & mongodb and create Restfull API with separate models and controllers folder and separate file for server.js In this article i have explained all these requirements into below article.            Step1st:         Install Mongoose  and node js in your machine         npm insall mongoose      step2nd         Install express JS and moongoose in your machine         npm install express mongoose      Step3rd:        create two folders name it models and controllers and create one new          file server.js create product.js file under models and productControllers.js file under controllers Complete code of product.js file const mongoose = require(‘mongoose’); const productSchema = new mongoose.Schema({ name: { type: String, require...