Skip to content

Egress from a static IP #1914

Answered by efekarakus
inssein asked this question in Q&A
Feb 7, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hi @inssein !

One "hack" that I can think of for now until we have a way of placing tasks in private subnets with a NAT gateway is to import a VPC to copilot.

  1. Create a VPC outside of Copilot with NAT gateways.
  2. Import the VPC to copilot using copilot env init, however since at the moment Copilot only places the tasks in public subnets, you'll have to trick Copilot and specify your private subnets as public subnets in env init.

I think that should be an alternative route. For visibility, we're working on a design right now to place Backend Service tasks to private subnets with no access to the internet, and then we'll look into providing an option to create a NAT gateway.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@efekarakus
Comment options

@inssein
Comment options

Answer selected by efekarakus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants