Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • GfG 160: Daily DSA
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • DevOps Lifecycle
  • DevOps Roadmap
  • Docker Tutorial
  • Kubernetes Tutorials
  • Amazon Web Services [AWS] Tutorial
  • AZURE Tutorials
  • GCP Tutorials
  • Docker Cheat sheet
  • Kubernetes cheat sheet
  • AWS interview questions
  • Docker Interview Questions
  • Ansible Interview Questions
  • Jenkins Interview Questions
Open In App
Next Article:
Introduction to Amazon Web Services
Next article icon

Amazon Web Services (AWS) Tutorial

Last Updated : 27 May, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

Amazon Web Service (AWS) is the world’s leading cloud computing platform by Amazon. It offers on-demand computing services, such as virtual servers and storage, that can be used to build and run applications and websites. AWS is known for its security, reliability, and flexibility, which makes it a popular choice for organizations that need to store and process sensitive data.

Why learn AWS:

  • Widely used by top companies and startups globally
  • Powers major services like Netflix, LinkedIn, NASA
  • Offers hands-on cloud experience with real infrastructure
  • Scalable, secure, and cost-effective platform to build apps.


This AWS tutorial is designed for beginners and professionals to learn AWS's basic and advanced concepts. It covers everything from basic cloud computing principles to advanced AWS services, security, automation, and real-world use cases.

Prerequisites Before Learning AWS

Before getting into AWS Tutorial, it's recommended to have good understanding of operating systems, computer networking, basic coding commands in Linux terminal, and some prior knowledge of cloud computing:

  • Linux command in DevOps
  • What Is Cloud Computing 
  • Computer Networking
  • Git Tutorial

Getting Started with AWS

In 2006, Amazon Web Services (AWS) introduced IT services in the market through web services, which is now known as cloud computing. AWS removed the need for businesses to plan and manage servers or other IT infrastructure which saves time and resources. To Learn more about AWS history, fundamentals and how it works, you can refer to Introduction to AWS.

Before going ahead with AWS tutorial, you first need to create an AWS account. Here are the two main ways to create an AWS account:

  • Setup Free Tier Account
  • Setup AWS Business Account

Accessing AWS

Once your account is ready, you need to interact with AWS services to build and manage your applications. Below are primary ways to do this:

  • AWS Management Console
  • AWS Command Line Interface (CLI)

Securing Your Account with IAM

Firstly you need to secure your AWS Account using IAM services. IAM is a service that helps you securely control access to AWS resources. It allows you to manage users, roles, permissions to define who can access what within your AWS environment.

In this section, you will learn how to use IAM to manage access securely, create roles, assign policies, and protect your AWS resources from unauthorized use.

  • AWS IAM
  • AWS SAML
  • Creating IAM roles for EC2
  • Denying Access using IAM policy for EC2 and EBS Instance
  • MFA for more security

Computing in AWS

After securing your AWS environment with IAM, the next step is to understand how to run your applications on the cloud. Computing in AWS means running your programs, websites, or scripts on AWS’s cloud servers instead of your local machines.

This section introduces AWS computing services and guides you on how to use them to deploy and manage your applications efficiently.

Section 1: AWS EC2 - Virtual Servers

The first service in AWS computing is EC2. It provides virtual servers where you can run your applications. EC2 lets you select the server size, CPU, memory, and storage according to your needs.

Learn what EC2 is, how to create and manage instances, understand pricing models, and how to securely connect to your servers using the below references.

  • What is EC2?
  • How to create and manage an EC2 Instance
  • Types of EC2
  • Price Model for EC2
  • Introduction to EC2 Spot Instances
  • How to connect to EC2 instances (Linux/Windows)

Section 2: AWS Elastic Bean Stalk - Simplified App Deployment

Managing servers can be complex, so AWS offers Elastic Beanstalk, a service that makes deploying and managing applications easier by handling infrastructure tasks automatically. You will learn how to deploy apps with Elastic Beanstalk, manage storage, replace unhealthy servers, and secure your deployments..

  • What is EBS (elastic Bean Stalk)
  • How to Attach EBS Volume in EC2
  • Replacing Unhealthy EC2 Instances in EBS
  • Launching an Application on AWS Beanstalk
  • Add Security Group in EBS

Section 3- AWS AMI

To speed up server creation, AWS uses Amazon Machine Images (AMI), which are templates containing server setup, including OS and software. Learning about AMIs helps you quickly launch consistent server.

  • Definition of AMI
  • Creation of AMI

