#!/bin/bash
# Private EC2 User Data Script
# Ubuntu 24.04 LTS - pista-ec2-private1

# Update system
apt update -y && apt upgrade -y

# Install MySQL Server
apt install -y mysql-client net-tools

# Secure MySQL installation (non-interactive)
# mysql_secure_installation is interactive, so we configure manually

echo "Private EC2 (MySQL client) setup completed!"
