Security Group to allow aws cli

0

Hi,

I'm trying to lock down our default security group but need to keep access to run cli commands on the instances, specifically:
aws ec2 describe-tags

What port(s) do I need to allow and to/from where/ip? I can't find it anywhere.

Cheers,
Dave.

feita há 5 anos390 visualizações
2 Respostas
0

Hi dgoodbourn,

Are you modifying outgoing rules of your default security group? You generally shouldn't need to do that, as long as you trust the servers this is applied to.

aws cli uses https to talk with the amazon API. You should leave port 443 open. You would most likely want to leave port 80 open as well, to be able to get updates on your server.

Hope this helps,
George

respondido há 5 anos
0

Hi George,

Thanks for this. I thought I had done this but obviously not. That fixed it and all is working. Thanks a lot.

Cheers,
Dave.

respondido há 5 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas