Change the instance type with AWS CLI

Change the instance type from t2.micro to t2.nano using aws cli

1) Change the instance type from t2.micro to t2.nano for datacenter-ec2 instance through aws-cli only.

2) Make sure the ec2 instance datacenter-ec2 is in running state after the change.

Last updated