app runs in private-a. This VPC has no NAT gateway; interface endpoints let Session Manager reach the instance anyway. The catalogue is in the bucket market-assets-1d8mv5s.
-
Keep
app's id inIDand start a session with it. Inside it, try the bucket, thenexit:shaws s3 ls s3://market-assets-1d8mv5s -
Keep the VPC's id in
VPC, and theprivatetable's id inRT:shRT=$(aws ec2 describe-route-tables --filters Name=tag:Name,Values=private --query "RouteTables[0].RouteTableId" --output text) -
Give the private subnets a path to S3 that needs no NAT gateway.
-
Start a session with
appagain, copy the catalogue to/tmp/catalogue.jsonon the instance, thenexit.