AWS - EC2
Amazon Web Services Elastic Compute Cloud (EC2).
- Category
- IT Services
- Pack
- AWS-EC2
Configuration parameters
- defaultRegion — AWS Default Region (required)
- roleArn — Role Arn
- roleSessionName — Role Session Name
- sessionDuration — Role Session Duration
- credentials — Access Key
- access_key — Access Key
- secret_key — Secret Key
- timeout — Timeout
- retries — Retries
- endpoint_url — PrivateLink service URL.
- sts_endpoint_url — STS PrivateLink URL.
- sts_regional_endpoint — AWS STS Regional Endpoints
- sts_region — STS Region
- accounts_to_access — AWS organization accounts
- access_role_name — Role name for cross-organization account access
- max_workers — Max concurrent command calls
- proxy — Use system proxy settings
- insecure — Trust any certificate (not secure)
Commands (75)
- aws-ec2-allocate-address — Allocates an Elastic IP address.
- aws-ec2-allocate-hosts — Allocates a Dedicated Host to your account.
- aws-ec2-associate-address — Associates an Elastic IP address with an instance or a network interface.
- aws-ec2-attach-volume — Attaches an EBS volume to a running or stopped instance and exposes it to the instance with the specified device name.
- aws-ec2-authorize-security-group-egress-rule — Adds egress rule to a security group.
- aws-ec2-authorize-security-group-ingress-rule — Adds ingress rule to a security group.
- aws-ec2-copy-image — Initiates the copy of an AMI from the specified source region to the current region.
- aws-ec2-copy-snapshot — Copies a point-in-time snapshot of an EBS volume and stores it in Amazon S3. You can copy the snapshot within the same region or from one region to another.
- aws-ec2-create-fleet — Launches an EC2 Fleet.
- aws-ec2-create-image — Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that is either running or stopped.
- aws-ec2-create-launch-template — Creates a launch template. A launch template contains the parameters to launch an instance.
- aws-ec2-create-network-acl — Creates a network ACL in a VPC. Network ACLs provide an optional layer of security (in addition to security groups) for the instances in your VPC.
- aws-ec2-create-network-acl-entry — Creates an entry (a rule) in a network ACL with the specified rule number.
- aws-ec2-create-security-group — Creates a security group.
- aws-ec2-create-snapshot — Creates a snapshot of an EBS volume and stores it in Amazon S3. You can use snapshots for backups, to make copies of EBS volumes, and to save data before shutting down an instance.
- aws-ec2-create-tags — Adds or overwrites one or more tags for the specified Amazon EC2 resource or resources.
- aws-ec2-create-traffic-mirror-session — Creates a Traffic Mirror session.
- aws-ec2-create-volume — Creates an EBS volume that can be attached to an instance in the same Availability Zone.
- aws-ec2-create-vpc-endpoint — Creates a VPC endpoint.
- aws-ec2-delete-fleet — Deletes the specified EC2 Fleet.
- aws-ec2-delete-internet-gateway — Deletes the specified internet gateway. You must detach the internet gateway from the VPC before you can delete it.
- aws-ec2-delete-launch-template — Deletes a launch template. Deleting a launch template deletes all of its versions.
- aws-ec2-delete-security-group — Deletes a security group.
- aws-ec2-delete-snapshot — Deletes the specified snapshot.
- aws-ec2-delete-subnet — Deletes the specified subnet. You must terminate all running instances in the subnet before you can delete the subnet.
- aws-ec2-delete-volume — Deletes the specified EBS volume. The volume must be in the available state (not attached to an instance).
- aws-ec2-delete-vpc — Deletes the specified VPC. You must detach or delete all gateways and resources that are associated with the VPC before you can delete it. For example, you must terminate all instances running in the VPC, delete all security groups associated with the VPC (except the default one), delete all route tables associated with the VPC (except the default one), and so on.
- aws-ec2-deregister-image — Deregisters the specified AMI.
- aws-ec2-describe-addresses — Describes one or more of your Elastic IP addresses.
- aws-ec2-describe-fleet-instances — Describes the running instances for the specified EC2 Fleet.
- aws-ec2-describe-fleets — Describes one or more of your EC2 Fleets.
- aws-ec2-describe-iam-instance-profile-associations — Describes your IAM instance profile associations.
- aws-ec2-describe-images — Describes one or more of the images (AMIs, AKIs, and ARIs) available to you. Images available to you include public images, private images that you own, and private images owned by other AWS accounts but for which you have explicit launch permissions.
- aws-ec2-describe-instances — Describes one or more of your instances.
- aws-ec2-describe-internet-gateway — Describes one or more of your internet gateways.
- aws-ec2-describe-ipam-resource-discoveries — Describes IPAM resource discoveries. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account.
- aws-ec2-describe-ipam-resource-discovery-associations — Describes resource discovery association with an Amazon VPC IPAM. An associated resource discovery is a resource discovery that has been associated with an IPAM.
- aws-ec2-describe-key-pairs — Describes one or more of your key pairs.
- aws-ec2-describe-launch-templates — Describes one or more launch templates.
- aws-ec2-describe-regions — Describes one or more regions that are currently available to you.
- aws-ec2-describe-reserved-instances — Describes one or more of the Reserved Instances that you purchased.
- aws-ec2-describe-security-groups — Describes one or more of your security groups.
- aws-ec2-describe-snapshots — Describes one or more of the EBS snapshots available to you.
- aws-ec2-describe-subnets — Describes one or more of your subnets.
- aws-ec2-describe-volumes — Describes the specified EBS volumes.
- aws-ec2-describe-vpcs — Describes one or more of your VPCs.
- aws-ec2-detach-internet-gateway — Detaches an internet gateway from a VPC, disabling connectivity between the internet and the VPC. The VPC must not contain any running instances with Elastic IP addresses or public IPv4 addresses.
- aws-ec2-detach-volume — Detaches an EBS volume from an instance.
- aws-ec2-disassociate-address — Disassociates an Elastic IP address from the instance or network interface its associated with.
- aws-ec2-get-ipam-discovered-public-addresses — Gets the public IP addresses that have been discovered by IPAM.
- aws-ec2-get-latest-ami — Get The latest AMI.
- aws-ec2-get-password-data — Retrieves the encrypted administrator password for a running Windows instance.
- aws-ec2-modify-fleet — Modifies the specified EC2 Fleet.
- aws-ec2-modify-image-attribute — Modifies the specified attribute of the specified AMI.
- aws-ec2-modify-instance-attribute — Modifies the specified attribute of the specified instance. You can specify only one attribute at a time. Using this action to change the security groups associated with an elastic network interface (ENI) attached to an instance in a VPC can result in an error if the instance has more than one ENI. To change the security groups associated with an ENI attached to an instance that has multiple ENIs, we recommend that you use the ModifyNetworkInterfaceAttribute action.
- aws-ec2-modify-network-interface-attribute — Modifies the specified network interface attribute. You can specify only one attribute at a time.
- aws-ec2-modify-snapshot-permission — Adds or removes permission settings for the specified snapshot.
- aws-ec2-modify-volume — You can modify several parameters of an existing EBS volume, including volume size, volume type, and IOPS capacity.
- aws-ec2-monitor-instances — Enables detailed monitoring for a running instance.
- aws-ec2-reboot-instances — Requests a reboot of one or more instances. This operation is asynchronous; it only queues a request to reboot the specified instances. The operation succeeds if the instances are valid and belong to you. Requests to reboot terminated instances are ignored. If an instance does not cleanly shut down within four minutes, Amazon EC2 performs a hard reboot.
- aws-ec2-release-address — Releases the specified Elastic IP address.
- aws-ec2-release-hosts — Release on demand dedicated host.
- aws-ec2-revoke-security-group-egress-rule — Removes egress rule from a security group. To remove a rule, the values that you specify (for example, ports) must match the existing rule's values exactly.
- aws-ec2-revoke-security-group-ingress-rule — Removes egress rule from a security group. To remove a rule, the values that you specify (for example, ports) must match the existing rule's values exactly.
- aws-ec2-run-instances — Launches the specified number of instances using an AMI for which you have permissions. You can create a launch template , which is a resource that contains the parameters to launch an instance. When you launch an instance using RunInstances , you can specify the launch template instead of specifying the launch parameters. An instance is ready for you to use when its in the running state. You can check the state of your instance using DescribeInstances.
- aws-ec2-start-instances — Starts an Amazon EBS-backed instance that you have previously stopped.
- aws-ec2-stop-instances — Stops an Amazon EBS-backed instance.
- aws-ec2-terminate-instances — Shuts down one or more instances. This operation is idempotent; if you terminate an instance more than once, each call succeeds.
- aws-ec2-unmonitor-instances — Disables detailed monitoring for a running instance.
- aws-ec2-waiter-image-available — A waiter function that waits until image is avilable.
- aws-ec2-waiter-instance-running — A waiter function that runs every 15 seconds until a successful state is reached.
- aws-ec2-waiter-instance-status-ok — A waiter function that runs every 15 seconds until a successful state is reached.
- aws-ec2-waiter-instance-stopped — A waiter function that runs every 15 seconds until a successful state is reached.
- aws-ec2-waiter-instance-terminated — A waiter function that runs every 15 seconds until a successful state is reached.
- aws-ec2-waiter-snapshot_completed — A waiter function that waits until the snapshot is complate.