t2.medium
for small-scale deployments (you might need larger instances for more data).Server successfully Launched
Change the permissions of the ELK-Server-KeyPair.pem
file
chmod 400 ELK-Server-KeyPair.pem
Use SSH to connect to the EC2 instance using your terminal:
#Sample
ssh -i "your-key.pem" ubuntu@<instance-ip>
# Actual Code
ssh -i ELK-Server-KeyPair.pem [email protected]
Elasticsearch and Logstash require Java to run. Run the following commands to install Java:
sudo su
apt update
apt install default-jdk default-jre -y