Skip to content

Latest commit

 

History

History
59 lines (40 loc) · 1.75 KB

yawsi_ec2_inspect.md

File metadata and controls

59 lines (40 loc) · 1.75 KB

yawsi ec2 inspect

Perform various checks

Synopsis

Perform various checks on EC2 instances.

Check if an instance can send traffic to the outside world:

yawsi ec2  inspect i-06d80024e0df241da --public-egress --verbose
✔ Checking for a route to 0.0.0.0/0
map[InstanceId:i-0685cbd9 NetworkInterfaceId:eni-ed43078a]
true

yawsi ec2 inspect i-06d80024e0df241da --public-egress
true

Check if the outside world can initiate communication with the EC2 instance:

yawsi ec2  inspect i-06d80024e0df241da --public-ingress
false

yawsi ec2  inspect i-06d80024e0df241da --public-ingress --verbose
✖ Checking if the instance has a Public IP address
false

Check if the outside world can initiate communication with a EC2 instance and vice-versa:

yawsi ec2  inspect i-06d80024e0df241da --public
false

yawsi.exe ec2  inspect i-06d80024e0df241da --public --verbose
✖ Outside world cannot initiate connection with the instance.
false
yawsi ec2 inspect [flags]

Options

      --debug            Display debugging information about the result
  -h, --help             help for inspect
      --public           Can the outside world see me and vice-versa?
      --public-egress    Can I see the outside world?
      --public-ingress   Am I visible to the outside world (do I have a public IP)?
  -v, --verbose          Display more information about the result

SEE ALSO

Auto generated by spf13/cobra on 2-Sep-2019