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

3 minute read
0

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's used differs depending on how you access the internet from your WorkSpace. Use the following steps for your WorkSpace configuration.

WorkSpace located in a public subnet

  1. Open the WorkSpaces console.
  2. Select the arrow next to your WorkSpace ID to expand the WorkSpace details. Note the WorkSpace IP.
  3. Open the Amazon Elastic Compute Cloud (Amazon EC2) console. 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 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 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.

Related information

Provide internet access from your WorkSpace

View details about a network interface

AWS OFFICIAL
AWS OFFICIALUpdated a year ago