#NEWLINE# def __init__( self , cloud_config , region ) : #NEWLINE# #INDENT# aws_access_id = cloud_config [ 'AWS_ACCESS_KEY_ID' ] #NEWLINE# aws_secret_key = cloud_config [ 'AWS_SECRET_ACCESS_KEY' ] #NEWLINE# EC2Driver = get_compute_driver ( ComputeProvider . EC2 ) #NEWLINE# self . compute_session = EC2Driver ( aws_access_id , aws_secret_key , region = region )