Section 4 - AWS Load Balancer

When your application gets a lot of traffic, a single server can become overloaded, which can lead to slow responses or downtime. AWS Load Balancers help solve this by distributing incoming user traffic evenly across multiple servers. This improves your app’s availability and performance even under heavy loads. In this section, you will learn what a load balancer is and how to set one up in AWS.

  • Definition of AWS Load Balancer
  • Creation of Load Balancer

Section 5 - AWS Lambda

Managing servers can be complex and time-consuming. AWS Lambda removes this issue by letting you run your code automatically without provisioning or managing servers. Lambda functions execute in response to events like file uploads or button clicks, enabling scalable and cost-efficient app logic. Here, you’ll learn to create Lambda functions and connect them to other AWS services such as DynamoDB.

  • AWS Lambda
  • Create an AWS Lambda Function
  • Insert data in DynamoDB using Lambda

Section 6 - AWS CloudWatch

Keeping an eye on your AWS resources is important to run your applications smoothly. AWS CloudWatch monitors performance metrics, resource health, and triggers alerts when something goes wrong. You’ll also explore synthetic monitoring for testing, understand how CloudWatch differs from CloudTrail, and get a brief introduction to automation using bash scripting.

  • AWS CloudWatch
  • AWS Cloudwatch synthetics
  • Difference between CloudWatch and CloudTrail
  • Bash Scripting

Section 7 - AWS AutoScaling

User demand often changes, and having too many or too few servers can either waste money or degrade performance. AWS Auto Scaling automatically adjusts the number of running servers based on traffic, ensuring your application runs efficiently and cost-effectively. This section explains how Auto Scaling works and guides you through creating Auto Scaling groups in EC2.

  • AutoScaling in EC2
  • Create AutoScaling Group in EC2

Section 8 - Other Elastic Computes (ECS, EKS, ECR)

Modern applications increasingly use containers—lightweight, portable packages for running software. AWS provides specialized services for container management: ECS for orchestrating containers, EKS for Kubernetes management, and ECR for storing container images. Understanding these services helps you effectively build, deploy, and scale containerized applications. You’ll also learn the difference between EBS (block storage) and EFS (shared file storage).

  • What is ECS
  • What is EKS
  • What is ECR
  • Difference between EBS and EFS

AWS Storage Services

After understanding how to run applications with AWS computing services like EC2, the next important step is learning how to store and manage your data securely and efficiently in the cloud. AWS provides a variety of storage options tailored to different needs—from simple file storage to long-term archival and high-speed data transfer.

Section 1: Amazon S3 – Simple Storage Service

Amazon S3 is one of the most popular storage services, ideal for storing files known as “objects” inside containers called buckets. S3 offers different storage classes and lifecycle management to automatically move or delete files based on rules you define, optimizing cost and performance.

  • What is AWS S3?
  • Creation of AWS S3 bucket
  • AWS S3 Storage types/classes
  • AWS S3 Lifecycle Management

Section 2: EBS & EFS – Storage for EC2

EC2 virtual servers require persistent storage. AWS offers Elastic Block Store (EBS), which acts like a hard drive attached to a server, and Elastic File System (EFS), a shared storage accessible by multiple servers simultaneously. Understanding when to use EBS or EFS is key for designing efficient storage.

  • Elastic Block Store (EBS)
  • EBS Snapshot creation
  • Elastic File System (EFS)
  • EBS vs EFS
  • S3 vs EBS

Section 3: AWS Glacier & Backup – For Long-Term Storage

Not all data needs to be accessed frequently. AWS Glacier offers cost-effective, long-term archival storage. For this AWS Backup lets you automate backups and ensures data protection through disaster recovery strategies.

  • AWS Glacier
  • How to setup AWS Backup
  • Disaster Recovery Strategies

With your data safely stored, you will need ways to distribute, transfer, and backup your data efficiently. This leads us to backup and migration services.

Section 4: Data Delivery, Migration and Hybrid

Transferring large volumes of data securely and quickly is a challenge that is faced by many businesses. To resolve this issue AWS provides services to help with fast content delivery, bulk data migration, and seamless hybrid cloud integration.

  • Cloud Front CDN
  • Creating Cloud Front CDN
  • AWS Snowball
  • Storage Gateway

AWS Application Services

