copilot-cli
copilot-cli copied to clipboard
How to open up a port 22 apart from port 80?
I would like to open up port 22 for a Whitebox VA scanning. What is the best way to achieve it?
Right now, I am getting no response in ssh
Below is my manifest file:
name: fulfillment-api
type: Load Balanced Web Service
environments:
dev:
http:
path: '/'
healthcheck: '/api/healthcheck'
image:
build: Dockerfile.dev
port: 80
cpu: 256
memory: 512
platform: linux/x86_64
count: 1
exec: true
network:
vpc:
placement:
subnets: ["ccc"]
connect: true
uat:
http:
path: '/'
healthcheck: '/api/healthcheck'
image:
build: Dockerfile.uat
port: 80
cpu: 256
memory: 512
platform: linux/x86_64
count: 1
exec: true
network:
vpc:
placement:
subnets: ["bbb"]
connect: true
prod:
http:
path: '/'
healthcheck: '/api/healthcheck'
image:
build: Dockerfile.prod
port: 80
cpu: 256
memory: 512
platform: linux/x86_64
count: 1
exec: true
network:
vpc:
placement:
subnets: ["aaa"]
connect: true
Hello @shain-digix you can refer to "Expose multiple ports" section in our doc!
This issue is stale because it has been open 60 days with no response activity. Remove the stale label, add a comment, or this will be closed in 14 days.
This issue is closed due to inactivity. Feel free to reopen the issue if you have any further questions!