I-ALiRT - IPSec VPN Relay (Draft)#1354
Draft
laspsandoval wants to merge 17 commits into
Draft
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces infrastructure for an I-ALiRT “SMCE relay” path by adding (1) a NOAA→SMCE Site-to-Site IPSec VPN entry point and (2) SMCE→SDS cross-account VPC peering/routing so NOAA telemetry can traverse AWS privately into the SDS environment.
Changes:
- Add a new SMCE deployment path (
account_name=smce) that provisions a dedicated VPC (non-overlapping CIDR), a VGW attachment, NOAA customer gateways, and VPN connections. - Add cross-account VPC peering from SMCE to SDS, plus SMCE-side subnet routes and an SDS-side accepter role for auto-acceptance.
- Open the I-ALiRT processing security group to allow traffic from the SMCE VPC CIDR on the required port.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| sds_data_manager/utils/stackbuilder.py | Adds SMCE relay stack builder, creates SDS-side peering accepter role, and wires new VPN/peering constructs. |
| sds_data_manager/constructs/networking_construct.py | Adds configurable VPC CIDR support to avoid overlap for peering. |
| sds_data_manager/constructs/ialirt_vpn_construct.py | New construct to define NOAA customer gateways and VPN connections with specified tunnel options. |
| sds_data_manager/constructs/ialirt_peering_construct.py | New construct to create SMCE→SDS VPC peering and add SMCE-side routing. |
| sds_data_manager/constructs/ialirt_processing_construct.py | Updates I-ALiRT ECS security group rules to allow traffic from SMCE VPC CIDR. |
| cdk.json | Adds SMCE context (region + SMCE account id). |
| app.py | Adds account_name=smce deployment mode and passes SMCE account id into SDS build. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change Summary
Overview
Added:
File changes
Testing
TODO
Notes
Populate SSM parameters in the SMCE account (before deployment):
/ialirt/noaa-vpn/wash-ip
/ialirt/noaa-vpn/denv-ip
Populate Secrets Manager in the SMCE account (before deployment):
/ialirt/noaa/noaa-vpn-psk
Populate Secrets Manager in the SMCE account (before deployment):
/ialirt/noaa/noaa-vpn-psk
Create the NAT Gateway EIP placeholder in the SDS account (before deployment):
aws ssm put-parameter --name /ialirt/smce/nat-gw-eip --value "" --type String
Deploy SMCE stack:
cdk deploy SmceNetworkingStack --context account_name=smce
Retrieve the NAT Gateway EIP from the AWS console:
VPC → NAT Gateways → select the SMCE NAT Gateway → Elastic IP address
Store it in the SDS account:
aws ssm put-parameter --name /ialirt/smce/nat-gw-eip --value "" --type String --overwrite
One important note: value_from_lookup caches the result in cdk.context.json. After you update the SSM parameter from "" to the real EIP, you'll need to clear the cached value before redeploying so CDK picks up the new value.
Deploy IalirtStack:
cdk deploy IalirtStack --context account_name=dev
To give NOAA:
Flow
Step 1: NOAA sends data
Step 2: NOAA's border router encrypts the packet
Step 3: Travels across public internet (encrypted)
Step 4: AWS VPN Gateway (SMCE account) decrypts
Step 5: SMCE VPC route table directs to NAT Gateway
Step 6: SMCE NAT Gateway performs SNAT
Step 7: Travels across public internet
Step 8: SDS Internet Gateway performs DNAT
Step 9: Container receives packet