copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

How to open up a port 22 apart from port 80?

Open shain-digix opened this issue 9 months ago • 1 comments

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

image

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

shain-digix avatar May 09 '24 10:05 shain-digix

Hello @shain-digix you can refer to "Expose multiple ports" section in our doc!

iamhopaul123 avatar May 10 '24 18:05 iamhopaul123

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.

github-actions[bot] avatar Jul 14 '24 00:07 github-actions[bot]

This issue is closed due to inactivity. Feel free to reopen the issue if you have any further questions!

github-actions[bot] avatar Jul 29 '24 00:07 github-actions[bot]