Public, Private and Elastic IPs

Pragya Keshap answered on February 21, 2023 Popularity 3/10 Helpfulness 1/10

Contents


More Related Answers

  • public ip linux
  • get public ipv6 linux
  • show public ip
  • private ip vs public ip
  • public ip
  • display private and public ip bash script
  • Elastic IPs
  • to obtain a private ip adress of ec2 instance using instance metadata
  • private ip
  • how to avoid using elastic IPs
  • aws vpc - What are the differences between Private, Public & Elastic IP Addresses?
  • ecs get public ip
  • difference between ip and elastic ip
  • Allocate Elastic IP Address

  • Public, Private and Elastic IPs

    0

    Private IPs are static and can be used in private and public subnets.

    Public addresses can be used on Public Subnets only and are dynamic addresses, this means they

    change every time you stop and restart your instance. (if instance is simply rebooted - public address is preserved)

    If you need to reference in your application code the public address, then you need an Elastic IP address which is static and will always stay the same.

    Elastic IPs are static public addresses and do not change when instance is stopped.

    They are, as the public address, associated with a private IP address on the instance but can be moved between instances and ENAs.

    Elastic IP Addresses can be remapped across Zones.

    One thing to remember is that they are charged once created, even if they are not mapped to an instance and being used. aws docs

    https://www.linkedin.com/pulse/aws-difference-bw-public-private-elastic-ip-chirag-jain/

    Popularity 3/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 21 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.