Once your data and applications are ready, communication and workflow management become important. AWS offers services to help apps send messages, coordinate tasks, convert media, manage APIs, and process real-time data streams.

Amazon S3 – Simple Storage Service

Amazon S3 is one of the most popular storage services, ideal for storing files known as “objects” inside containers called buckets. S3 offers different storage classes and lifecycle management to automatically move or delete files based on rules you define, optimizing cost and performance.

  • AWS SQS (Simple Queue Service)
  • AWS SNS (Simple Notification Service)
  • Installation of AWS SNS
  • AWS SWF (Simple Workflow Service)
  • Elastic Transcoder
  • API Gateway
  • AWS Kinesis

AWS Database Services

To handle all this data, you need powerful database services to store and analyze data effectively. AWS supports relational databases like Aurora and RDS for structured data, and non-relational options like DynamoDB for flexible, scalable NoSQL needs.

  • Difference between Relational and Non-Relational Database
  • AWS DynamoDB
  • Working with DynamoDB Tables
  • Introduction to NoSQL Workbench
  • Backing up Data
  • What is Aurora
  • AWS RDS Overview
  • Creating RDS Instance
  • AWS RDS vs Aurora
  • Amazon Redshift
  • ElasticCache

AWS VPC - Virtual Private Cloud

Finally, to connect all your cloud resources securely, you need to understand AWS networking and Virtual Private Cloud (VPC) which allows you to create a private, isolated network in the cloud where you control IP ranges, subnets, and access rules. Mastering VPC concepts helps you build secure and scalable cloud infrastructure.

  • AWS VPC
  • Creating your own custom VPC
  • VPC Networking Components
  • Security in VPC
  • VPC Peering
  • AWS Bastion Host
  • Connecting EC2 Using Bastion Host
  • NACL vs Security Group
  • AWS Lightsail
  • AWS CloudFormation
  • DNS
  • AWS Route 53

AWS Billing and Management

Cloud cost management is essential to avoid unexpected bills and optimize spending. AWS provides tools to monitor usage, set budgets, and analyze spending patterns, that helps you to make cost-efficient decisions.

  • Introduction to Cost Explorer and Cost Management
  • AWS Budget Setup
  • Cost Usage and Report

Machine Learning and IoT

Finally, AWS supports advanced technologies like machine learning and IoT, enabling developers to build intelligent applications and connect devices securely and at scale.

  • AWS Sagemaker
  • Using Custom UI in Sagemaker
  • IoT Products

AWS Interview Questions

A collection of 50+ essential AWS interview questions and answers to help you prepare effectively for 2025 job opportunities.

50+ AWS Interview Questions and Answers (2025)

Advantages of AWS

Here are some advantages of Amazon Web Services:

  1. Cost Efficient: AWS gives you a variety of cost-effective pricing options so you can choose an appropriate instances and resources according to your workload and safe cost.
  2. Flexibility: AWS offers Effortless hosting of Applications and it provides instant availability of new features and technology.
  3. Scalability: AWS offer Features like AutoScaling and Elastic Load Balancing and their scale Increase and Decrease according to demand or traffic on the application.
  4. Security: AWS provides end-to-end encryption technology and privacy to its customers.

AWS Certifications

AWS certification is important because it proves you know how to use Amazon's cloud services. It helps you get better job opportunities, a higher salary, and stand out from other candidates. Many companies prefer certified professionals since AWS is widely used in tech. It also boosts your skills and career growth.

  • AWS Certification Path - Levels, Exam, Cost

Try our: AWS Certified Cloud Practitioner Exam [Certification Course]

This AWS Cloud Practitioner Certification Course is designed to help beginners understand the basics of cloud computing and get familiar with Amazon Web Services (AWS). 

This AWS Certified Cloud Practitioner Exam - Certification Course is perfect if you're looking to start a career in cloud computing or just want to learn about AWS to enhance your current job skills. Here you will learn a clear introduction to what AWS is and how its main services like computing, storage, and databases work.

List of Companies Using AWS

These are some popular companies that use AWS in their operations:

Company

Description

Netflix

Uses AWS to stream videos reliably to millions of users worldwide with scalable cloud services.

Airbnb

Relies on AWS to manage its booking platform, data processing, and backend infrastructure.

NASA

Uses AWS for data analysis, high-performance computing, and managing space exploration projects.

Samsung

Utilizes AWS to support its mobile services, IoT platforms, and global data needs.

McDonald’s

Employs AWS to run its global digital ordering systems and customer apps

Facebook

Uses AWS for backup, data storage, and running parts of its infrastructure efficiently.

Adobe

Uses AWS to deliver creative cloud services and data analytics.

Slack

Runs its messaging platform on AWS to ensure scalability and performance.

Pinterest

Uses AWS to handle massive image storage and delivery for millions of users.

LinkedIn

Uses AWS for various backend services and data analytics to improve user experience.

Career & Jobs in AWS 2025

AWS skills are in high demand, and there are many career opportunities available in cloud computing. Here are some popular AWS job roles along with their average salaries:

Job RoleDescriptionAverage Salary (USD)
AWS Cloud ArchitectDesigns cloud solutions and manages AWS services$120,000 - $150,000
DevOps EngineerAutomates infrastructure and deployment$110,000 - $140,000
Cloud DeveloperBuilds applications using AWS services$100,000 - $130,000
SysOps AdministratorManages and monitors AWS infrastructure$90,000 - $120,000
Security SpecialistFocuses on cloud security and compliance$100,000 - $140,000
Data EngineerWorks with AWS data services for analytics$110,000 - $145,000

Conclusion

Amazon Web Services is a powerful cloud computing platform that offers a wide range of on-demand computing services such as virtual servers and storage. This tutorial has provided a brief introduction to cloud computing and given an overview of the various AWS products and services that are available. By the end of this tutorial, readers will have a solid understanding of AWS.


Next Article
Introduction to Amazon Web Services

A

amanchopra
Improve
Article Tags :
  • Amazon Web Services
  • DevOps
  • Tutorials

