Skip to content

list All AWS EC2 instances and VPCs in all regions using Ruby SDK

Notifications You must be signed in to change notification settings

goto-satoru/aws-list-ec2-instances-vpcs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

aws-list-ec2-instances-vpcs

list All AWS EC2 instances and VPCs in all regions using Ruby SDK

ToDo

install Ruby AWS-SDK

gem install aws-sdk

Setting Credentials Using Environment Variables

https://docs.aws.amazon.com/sdk-for-ruby/v3/developer-guide/setup-config.html

Set following environment variables.

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY

list all VPC and EC2 instances

ruby list_ec2_instances.rb

About

list All AWS EC2 instances and VPCs in all regions using Ruby SDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages