A partner's database only accepts connections from IP addresses on its allowlist. Your Glue job runs in a private subnet. How do you give the partner a stable IP to allowlist?
- Exam domain
- Data Ingestion and Transformation34% of the exam
- Difficulty
- Hard
- In this mock
- 33 questions on this domainPractise this domain
Why the exam asks this
Task Statement 1.1: Perform data ingestion.
Objective in the exam guide: Create allowlists for IP addresses to allow connections to data sources.
Many third-party and on-premises sources use IP allowlists. Without a fixed egress IP, ingestion simply cannot connect.
Why B is the answer
Route the job's traffic through a NAT gateway with an Elastic IP, and give the partner that IP
A NAT gateway with an Elastic IP gives outbound traffic from private subnets one fixed public address.
Remember: IP allowlists need a fixed source address: NAT gateway with an Elastic IP.
How it works
Resources in private subnets reach the internet through a NAT gateway.
A NAT gateway has an Elastic IP address, so all outbound traffic leaves from that one fixed address.
The partner allowlists that address, and every run connects from it.
Clues in the question
The words that point to the answer, and what each one tells you.
- Only accepts connections from IP addresses on its allowlist
- You need a stable source IP.
- Private subnet
- Traffic leaves through a NAT gateway.
In detail
- Glue jobs that use a VPC connection run in your subnets.
- Security groups and network ACLs must also allow the outbound traffic.
Side by side with look-alikes
| Option | Stable source IP? |
|---|---|
| NAT gateway with Elastic IP | Yes |
| Account ID | Not an IP |
| New IP each run | No |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Use a different Elastic IP for every runWrongMost tempting
Changing IPs defeats the allowlist.
Why it tempts: Elastic IPs sound like the right tool. But changing them breaks the allowlist each time.
B. Route the job's traffic through a NAT gateway with an Elastic IP, and give the partner that IPRight
IP allowlists need a fixed source address: NAT gateway with an Elastic IP.
C. Give the partner your account IDWrong
An account ID is not a network address.
D. Turn off the partner's firewallWrong
Asking a partner to drop its firewall is not acceptable.
In practice
- Document the Elastic IP so it is not released by accident.
Use case
An illustrative scenario, not a real incident.
A team gives its partner one Elastic IP, and every nightly extract connects through it.
See how it works
flowchart LR G["Glue job in private subnet"] --> N["NAT gateway, Elastic IP 203.0.113.10"] N --> P["Partner database: allowlist 203.0.113.10"]
How to read this chart
- Read it in order: Glue job in private subnet, then NAT gateway, Elastic IP 203.0.113.10, then Partner database: allowlist 203.0.113.10.