We currently have 4 AWS instances managed by OpsWorks. We're working with an API provider that requires us to whitelist any of the servers communicating between our stack and theirs.
However the request we make to them can come from any of the 3 instances in our stack (the workers that actually perform the processing requests). Extra info: right now we have our web server on an ElasticIP that scales out on load as well.
We're wondering how we can contain all 3 of the worker instances (and the instances that they trigger under load) to a block or single IP address so that the service provider can whitelist us and allow our requests through. We don't want to have to update IPs over time, so providing a block/static IP is quite important.
Further info: the 3 worker instances are managed as separate OpsWorks stacks and each have their own subnet but are all assigned to the same VPC. I was wondering if this was a matter of setting up a VPC and NAT -- but I know very little about networking at this level.
Aucun commentaire:
Enregistrer un commentaire