How to spin off EC2 instance with RHEL

  1. Launch an EC2 instance from AWS console. Here are the screenshots below for reference.

Make it 30 GiB storage as it comes free with free storage

2. Connect to Linux EC2 Instance by Using Putty and private keys

We can connect putty by using below link.

Connect to PostgreSQL Server Using Putty

Using username “ec2-user”.
Authenticating with public key “imported-openssh-key”
Register this system with Red Hat Insights: insights-client –register
Create an account or view all your systems at https://red.ht/insights-dashboard
Last login: Wed Feb 8 14:50:03 2023 from 49.36.50.5
[ec2-user@ip-10-0-1-138 ~]$ s

3. Switch to root

[ec2-user@ip-10-0-1-138 ~]$ sudo su – root
Last login: Wed Feb 8 14:50:07 UTC 2023 on pts/1
[root@ip-10-0-1-138 ~]#

Leave a comment