:doc:`Subnet <index>` / Attribute / map_public_ip_on_launch

***********************
map_public_ip_on_launch
***********************



.. py:attribute:: EC2.Subnet.map_public_ip_on_launch

  

  - *(boolean) --* 

    Indicates whether instances launched in this subnet receive a public IPv4 address.

     

    Amazon Web Services charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the *Public IPv4 Address* tab on the `Amazon VPC pricing page <http://aws.amazon.com/vpc/pricing/>`__.

    