Similar Reads

  • Amazon Web Services (AWS) Tutorial
    Amazon Web Service (AWS) is the world’s leading cloud computing platform by Amazon. It offers on-demand computing services, such as virtual servers and storage, that can be used to build and run applications and websites. AWS is known for its security, reliability, and flexibility, which makes it a
    13 min read
  • Introduction to Amazon Web Services
    Amazon Web Services (AWS) is one of the world's leading cloud platforms in providing the web services of various domains. AWS follows the trends of digital IT and comes up needy services with optimized performances covering a wide range of services from Compute to Storage. It covers a wider range of
    12 min read
  • Amazon Web Services (AWS) - Free Tier Account Set up
    Amazon Web Service (AWS) is the world’s most comprehensive and broadly adopted cloud platform, offering over 200 fully featured services from data centers globally. Millions of customers, including the fastest-growing startups, largest enterprises, and leading government agencies, are using AWS to l
    5 min read
  • Compute Services

    • What is Elastic Compute Cloud (EC2)?
      EC2 stands for Elastic Compute Cloud a service from Amazon Web Services (AWS). EC2 is an on-demand computing service on the AWS cloud platform. It lets you rent virtual computers to run your applications. You pay only for what you use. Instead of buying and managing your own servers, EC2 gives you a
      10 min read

    • AWS Lambda
      AWS Lambda is a powerful serverless computing service that automatically runs code in response to events, without requiring you to manage the underlying infrastructure. It supports event-driven applications triggered by events such as HTTP requests, DynamoDB table updates, or state transitions. You
      11 min read

    • Amazon Elastic Container Service (ECS)
      Amazon Elastic Container Service (ECS) is a fully managed service that enables users to run Docker-based applications in containers across a cluster of EC2 instances. ECS simplifies container orchestration, allowing you to deploy, manage, and scale containerized applications efficiently. The service
      11 min read

    Storage Services

    • Introduction to AWS Simple Storage Service (AWS S3)
      AWS offers a wide range of storage services that can be configured depending on your project requirements and use cases. AWS comes up with different types of storage services for maintaining highly confidential data, frequently accessed data, and often accessed storage data. You can choose from vari
      13 min read

    • Introduction to AWS Elastic Block Store(EBS)
      AWS Storage Services: AWS offers a wide range of storage services that can be provisioned depending on your project requirements and use case. AWS storage services have different provisions for highly confidential data, frequently accessed data, and the not so frequently accessed data. You can choos
      6 min read

    • Amazon RDS - Introduction to Amazon Relational Database System
      Amazon RDS Is a relational database management system along with the facilities of the AWS cloud platform. It facilitates us in creating database instances as per our requirements, i.e. resizable, variety of database types, etc. Table of ContentWhat is Amazon Relational Database Service (Amazon RDS)
      15+ min read

    AWS Networking Services

    • Amazon VPC - Introduction to Amazon Virtual Private Cloud
      Amazon VPC or Amazon Virtual Private Cloud is a service that allows its users to launch their virtual machines in a protected as well as isolated virtual environment defined by them. You have complete control over your VPC, from creation to customization and even deletion. It's applicable to organiz
      8 min read

    • Introduction to Amazon Route53
      In Simplest terms, cloud computing means storing and accessing the data and programs on remote servers hosted on the internet instead of the computer’s hard drive or local server. It is also referred to as Internet-based computing. In this article we guide on discussing what is Amazon Route53, how d
      13 min read

    • Amazon VPC - Working with Direct Connect Service
      Amazon Virtual Private Cloud or Amazon VPC is a service that enables customers to create their virtual network in a secure and Isolated environment. VPC offers us a secure environment in which we can create our network and use Amazon services as needed. You can have full control over VPC. whether it
      4 min read

    AWS Database Services

    • AWS DynamoDB - Creating a Table
      DynamoDB allows users to create databases capable of storing and retrieving any amount of data and comes in handy while serving any amount of traffic. It dynamically manages each customer’s request and provides high performance by automatically distributing data and traffic over servers. It is a ful
      2 min read

    • What is Amazon Aurora? In Detail Explanation
      A Cloud database is a database service fabricated and accessed through a cloud platform. It serves a considerable lot of indistinguishable functions as a conventional database with the additional adaptability of cloud computing. Users install the software on a cloud framework to implement the databa
      11 min read

    • Difference between Amazon Redshift and PostgreSQL
      Choosing the right database can greatly affect how well your data is managed and analyzed. Amazon Redshift and PostgreSQL are two popular options, each with unique strengths. Amazon Redshift is a powerful data warehouse designed for handling large-scale data analysis, while PostgreSQL is a flexible,
      3 min read

    AWS Machine Learning Services

    • What is SageMaker in AWS?
      Machine Learning is the hottest topic in the current era and the leading cloud provider Amazon web service (AWS) provides lots of tools to explore Machine Learning, creating models with a high accuracy rate. This article makes you familiar with one of those services on AWS i.e Amazon Sagemaker which
      13 min read

    • What is AWS Deeplens?
      Pre-requisite: AWS AWS Deeplens is a deep learning-enabled video camera that is developed by Amazon Web Services (AWS). It is designed to make it easy for developers to create and deploy deep learning models on edge devices, such as cameras and robots. With Deeplens, developers can use pre-built mod
      3 min read

    AWS Developer Tools

    • Working with AWS CodeCommit
      AWS CodeCommit is a source control service that is provided by Amazon Web Service which is fully managed. It is a version code service. It helps to manage and store assets such as codes or documents or any other type of file such as binary file etc. It allows the team to work collaboratively in a se
      4 min read

    • How to Build a CI/CD Pipeline with AWS?
      Building and deploying code manually every time takes a lot of effort and can lead to mistakes. A CI/CD pipeline makes this easier by automating testing, building, and deploying your code for you. Now you might wonder, "Why should I use AWS for this when tools like Jenkins or GitLab CI already exist
      13 min read

    • How to Build a AWS Data Pipeline?
      Amazon Web Services (AWS) is a subsidiary of Amazon offering cloud computing services and APIs to businesses, organizations, and governments. It provides essential infrastructure, tools, and computing resources on a pay-as-you-go basis. AWS Data Pipeline is a service that allows users to easily tran
      6 min read

    AWS Management and Monitoring

    • Introduction to Amazon CloudWatch
      Amazon CloudWatch is a service used for monitoring and observing resources in real-time, built for DevOps engineers, developers, site reliability engineers (SREs), and IT managers. CloudWatch provides users with data and actionable insights to monitor their respective applications, stimulate system-
      10 min read

    • AWS CloudTrail
      AWS With the help of a tool called Cloud Trail, offered by Amazon Web Services (AWS), you can keep track of and document activities that take place inside your AWS infrastructure. It gives you a thorough event history of every activity users, services, and resources took while using your AWS account
      10 min read

geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

