Check system resources:
lscpu # Check CPU details
free -h # Check RAM
df -h # Check storageStep 1: Check Instance Compatibility
- Login to AWS Console → Go to EC2 Dashboard.
- Select your t2.large instance.
- Click on Instance Settings → Change Instance Type.
- 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
- Go to EC2 Dashboard.
- Select the t2.large instance.
- Click Instance State → Stop Instance.
- ⚠️ Warning: Stopping the instance will cause temporary downtime.
Step 3: Change Instance Type
- Select your stopped t2.large instance.
- Click on Actions → Instance Settings → Change Instance Type.
- From the dropdown, select c6i.4xlarge.
- Click Apply.
Step 4: Start the Upgraded Instance
- Select your instance.
- Click Instance State → Start Instance.
- Verify that your application is working as expected.
No comments:
Post a Comment