---
title: "Discussion on \"How To Install Elastic Stack on Ubuntu 22.04\" | Hashnode"
description: "Discussion on \"How To Install Elastic Stack on Ubuntu 22.04\". 1. Install Elasticsearch\nLaunch an EC2 instance (Ubuntu t2.medium)\n# Update and install JDK/JRE\nsudo apt-get update\nsudo apt install default-jdk default-jre -y\n\n# Add Elasticsearch GPG Key & repository\nwget -qO - https://artifacts.elastic.co/GPG-KEY-..."
url: "https://hashnode.com/posts/how-to-install-elastic-stack-on-ubuntu-2204/671616abfab7b86b590d68fe"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How To Install Elastic Stack on Ubuntu 22.04](https://elk-stack-setup.hashnode.dev/how-to-install-elastic-stack-on-ubuntu-2204?utm_source=hashnode&utm_medium=feed)

1\. Install Elasticsearch Launch an EC2 instance (Ubuntu t2.medium) # Update and install JDK/JRE sudo apt-get update sudo apt install default-jdk default-jre -y # Add Elasticsearch GPG Key & repository wget -qO - https://artifacts.elastic.co/GPG-KEY-...

Oct 21, 2024 · 2 min read · elk-stack-setup.hashnode.dev  
Read the article

-   [#elk-stack](https://hashnode.com/tag/elk-stack)
-   [#elk-installation](https://hashnode.com/tag/elk-installation)
-   [#devops](https://hashnode.com/tag/devops)
-   [#ubuntu](https://hashnode.com/tag/ubuntu)

## Written by

[Tejas Mane](https://hashnode.com/@iamtejas23)

@iamtejas23 · Kolhapur, Maharashtra, India

  
[View profile](https://hashnode.com/@iamtejas23)

DevOps Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