'); // $('.spinner-loading-overlay').show(); let script = document.createElement('script'); script.src = 'https://assets.geeksforgeeks.org/v2/editor-prod/static/js/bundle.min.js'; script.defer = true document.head.appendChild(script); script.onload = function() { suggestionModalEditor() //to add editor in suggestion modal if(loginData && loginData.premiumConsent){ personalNoteEditor() //to load editor in personal note } } script.onerror = function() { if($('.editorError').length){ $('.editorError').remove(); } var messageDiv = $('
').text('Editor not loaded due to some issues'); $('#suggestion-section-textarea').append(messageDiv); $('.suggest-bottom-btn').hide(); $('.suggestion-section').hide(); editorLoaded = false; } }); //suggestion modal editor function suggestionModalEditor(){ // editor params const params = { data: undefined, plugins: ["BOLD", "ITALIC", "UNDERLINE", "PREBLOCK"], } // loading editor try { suggestEditorInstance = new GFGEditorWrapper("suggestion-section-textarea", params, { appNode: true }) suggestEditorInstance._createEditor("") $('.spinner-loading-overlay:eq(0)').remove(); editorLoaded = true; } catch (error) { $('.spinner-loading-overlay:eq(0)').remove(); editorLoaded = false; } } //personal note editor function personalNoteEditor(){ // editor params const params = { data: undefined, plugins: ["UNDO", "REDO", "BOLD", "ITALIC", "NUMBERED_LIST", "BULLET_LIST", "TEXTALIGNMENTDROPDOWN"], placeholderText: "Description to be......", } // loading editor try { let notesEditorInstance = new GFGEditorWrapper("pn-editor", params, { appNode: true }) notesEditorInstance._createEditor(loginData&&loginData.user_personal_note?loginData.user_personal_note:"") $('.spinner-loading-overlay:eq(0)').remove(); editorLoaded = true; } catch (error) { $('.spinner-loading-overlay:eq(0)').remove(); editorLoaded = false; } } var lockedCasesHtml = `You can suggest the changes for now and it will be under 'My Suggestions' Tab on Write.

You will be notified via email once the article is available for improvement. Thank you for your valuable feedback!`; var badgesRequiredHtml = `It seems that you do not meet the eligibility criteria to create improvements for this article, as only users who have earned specific badges are permitted to do so.

