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

Lightsail

Supported operations

Operation
Permissions Required
Example Prompts

List key pairs

lightsail:GetKeyPairs

Import a key pair

lightsail:ImportKeyPair

Get details of a key pair

lightsail:GetKeyPair

Delete a key pair

lightsail:DeleteKeyPair

List blueprints

lightsail:GetBlueprints

List bundles

lightsail:GetBundles

List instances

lightsail:GetInstances

Create instances

lightsail:CreateInstances

Get instance details

lightsail:GetInstance

Update instance firewall rules

lightsail:PutInstancePublicPorts

Start instance

lightsail:StartInstance

Stop instance

lightsail:StopInstance

Reboot instance

lightsail:RebootInstance

Delete instance

lightsail:DeleteInstance

List static ips

lightsail:GetStaticIps

Allocate static ip

lightsail:AllocateStaticIp

Get static ip details

lightsail:GetStaticIp

Attach static ip

lightsail:AttachStaticIp

Detach static ip

lightsail:DetachStaticIp

Release static ip

lightsail:ReleaseStaticIp

PreviousEC2NextMulti-operation Prompts

Last updated 2 months ago

Was this helpful?

list all the lightsail key pairs
import a lightsail key pair with following details -
name - test1
key - <public_key_content>
show details of 'key1' lightsail key pair
delete 'key1' lightsail key pair
list all the lightsail blueprints
list all the lightsail bundles
list all the lightsail VMs
create lightsail vms with following details -
name(s) - instance1, instance2
zone - eu-west-1a
blueprint - ubuntu_24_04
bundle - nano_3_0
ssh key - key1
fetch details of 'instance 1' lightsail vm
replace firewall rules of 'instance 1' lightsail vm with following -
22|tcp|@CURRENT_IP
443|tcp|@CURRENT_IP
start 'instance 1' lightsail vm
stop 'instance 1' lightsail vm
reboot 'instance 1' lightsail vm
delete 'instance 1' lightsail vm
list lightsail static ips
allocate a lightsail static ip
fetch details of 'static1' lightsail static ip 
attach 'static1' lightsail static ip to 'instance1' vm
detach 'static1' lightsail static ip
release 'static1' lightsail static ip