Create

Create an EC2 instance for custom workloads

tapit create ec2 name=instance-name [size|open_ports|allowed_ip_ranges|ssh_public_key|storage|ami]='...' [--ignore-existing]

Required

  • name

Parameters

  • name: Name for the EC2 instance (required)
  • size: EC2 instance type (default: t3.micro)
  • open_ports: Ports to open (e.g., ‘22,80,443’)
  • allowed_ip_ranges: IP address, CIDR ranges, or special values app/vpc/all, that are allowed to access the instance, separated by commas
  • ssh_public_key: SSH public key for access
  • storage: Root volume size in GB (default: 10)
  • ami: Custom AMI ID to use
  • --ignore-existing: Skip creation if a resource with the same name already exists (useful for idempotent scripts)