Complete the code to specify the purchase of a Reserved Instance in AWS CLI.
aws ec2 purchase-reserved-instances-offering --reserved-instances-offering-id [1] --instance-count 1
The reserved-instances-offering-id is a unique identifier for the Reserved Instance offering you want to purchase.
Complete the code to create a Savings Plan using AWS CLI.
aws savingsplans create-savings-plan --savings-plan-offering-id [1] --commitment 100 --term 31536000
The savings-plan-offering-id identifies the specific Savings Plan offering you want to buy.
Fix the error in the AWS CLI command to describe Reserved Instances.
aws ec2 describe-reserved-instances --filters Name=state,Values=[1]The correct state filter value for active Reserved Instances is active.
Fill both blanks to create a Savings Plan with a specific payment option and plan type.
aws savingsplans create-savings-plan --payment-option [1] --plan-type [2] --commitment 200 --term 31536000
The payment-option can be 'All Upfront' for full payment at purchase.
The plan-type 'Compute' applies to compute usage Savings Plans.
Fill all three blanks to filter Reserved Instances by instance type, availability zone, and state.
aws ec2 describe-reserved-instances --filters Name=instance-type,Values=[1] Name=availability-zone,Values=[2] Name=state,Values=[3]
Use m5.large as the instance type filter.
us-east-1a is a valid availability zone.
active filters for active Reserved Instances.