AMI: ami-003ba08113592046f
sudo apt update
Install the package
sudo apt install cockpit
Start the service
sudo systemctl start cockpit
Set password for the user - ubuntu
sudo passwd ubuntu
Login to https://ip-address:9090
Make sure to open the port 9090 in Security group in AWS
Installing SSL:
nano /etc/nginx/conf.d/cockpit.conf
and paste this (making sure to update the FQDN for server_name and ssl certificates):systemctl restart nginx