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
- Open the WorkSpaces console.
- Select the arrow next to your WorkSpace ID to expand the WorkSpace details. Note the WorkSpace IP.
- Open the Amazon Elastic Compute Cloud (Amazon EC2) console. Then, choose Network Interfaces from the Network & Security section of the navigation pane.
- In the search box, enter the WorkSpace IP from step 2.
- Select the network interface associated with this WorkSpace IP address.
- 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
- Open the WorkSpaces console.
- Select the arrow next to your WorkSpace ID to expand the WorkSpace details. Note the WorkSpace IP.
- Open the Amazon EC2 console, and then choose Network Interfaces from the Network & Security section of the navigation pane.
- In the search box, enter the WorkSpace IP from step 2.
- Select the network interface associated with this WorkSpace IP address.
- From the Details tab, choose the hyperlinked Subnet ID.
- Select the subnet. From the Route table tab, you can see the NAT gateway associated with this subnet. Choose the hyperlinked security group.
- 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
- Open the WorkSpaces console.
- Select the arrow next to your WorkSpace ID to expand the WorkSpace details. Note the WorkSpace IP.
- Open the Amazon EC2 console, and then choose Network Interfaces from the Network & Security section of the navigation pane.
- In the search box, enter the WorkSpace IP from step 2.
- Select the network interface associated with this WorkSpace IP address.
- From the Details tab, choose the hyperlinked Subnet ID.
- 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.
- 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