However, you can still create improvements through the Pick for Improvement section.`; jQuery('.improve-header-sec-child').on('click', function(){ jQuery('.improve-modal--overlay').hide(); $('.improve-modal--suggestion').hide(); jQuery('#suggestion-modal-alert').hide(); }); $('.suggest-change_wrapper, .locked-status--impove-modal .improve-bottom-btn').on('click',function(){ // when suggest changes option is clicked $('.ContentEditable__root').text(""); $('.suggest-bottom-btn').html("Suggest changes"); $('.thank-you-message').css("display","none"); $('.improve-modal--improvement').hide(); $('.improve-modal--suggestion').show(); $('#suggestion-section-textarea').show(); jQuery('#suggestion-modal-alert').hide(); if(suggestEditorInstance !== null){ suggestEditorInstance.setEditorValue(""); } $('.suggestion-section').css('display', 'block'); jQuery('.suggest-bottom-btn').css("display","block"); }); $('.create-improvement_wrapper').on('click',function(){ // when create improvement option clicked then improvement reason will be shown if(loginData && loginData.isLoggedIn) { $('body').append('
'); $('.spinner-loading-overlay').show(); jQuery.ajax({ url: writeApiUrl + 'create-improvement-post/?v=1', type: "POST", contentType: 'application/json; charset=utf-8', dataType: 'json', xhrFields: { withCredentials: true }, data: JSON.stringify({ gfg_id: post_id }), success:function(result) { $('.spinner-loading-overlay:eq(0)').remove(); $('.improve-modal--overlay').hide(); $('.unlocked-status--improve-modal-content').css("display","none"); $('.create-improvement-redirection-to-write').attr('href',writeUrl + 'improve-post/' + `${result.id}` + '/', '_blank'); $('.create-improvement-redirection-to-write')[0].click(); }, error:function(e) { showErrorMessage(e.responseJSON,e.status) }, }); } else { if(loginData && !loginData.isLoggedIn) { $('.improve-modal--overlay').hide(); if ($('.header-main__wrapper').find('.header-main__signup.login-modal-btn').length) { $('.header-main__wrapper').find('.header-main__signup.login-modal-btn').click(); } return; } } }); $('.left-arrow-icon_wrapper').on('click',function(){ if($('.improve-modal--suggestion').is(":visible")) $('.improve-modal--suggestion').hide(); else{ } $('.improve-modal--improvement').show(); }); const showErrorMessage = (result,statusCode) => { if(!result) return; $('.spinner-loading-overlay:eq(0)').remove(); if(statusCode == 403) { $('.improve-modal--improve-content.error-message').html(result.message); jQuery('.improve-modal--overlay').show(); jQuery('.improve-modal--improvement').show(); $('.locked-status--impove-modal').css("display","block"); $('.unlocked-status--improve-modal-content').css("display","none"); $('.improve-modal--improvement').attr("status","locked"); return; } } function suggestionCall() { var editorValue = suggestEditorInstance.getValue(); var suggest_val = $(".ContentEditable__root").find("[data-lexical-text='true']").map(function() { return $(this).text().trim(); }).get().join(' '); suggest_val = suggest_val.replace(/\s+/g, ' ').trim(); var array_String= suggest_val.split(" ") //array of words var gCaptchaToken = $("#g-recaptcha-response-suggestion-form").val(); var error_msg = false; if(suggest_val != "" && array_String.length >=4){ if(editorValue.length { jQuery('.ContentEditable__root').focus(); jQuery('#suggestion-modal-alert').hide(); }, 3000); } } document.querySelector('.suggest-bottom-btn').addEventListener('click', function(){ jQuery('body').append('
'); jQuery('.spinner-loading-overlay').show(); if(loginData && loginData.isLoggedIn) { suggestionCall(); return; } // script for grecaptcha loaded in loginmodal.html and call function to set the token setGoogleRecaptcha(); }); $('.improvement-bottom-btn.create-improvement-btn').click(function() { //create improvement button is clicked $('body').append('
'); $('.spinner-loading-overlay').show(); // send this option via create-improvement-post api jQuery.ajax({ url: writeApiUrl + 'create-improvement-post/?v=1', type: "POST", contentType: 'application/json; charset=utf-8', dataType: 'json', xhrFields: { withCredentials: true }, data: JSON.stringify({ gfg_id: post_id }), success:function(result) { $('.spinner-loading-overlay:eq(0)').remove(); $('.improve-modal--overlay').hide(); $('.create-improvement-redirection-to-write').attr('href',writeUrl + 'improve-post/' + `${result.id}` + '/', '_blank'); $('.create-improvement-redirection-to-write')[0].click(); }, error:function(e) { showErrorMessage(e.responseJSON,e.status); }, }); });
"For an ad-free experience and exclusive features, subscribe to our Premium Plan!"
Continue without supporting
`; $('body').append(adBlockerModal); $('body').addClass('body-for-ad-blocker'); const modal = document.getElementById("adBlockerModal"); modal.style.display = "block"; } function handleAdBlockerClick(type){ if(type == 'disabled'){ window.location.reload(); } else if(type == 'info'){ document.getElementById("ad-blocker-div").style.display = "none"; document.getElementById("ad-blocker-info-div").style.display = "flex"; handleAdBlockerIconClick(0); } } var lastSelected= null; //Mapping of name and video URL with the index. const adBlockerVideoMap = [ ['Ad Block Plus','https://media.geeksforgeeks.org/auth-dashboard-uploads/abp-blocker-min.mp4'], ['Ad Block','https://media.geeksforgeeks.org/auth-dashboard-uploads/Ad-block-min.mp4'], ['uBlock Origin','https://media.geeksforgeeks.org/auth-dashboard-uploads/ub-blocke-min.mp4'], ['uBlock','https://media.geeksforgeeks.org/auth-dashboard-uploads/U-blocker-min.mp4'], ] function handleAdBlockerIconClick(currSelected){ const videocontainer = document.getElementById('ad-blocker-info-div-gif'); const videosource = document.getElementById('ad-blocker-info-div-gif-src'); if(lastSelected != null){ document.getElementById("ad-blocker-info-div-icons-"+lastSelected).style.backgroundColor = "white"; document.getElementById("ad-blocker-info-div-icons-"+lastSelected).style.borderColor = "#D6D6D6"; } document.getElementById("ad-blocker-info-div-icons-"+currSelected).style.backgroundColor = "#D9D9D9"; document.getElementById("ad-blocker-info-div-icons-"+currSelected).style.borderColor = "#848484"; document.getElementById('ad-blocker-info-div-name-span').innerHTML = adBlockerVideoMap[currSelected][0] videocontainer.pause(); videosource.setAttribute('src', adBlockerVideoMap[currSelected][1]); videocontainer.load(); videocontainer.play(); lastSelected = currSelected; }

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences