<s> from libcloud . compute . types import Provider <EOL> from libcloud . compute . providers import get_driver <EOL> EC2_ACCESS_ID = '<STR_LIT>' <EOL> EC2_SECRET_KEY = '<STR_LIT>' <EOL> Driver = get_driver ( Provider . EC2 ) <EOL> conn = Driver ( EC2_ACCESS_ID , EC2_SECRET_KEY ) <EOL> nodes = conn . list_nodes ( ) </s>
