Skip to main content

Subnet



Resource Icon

Resource Overview

A subnet is a range of IP addresses within a VPC. AWS resources such as EC2 instances can be launched within a specific subnet.

Associated Resources

Parent Resources

Child Resources

Connected Resources


Resource Configuration

Basic Settings

  • included_vpc_name : Name of the VPC where the Subnet will be deployed
  • cidr_block : IP address range (CIDR) of the Subnet
  • availability_zone : Availability Zone where the Subnet will be deployed
  • pip_enable : Whether to automatically assign a public IP - true, false

Tags

  • tag : Tags used to categorize the resource

How to Convert a Private Subnet to a Public Subnet


subnet01

  • Place the Internet Gateway resource, which enables communication with the external internet, and the Route Table resource that defines the route to the Internet Gateway on the canvas.​


subnet02

  • Select the Subnet to which the routing table rules will be applied.​


subnet03

  • In the Linked Route option, set the Cidr Block value to [0.0.0.0/0].​
  • Set the Resource Type value to [internet_gateway].​
  • Click the drop_down of Linked Resource Name and select the Internet Gateway connected to the routing table.​


subnet04

  • Verify that the Private Subnet has been converted to a Public Subnet.

References