elsif !instance
              raise Fog::AWS::Compute::NotFound.new("The instance ID '#{instance_id}' does not exist.")
            elsif !volume
              raise Fog::AWS::Compute::NotFound.new("The volume '#{volume_id}' does not exist.")
            end