How do I determine the public IP address that my WorkSpace uses when I browse the internet?

Last updated: 2021-01-28

As an Amazon WorkSpaces user, I want to find out the public IP address that my WorkSpace uses when I browse the internet. How can I do that?

Resolution

The steps to identify the public IP address that is used differs depending on how you access the internet from your WorkSpace. Follow the steps below for your WorkSpace configuration.

WorkSpace located in a public subnet

  1. Open the Amazon WorkSpaces console.
  2. Select the arrow next to your WorkSpace ID to expand the WorkSpace details. Take note of the WorkSpace IP.
  3. Open the Amazon EC2 console, and then choose Network Interfaces from the Network & Security section of the navigation pane.
  4. In the search box, enter the WorkSpace IP from step 2.
  5. Select the network interface associated with this WorkSpace IP address.
  6. From the Details tab, you can see the Public IPv4 address that your WorkSpace uses when you browse the internet.

WorkSpace located in a private subnet using a NAT gateway

  1. Open the Amazon WorkSpaces console.
  2. Select the arrow next to your WorkSpace ID to expand the WorkSpace details. Note the WorkSpace IP.
  3. Open the Amazon EC2 console, and then choose Network Interfaces from the Network & Security section of the navigation pane.
  4. In the search box, enter the WorkSpace IP from step 2.
  5. Select the network interface associated with this WorkSpace IP address.
  6. From the Details tab, choose the hyperlinked Subnet ID.
  7. Select the subnet. From the Route table tab, you can see the NAT gateway associated with this subnet. Choose the hyperlinked security group.
  8. From the Details tab, you can see the Elastic IP address that your WorkSpace uses when you browse the internet.

WorkSpace located in a private subnet using a NAT instance

  1. Open the Amazon WorkSpaces console.
  2. Select the arrow next to your WorkSpace ID to expand the WorkSpace details. Note the WorkSpace IP.
  3. Open the Amazon EC2 console, and then choose Network Interfaces from the Network & Security section of the navigation pane.
  4. In the search box, enter the WorkSpace IP from step 2.
  5. Select the network interface associated with this WorkSpace IP address.
  6. From the Details tab, choose the hyperlinked Subnet ID.
  7. Select the subnet. From the Route table tab, you can see the NAT instance elastic network interface associated with this subnet. Choose the hyperlinked network interface.
  8. From the Details tab, you can see the IPv4 Public IP address that your WorkSpace uses when you browse the internet.

Did this article help?


Do you need billing or technical support?