Sunday, February 16, 2025

Upgrade AWS instance and Ubuntu Commands to check system resources

 Check system resources:

lscpu # Check CPU details
free -h # Check RAM
df -h # Check storage

Step 1: Check Instance Compatibility

  1. Login to AWS Console → Go to EC2 Dashboard.
  2. Select your t2.large instance.
  3. Click on Instance SettingsChange Instance Type.
  4. Check if c6i.4xlarge is available in the same Availability Zone.
    • If not, you may need to create a new instance and migrate your data.

     

    Step 2: Stop the Instance

  5. Go to EC2 Dashboard.
  6. Select the t2.large instance.
  7. Click Instance StateStop Instance.
    • ⚠️ Warning: Stopping the instance will cause temporary downtime.

Step 3: Change Instance Type

  1. Select your stopped t2.large instance.
  2. Click on ActionsInstance SettingsChange Instance Type.
  3. From the dropdown, select c6i.4xlarge.
  4. Click Apply.

Step 4: Start the Upgraded Instance

  1. Select your instance.
  2. Click Instance StateStart Instance.
  3. Verify that your application is working as expected.

  1.  


No comments:

Post a Comment