Skip to main content

Instance



Resource Icon

Resource Overview

Amazon Elastic Compute Cloud (Amazon EC2) provides scalable computing capacity in the AWS cloud. It eliminates the need to invest in hardware upfront, allowing faster application development and deployment. You can launch virtual servers, configure security and networking, and manage storage. Amazon EC2 scales up or down to handle changes in requirements or usage spikes, reducing the need to forecast traffic.

Associated Resources

Parent Resources

Connected Resources


Resource Configuration

Basic Settings

  • ami : Image containing the information required to launch an instance
  • instance_type : EC2 instance type
  • key_pair_name : Name of the key pair used for the EC2 instance
  • linked_network_interface_names : List of network interface names used by the instance
  • http_endpoint : Whether the metadata service is enabled - enabled, disabled
  • http_tokens : Whether session tokens are required for the metadata service - required, optional
  • cloudinit_config : Script content automatically executed when the server is created

Root Volume (root_volume)

  • root_volume.volume_type : Root volume type - gp2, gp3, io1, io2, sc1, st1, standard
  • root_volume.volume_size : Root volume size (GiB)
  • root_volume.enabled_volume_encryption : Whether root volume encryption is enabled - true, false

EBS Block Device (ebs_block_device)

  • ebs_block_device.volume_type : EBS volume type - gp2, gp3, io1, io2, sc1, st1, standard
  • ebs_block_device.volume_size : EBS volume size (GiB)
  • ebs_block_device.enabled_volume_encryption : Whether EBS volume encryption is enabled - true, false

Tags

  • tag : Tags used to categorize the resource

References