title: AWS: List of assigned IPs in subnet
body: <p>Is there a way to get a list of all assigned IPs in an AWS subnet?  Furthermore, if there is a way to see the associated (AW)Services?  That would be incredibly helpful as well.  Thanks!</p>
  
  <p><strong>EDIT</strong>:</p>
  
  <p>All assigned private IPs in a private AWS Subnet (which are retained regardless of instance state).  Any means of obtaining this information will do.  I am most familiar with AWS CLI, boto/boto3 and the console.</p>
  
  <p>The list would include all avail per CIDR block definition except for 5 addresses:</p>
  
  <ul>
  <li>1 for subnet address</li>
  <li>1 for broadcast</li>
  <li><a href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Subnets.html#VPC_Sizing" rel="noreferrer">AWS reserves the first 3</a> available IP addresses
  for each subnet</li>
  </ul>