Difference between revisions of "PublicIp"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
* <code>[[aws ec2 allocate-address]]</code> | * <code>[[aws ec2 allocate-address]]</code> | ||
* <code>[[aws ec2 describe-instances]] | grep [[PublicIpAddress]]</code> | * <code>[[aws ec2 describe-instances]] | grep [[PublicIpAddress]]</code> | ||
+ | * <code>[[gcloud compute instances describe]] your-instance-name --format='get(networkInterfaces[0].networkIP)'</code> | ||
== See also == | == See also == |
Revision as of 13:10, 17 October 2022
aws ec2 describe-addresses | grep -w PublicIp
Related
aws ec2 associate-address
aws ec2 allocate-address
aws ec2 describe-instances | grep PublicIpAddress
gcloud compute instances describe your-instance-name --format='get(networkInterfaces[0].networkIP)'
See also
Advertising: