MechCloud
  • What is MechCloud?
  • MechCloud Website
  • Launch Portal
  • Links
    • Discord
    • Youtube
    • Blog
    • LinkedIn
    • Twitter
  • Comparison With WordPress
  • Tutorials / Blog Posts
  • Administration
    • Multitenancy
      • Tenant
      • Team
    • Subscriptions
      • Basic
      • Pro
  • Cloud Computing
    • Cloud Accounts
      • Add An Account
        • AWS
        • GCP
        • Azure
      • Configure Regions / Zones
      • Discover Assets
      • Real-time Visualization
        • AWS
          • Tags
          • CloudTrail
        • GCP
  • AI Agents
    • AWS Agent
      • EC2
      • Lightsail
      • Multi-operation Prompts
    • Systems Agent
      • Cloudflare
      • MongoDB Atlas API
  • Website Builder
    • Routing
    • Micro app based architecture
    • Site
    • Site Node
    • Custom Components
      • Frame
      • Layout
      • External Page
      • Component
    • Special Tags
      • <mc-navigation-link>
      • <mc-render-node>
    • Page Designer
      • Single Component Prompts
        • Native HTML tags
        • MechCloud UI Components
        • Demo Components
        • Third Party Components
      • Multi Components Prompts
Powered by GitBook
On this page

Was this helpful?

  1. AI Agents
  2. AWS Agent

EC2

PreviousAWS AgentNextLightsail

Last updated 2 months ago

Was this helpful?

Supported operations

Operation
Permissions Required
Example Prompts

List vpcs

ec2:DescribeVpcs

Create vpc

ec2:CreateVpc

Delete vpc

ec2:DeleteVpc

List subnets

ec2:DescribeSubnets

Create subnet

ec2:CreateSubnet

Delete subnet

ec2:DeleteSubnet

List instances

ec2:DescribeInstances

Provision instances

ec2:RunInstances

Start instances

ec2:StartInstances

Stop instances

ec2:StopInstances

Describe instance types

ec2:DescribeInstanceTypes

list all the vpcs

list all the vpcs which are not default
create a vpc with '10.101.0.0/16' cidr  
delete a vpc with '<vpc_id>' id
list all the subnets

list all the subnets which are not default

list all the subnets under '<vpc_id>' vpc
create a subnet with '10.101.1.0/24' cidr under '<vpc_id>' id
delete a subnet with '<subnet_id>' id
list all the ec2 vms
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
Start ec2 vms with following ids -
<vm1 id>
<vm2 id>
Stop ec2 vms with following ids -
<vm1 id>
<vm2 id>
list all the instance types which are free tier eligible