1. Assessment Phase

  • List EC2 Instances
  • List Available Instance Types

2. Summary Phase

  • Confirm Configuration Summary

3. Update Phase

  • Stop Instance
  • Verify Instance Stopped
  • Update Instance Type
  • Restart EC2 Instance

4. Validation Phase

  • Verify Instance Update
1 Credits

EC2 Instance Type Modification

Overview

Change the instance types of your EC2 instances to optimize performance, cost, or resource requirements. This plan will guide you through identifying the current instance configurations, help you select a preferred instance type, and safely execute the update process. Ensures the instance is first stopped, checks the modification, restarts the instance, and verifies the update.

Execution Details

Assessment Phase

  • Capture EC2 Instance ID & Region: Gather input for the Instance ID and AWS Region. If the region isn't provided, assist in selecting one from available options.
  • List AWS Regions: Fetch and present all AWS regions for selection if a region wasn't pre-specified.
  • List EC2 Instances: Enumerate all EC2 instances in the selected region, displaying key details for selection of target instance.
  • List Available Instance Types: Present available instance types for selection with details on vCPUs and memory to facilitate informed decision-making.

Summary Phase

  • Confirm Configuration Summary: Display current EC2 instance details along with the chosen new instance type. Seek user confirmation to proceed with the instance update.

Update Phase

  • Stop Instance: Halt the target EC2 instance to prepare for modification.
  • Verify Instance Stopped: Confirm the instance has stopped.
  • Update Instance Type: Change the instance type using AWS CLI, ensuring it aligns with user selection.
  • Restart EC2 Instance: Power the EC2 instance back on with the updated type, validating log outputs for confirmation.

Validation Phase

  • Verify Instance Update: Conduct a final check to confirm the EC2 instance is running the updated instance type, ensuring successful transition and operations continuity.

This structured approach ensures minimal downtime and accuracy in updating your EC2 instance types, aligning infrastructure performance with your evolving needs.