EC2

1. Supported operations

1.1 Creating a vpc

Required permission(s)

  • ec2:CreateVpc

Prompt example(s)

create a vpc with '10.101.0.0/16' cidr        

1.2 Listing vpcs

Required permission(s)

  • ec2:DescribeVpcs

Prompt example(s)

list all the vpcs

list all the vpcs which are not default

1.3 Creating a subnet

Required permission(s)

  • ec2:DescribeSubnets

Prompt example(s)

list all the subnets

list all the subnets which are not default

list all the subnets under '<vpc_id>' vpc

1.4 Listing subnets

Required permission(s)

  • ec2:DescribeSubnets

Prompt example(s)

list all the subnets

list all the subnets which are not default

list all the subnets under '<vpc_id>' vpc

1.5 Describe instance types (e.g t2.micro)

Prompt examples

list all the instance types which are free tier eligible

1.6 Provisioning more or more ec2 VMs

Prompt example(s)

Provision an ec2 vm with following details -
subnet id - <subnet id>
ami id - <ami id>
instance type - t2.micro
min count - 1
max count - 1

Provisioning more or more ec2 VMs

Prompt examples

Provision an ec2 vm with following details -
subnet id - <subnet id>
ami id - <ami id>
instance type - t2.micro
min count - 1
max count - 1

1.7 Starting/stopping one or more ec2 VMs

Prompt examples

Start ec2 vms with following ids -
<vm1 id>
<vm2 id>

Stop ec2 vms with following ids -
<vm1 id>
<vm2 id>

Last updated